Skip to contentSkip to conversation

docs: f2fs: specify extent cache for read explicitly

PATCH New Yangtao Li 1 participant 2 messages Apr 19, 2023

Subsystems (2)
lore
Share & tools
lore

Yangtao Li

author
#0 lore raw

PATCH v3 1/1 docs: f2fs: specify extent cache for read explicitly

Clarify the fact that extent_cache and noextent_cache toggle read extent cache on or off.

Cc Bagas Sanjaya <[email protected]>

---
v3:
-update msg

 Documentation/filesystems/f2fs.rst | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Documentation/filesystems/f2fs.rst +3 -3
index c57745375edb..6db21ae0136a 100644
@@ -163,11 +163,11 @@ barrier			 If this option is set, cache_flush commands are allowed to be
 fastboot		 This option is used when a system wants to reduce mount
 			 time as much as possible, even though normal performance
 			 can be sacrificed.
-extent_cache		 Enable an extent cache based on rb-tree, it can cache
-			 as many as extent which map between contiguous logical
+extent_cache		 Enable a read extent cache based on rb-tree. It can cache
+			 many extents which map between contiguous logical
 			 address and physical address per inode, resulting in
 			 increasing the cache hit ratio. Set by default.
-noextent_cache		 Disable an extent cache based on rb-tree explicitly, see
+noextent_cache		 Disable a read extent cache based on rb-tree explicitly, see
 			 the above extent_cache mount option.
 noinline_data		 Disable the inline data feature, inline data feature is
 			 enabled by default.
Signature · 1 line
2.39.0
author
#1 lore raw

PATCH 1/1 docs: f2fs: update noinline_data mount opt description

Slightly modify the description of noinline_data and move it near the description of inline_data.

---
 Documentation/filesystems/f2fs.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/filesystems/f2fs.rst +2 -2
index 6db21ae0136a..87436ce5d2b5 100644
@@ -144,6 +144,8 @@ inline_xattr_size=%u	 Support configuring inline xattr size, it depends on
 			 flexible inline xattr feature.
 inline_data		 Enable the inline data feature: Newly created small (<~3.4k)
 			 files can be written into inode block.
+noinline_data		 Disable inline data feature, for which the feature is
+			 enabled by default.
 inline_dentry		 Enable the inline dir feature: data in newly created
 			 directory entries can be written into inode block. The
 			 space of inode block which is used to store inline
@@ -169,8 +171,6 @@ extent_cache		 Enable a read extent cache based on rb-tree. It can cache
 			 increasing the cache hit ratio. Set by default.
 noextent_cache		 Disable a read extent cache based on rb-tree explicitly, see
 			 the above extent_cache mount option.
-noinline_data		 Disable the inline data feature, inline data feature is
-			 enabled by default.
 data_flush		 Enable data flushing before checkpoint in order to
 			 persist data of regular and symlink.
 reserve_root=%d		 Support configuring reserved space which is used for
Signature · 1 line
2.39.0