How are you all? Previously we talked about EXT4 file system in details. Today, we will let you know about another file system technology called "F2FS". In this thread, I'll let you know about F2FS, it's pros & cons, etc. So shall we start the game?
Recent mobile devices adopt various flash storages as primary storage. File system support for those flash storages is a must for flash device performance and lifespan. Samsung developed a new file system called F2FS, designed for mobile flash storages. F2FS is designed considering the characteristics of the underlying flash storage which has a flash translation layer (FTL). F2FS outperforms EXT4, which is a popular file system for Android phones, in most of the benchmarks. F2FS is based on the log-structured filesystem (LFS) design — which is hardly surprising given the close match between the log-structuring approach and the needs of flash. The max volume size of F2FS is 16 TB, max file size is 3.94 TB & max filename length is 255 bytes. Let's have a look at its layout.
The particular value that F2FS brings, which can justify it being "flash friendly", is that it provides large-scale write gathering so that when lots of blocks need to be written at the same time they are collected into large sequential writes which are much easier for the FTL to handle. Rather than creating a single large write, F2FS actually creates up to six in parallel. As we shall see, these are assigned different sorts of blocks with different life expectancies. Grouping blocks with similar life expectancies together tends to make the garbage collection process required by the LFS less expensive.
Popular Columns across Mi Community:
In order to fulfill the basic functions of our service, the user hereby agrees to allow Xiaomi to collect, process and use personal information which shall include but not be limited to written threads, pictures, comments, replies in the Mi Community, and relevant data types listed in Xiaomi's Private Policy. By selecting "Agree", you agree to Xiaomi's Private Policy and Content Policy .