f2fs.rst (9a87ffc99ec8eb8d35eed7c4f816d75f5cc9662e) | f2fs.rst (b62e71be2110d8b52bf5faf3c3ed7ca1a0c113a5) |
---|---|
1.. SPDX-License-Identifier: GPL-2.0 2 3========================================== 4WHAT IS Flash-Friendly File System (F2FS)? 5========================================== 6 7NAND flash memory-based storage devices, such as SSD, eMMC, and SD cards, have 8been equipped on a variety systems ranging from mobile to server systems. Since --- 250 unchanged lines hidden (view full) --- 259 context. The fake fscrypt context is used by xfstests. 260 The argument may be either "v1" or "v2", in order to 261 select the corresponding fscrypt policy version. 262checkpoint=%s[:%u[%]] Set to "disable" to turn off checkpointing. Set to "enable" 263 to reenable checkpointing. Is enabled by default. While 264 disabled, any unmounting or unexpected shutdowns will cause 265 the filesystem contents to appear as they did when the 266 filesystem was mounted with that option. | 1.. SPDX-License-Identifier: GPL-2.0 2 3========================================== 4WHAT IS Flash-Friendly File System (F2FS)? 5========================================== 6 7NAND flash memory-based storage devices, such as SSD, eMMC, and SD cards, have 8been equipped on a variety systems ranging from mobile to server systems. Since --- 250 unchanged lines hidden (view full) --- 259 context. The fake fscrypt context is used by xfstests. 260 The argument may be either "v1" or "v2", in order to 261 select the corresponding fscrypt policy version. 262checkpoint=%s[:%u[%]] Set to "disable" to turn off checkpointing. Set to "enable" 263 to reenable checkpointing. Is enabled by default. While 264 disabled, any unmounting or unexpected shutdowns will cause 265 the filesystem contents to appear as they did when the 266 filesystem was mounted with that option. |
267 While mounting with checkpoint=disabled, the filesystem must | 267 While mounting with checkpoint=disable, the filesystem must |
268 run garbage collection to ensure that all available space can 269 be used. If this takes too much time, the mount may return 270 EAGAIN. You may optionally add a value to indicate how much 271 of the disk you would be willing to temporarily give up to 272 avoid additional garbage collection. This can be given as a 273 number of blocks, or as a percent. For instance, mounting 274 with checkpoint=disable:100% would always succeed, but it may 275 hide up to all remaining free space. The actual space that --- 70 unchanged lines hidden (view full) --- 346 "low" mode is introduced to support low memory devices. 347 Because of the nature of low memory devices, in this mode, f2fs 348 will try to save memory sometimes by sacrificing performance. 349 "normal" mode is the default mode and same as before. 350age_extent_cache Enable an age extent cache based on rb-tree. It records 351 data block update frequency of the extent per inode, in 352 order to provide better temperature hints for data block 353 allocation. | 268 run garbage collection to ensure that all available space can 269 be used. If this takes too much time, the mount may return 270 EAGAIN. You may optionally add a value to indicate how much 271 of the disk you would be willing to temporarily give up to 272 avoid additional garbage collection. This can be given as a 273 number of blocks, or as a percent. For instance, mounting 274 with checkpoint=disable:100% would always succeed, but it may 275 hide up to all remaining free space. The actual space that --- 70 unchanged lines hidden (view full) --- 346 "low" mode is introduced to support low memory devices. 347 Because of the nature of low memory devices, in this mode, f2fs 348 will try to save memory sometimes by sacrificing performance. 349 "normal" mode is the default mode and same as before. 350age_extent_cache Enable an age extent cache based on rb-tree. It records 351 data block update frequency of the extent per inode, in 352 order to provide better temperature hints for data block 353 allocation. |
354errors=%s Specify f2fs behavior on critical errors. This supports modes: 355 "panic", "continue" and "remount-ro", respectively, trigger 356 panic immediately, continue without doing anything, and remount 357 the partition in read-only mode. By default it uses "continue" 358 mode. 359 ====================== =============== =============== ======== 360 mode continue remount-ro panic 361 ====================== =============== =============== ======== 362 access ops normal noraml N/A 363 syscall errors -EIO -EROFS N/A 364 mount option rw ro N/A 365 pending dir write keep keep N/A 366 pending non-dir write drop keep N/A 367 pending node write drop keep N/A 368 pending meta write keep keep N/A 369 ====================== =============== =============== ======== |
|
354======================== ============================================================ 355 356Debugfs Entries 357=============== 358 359/sys/kernel/debug/f2fs/ contains information about all the partitions mounted as 360f2fs. Each file shows the whole f2fs information. 361 --- 541 unchanged lines hidden --- | 370======================== ============================================================ 371 372Debugfs Entries 373=============== 374 375/sys/kernel/debug/f2fs/ contains information about all the partitions mounted as 376f2fs. Each file shows the whole f2fs information. 377 --- 541 unchanged lines hidden --- |