допустим у меня sdcard
допустим мне известны: page, multi-plane access, erase block, allocation group
что указывать в mkfs.f2fs
? для уже выровненного раздела
-s #-of-segments-per-section
Specify the number of segments per section. A section consists of multiple consecutive segments, and is the unit of garbage collection. The default number is 1, which means one segment is
assigned to a section.
-z #-of-sections-per-zone
Specify the number of sections per zone. A zone consists of multiple sections. F2FS allocates segments for active logs with separated zones as much as possible. The default number is 1,
which means a zone consists of one section.
https://www.kernel.org/doc/Documentation/filesystems/f2fs.txt
In order to align F2FS with underlying flash-based storage, F2FS allocates a segment in a unit of section. F2FS expects that the section size would be the same as the unit size of garbage collection in FTL. Furthermore, with respect to the mapping granularity in FTL, F2FS allocates each section of the active logs from different zones as much as possible, since FTL can write the data in the active logs into one allocation unit according to its mapping granularity.
ничего не понимаю, но вот что получается ??
segment
не меняется, и тупо 2MB
section
для garbage collection in FTL, наверное здесь указывать блок стирания если тут мусорщик?
zone
так понял чтобы разные active logs одновременно в нее не записывали, но не понимаю зачем это нужно, группа распределения?