ELECTRONIC DEVICE INCLUDING NON-VOLATILE MEMORY, AND NON-VOLATILE MEMORY MANAGEMENT METHOD THEREOF
摘要:
Disclosed is an electronic device comprising: a non-volatile memory for storing at least one file including metadata and user data; a file system for managing the at least one file through a log stream; and a file system (FS) manager for monitoring a free space log included in the log stream corresponding to a first free space of the non-volatile memory, and transmitting a compression request to the file system when the size of the first free space, displayed on the free space log, has a value smaller than a first reference value. The file system may be configured to: when the compression request is received, compress at least a part of the metadata stored in the non-volatile memory on the basis of the log stream, so as to store same in the first free space; and display a second free space of the non-volatile memory, which has been secured through the compression of the at least a part of the metadata, as a reserved block log in the log stream. Various other embodiments identified through the specification are also possible.
信息查询
0/0