f2fs: add description about small_discards in document
authorJaegeuk Kim <jaegeuk.kim@samsung.com>
Thu, 19 Dec 2013 08:44:41 +0000 (17:44 +0900)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Mon, 23 Dec 2013 01:18:07 +0000 (10:18 +0900)
This patch adds a description about small_disacrds in the f2fs document.

Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Documentation/filesystems/f2fs.txt

index 1a94ac7fee867261fb4f879a4fa1dc568da71197..02357e35d4f60166802d4ad42be4352d2e779817 100644 (file)
@@ -171,6 +171,12 @@ Files in /sys/fs/f2fs/<devname>
                              conduct checkpoint to reclaim the prefree segments
                              to free segments. By default, 100 segments, 200MB.
 
+ max_small_discards          This parameter controls the number of discard
+                             commands that consist small blocks less than 2MB.
+                             The candidates to be discarded are cached until
+                             checkpoint is triggered, and issued during the
+                             checkpoint. By default, it is disabled with 0.
+
  ipu_policy                   This parameter controls the policy of in-place
                               updates in f2fs. There are five policies:
                                0: F2FS_IPU_FORCE, 1: F2FS_IPU_SSR,