Skip to contentSkip to conversation

f2fs: fix description about discard_granularity node

PATCH In review Yangtao Li 2 participants 2 messages Nov 18, 2022 – Nov 23, 2022 F2FS file system

lore
Share & tools
lore

Yangtao Li

author
#0 lore raw

PATCH 1/1 f2fs: fix description about discard_granularity node

Let's fix the inconsistency in the text description. Default discard granularity is 16. For small devices, default value is 1.

---
 Documentation/ABI/testing/sysfs-fs-f2fs | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Documentation/ABI/testing/sysfs-fs-f2fs +2 -1
index 24e7cb77f265..32404781e76f 100644
@@ -138,7 +138,8 @@ Contact:	"Chao Yu" <[email protected]>
 Description:	Controls discard granularity of inner discard thread. Inner thread
 		will not issue discards with size that is smaller than granularity.
 		The unit size is one block(4KB), now only support configuring
-		in range of [1, 512]. Default value is 4(=16KB).
+		in range of [1, 512]. Default value is 16.
+		For small devices, default value is 1.
 
 What:		/sys/fs/f2fs/<disk>/umount_discard_timeout
 Date:		January 2019
Signature · 8 lines
2.25.1



_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel