* [PATCH 0/2] a couple documentation fixes @ 2020-06-02 22:38 ` Mauro Carvalho Chehab 0 siblings, 0 replies; 12+ messages in thread From: Mauro Carvalho Chehab @ 2020-06-02 22:38 UTC (permalink / raw) To: Linux Doc Mailing List Cc: Mauro Carvalho Chehab, linux-kernel, Jonathan Corbet, Jaegeuk Kim, Catalin Marinas, Andrew Morton, Thomas Gleixner, Alexey Dobriyan, Daniel Kiss, Yang Shi, Mark Brown, linux-f2fs-devel, Luigi Semenzato, Aubrey Li, Kees Cook, Chao Yu, NeilBrown, linux-fsdevel Hi Jon, It follows a couple of fixes for two tables that got broken, probably due to some conflict between the ReST conversion patches and ungoing updates. IMO, it would be nice to have those two applied during the merge window, as they produce a too noisy output. I have a few more fixes somewhere on my trees, but my plan is to send you probably after the merge window, as I'm currently busy with some other stuff (too much work at atomisp side). Mauro Carvalho Chehab (2): fs: docs: f2fs.rst: fix a broken table docs: fs: proc.rst: fix a warning due to a merge conflict Documentation/filesystems/f2fs.rst | 150 +++++++++++++++++++---------- Documentation/filesystems/proc.rst | 2 +- 2 files changed, 99 insertions(+), 53 deletions(-) -- 2.26.2 ^ permalink raw reply [flat|nested] 12+ messages in thread
* [f2fs-dev] [PATCH 0/2] a couple documentation fixes @ 2020-06-02 22:38 ` Mauro Carvalho Chehab 0 siblings, 0 replies; 12+ messages in thread From: Mauro Carvalho Chehab @ 2020-06-02 22:38 UTC (permalink / raw) To: Linux Doc Mailing List Cc: Yang Shi, Kees Cook, Jonathan Corbet, Mauro Carvalho Chehab, Catalin Marinas, Aubrey Li, linux-kernel, Alexey Dobriyan, NeilBrown, Luigi Semenzato, Mark Brown, linux-fsdevel, Jaegeuk Kim, Andrew Morton, linux-f2fs-devel, Thomas Gleixner, Daniel Kiss Hi Jon, It follows a couple of fixes for two tables that got broken, probably due to some conflict between the ReST conversion patches and ungoing updates. IMO, it would be nice to have those two applied during the merge window, as they produce a too noisy output. I have a few more fixes somewhere on my trees, but my plan is to send you probably after the merge window, as I'm currently busy with some other stuff (too much work at atomisp side). Mauro Carvalho Chehab (2): fs: docs: f2fs.rst: fix a broken table docs: fs: proc.rst: fix a warning due to a merge conflict Documentation/filesystems/f2fs.rst | 150 +++++++++++++++++++---------- Documentation/filesystems/proc.rst | 2 +- 2 files changed, 99 insertions(+), 53 deletions(-) -- 2.26.2 _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel ^ permalink raw reply [flat|nested] 12+ messages in thread
* [PATCH 1/2] fs: docs: f2fs.rst: fix a broken table 2020-06-02 22:38 ` [f2fs-dev] " Mauro Carvalho Chehab @ 2020-06-02 22:38 ` Mauro Carvalho Chehab -1 siblings, 0 replies; 12+ messages in thread From: Mauro Carvalho Chehab @ 2020-06-02 22:38 UTC (permalink / raw) To: Linux Doc Mailing List Cc: Mauro Carvalho Chehab, linux-kernel, Jonathan Corbet, Jaegeuk Kim, Chao Yu, linux-f2fs-devel As reported by Sphinx: Documentation/filesystems/f2fs.rst:229: WARNING: Malformed table. Text in column margin in table line 126. ====================== ============================================================ background_gc=%s Turn on/off cleaning operations, namely garbage ... test_dummy_encryption test_dummy_encryption=%s Enable dummy encryption, which provides a fake fscrypt context. The fake fscrypt context is used by xfstests. The argument may be either "v1" or "v2", in order to select the corresponding fscrypt policy version. This table is now broken, as some texts are bigger than a column. While it would be feasible to fix it by adding two extra positions at the table, it would still output something wrong, as "test_dummy_encryption" would appear on a separate row. So, the best solution here seems to remove the table markup. The html and PDF output won't be as nice as a table, but it will still be reasonable. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> --- Documentation/filesystems/f2fs.rst | 150 +++++++++++++++++++---------- 1 file changed, 98 insertions(+), 52 deletions(-) diff --git a/Documentation/filesystems/f2fs.rst b/Documentation/filesystems/f2fs.rst index 4218ac658629..d2b400be40e8 100644 --- a/Documentation/filesystems/f2fs.rst +++ b/Documentation/filesystems/f2fs.rst @@ -101,8 +101,8 @@ Mount Options ============= -====================== ============================================================ -background_gc=%s Turn on/off cleaning operations, namely garbage +background_gc=%s + Turn on/off cleaning operations, namely garbage collection, triggered in background when I/O subsystem is idle. If background_gc=on, it will turn on the garbage collection and if background_gc=off, garbage collection @@ -110,65 +110,91 @@ background_gc=%s Turn on/off cleaning operations, namely garbage on synchronous garbage collection running in background. Default value for this option is on. So garbage collection is on by default. -disable_roll_forward Disable the roll-forward recovery routine -norecovery Disable the roll-forward recovery routine, mounted read- +disable_roll_forward + Disable the roll-forward recovery routine +norecovery + Disable the roll-forward recovery routine, mounted read- only (i.e., -o ro,disable_roll_forward) -discard/nodiscard Enable/disable real-time discard in f2fs, if discard is +discard/nodiscard + Enable/disable real-time discard in f2fs, if discard is enabled, f2fs will issue discard/TRIM commands when a segment is cleaned. -no_heap Disable heap-style segment allocation which finds free +no_heap + Disable heap-style segment allocation which finds free segments for data from the beginning of main area, while for node from the end of main area. -nouser_xattr Disable Extended User Attributes. Note: xattr is enabled +nouser_xattr + Disable Extended User Attributes. Note: xattr is enabled by default if CONFIG_F2FS_FS_XATTR is selected. -noacl Disable POSIX Access Control List. Note: acl is enabled +noacl + Disable POSIX Access Control List. Note: acl is enabled by default if CONFIG_F2FS_FS_POSIX_ACL is selected. -active_logs=%u Support configuring the number of active logs. In the +active_logs=%u + Support configuring the number of active logs. In the current design, f2fs supports only 2, 4, and 6 logs. Default number is 6. -disable_ext_identify Disable the extension list configured by mkfs, so f2fs +disable_ext_identify + Disable the extension list configured by mkfs, so f2fs does not aware of cold files such as media files. -inline_xattr Enable the inline xattrs feature. -noinline_xattr Disable the inline xattrs feature. -inline_xattr_size=%u Support configuring inline xattr size, it depends on +inline_xattr + Enable the inline xattrs feature. +noinline_xattr + Disable the inline xattrs feature. +inline_xattr_size=%u + Support configuring inline xattr size, it depends on flexible inline xattr feature. -inline_data Enable the inline data feature: New created small(<~3.4k) +inline_data + Enable the inline data feature: New created small(<~3.4k) files can be written into inode block. -inline_dentry Enable the inline dir feature: data in new created +inline_dentry + Enable the inline dir feature: data in new created directory entries can be written into inode block. The space of inode block which is used to store inline dentries is limited to ~3.4k. -noinline_dentry Disable the inline dentry feature. -flush_merge Merge concurrent cache_flush commands as much as possible +noinline_dentry + Disable the inline dentry feature. +flush_merge + Merge concurrent cache_flush commands as much as possible to eliminate redundant command issues. If the underlying device handles the cache_flush command relatively slowly, recommend to enable this option. -nobarrier This option can be used if underlying storage guarantees +nobarrier + This option can be used if underlying storage guarantees its cached data should be written to the novolatile area. If this option is set, no cache_flush commands are issued but f2fs still guarantees the write ordering of all the data writes. -fastboot This option is used when a system wants to reduce mount +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 +extent_cache + Enable an extent cache based on rb-tree, it can cache as many as extent 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 an 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 +noinline_data + Disable the inline data feature, inline data feature is enabled by default. -data_flush Enable data flushing before checkpoint in order to +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 +reserve_root=%d + Support configuring reserved space which is used for allocation from a privileged user with specified uid or gid, unit: 4KB, the default limit is 0.2% of user blocks. -resuid=%d The user ID which may use the reserved blocks. -resgid=%d The group ID which may use the reserved blocks. -fault_injection=%d Enable fault injection in all supported types with +resuid=%d + The user ID which may use the reserved blocks. +resgid=%d + The group ID which may use the reserved blocks. +fault_injection=%d + Enable fault injection in all supported types with specified injection rate. -fault_type=%d Support configuring fault injection type, should be +fault_type=%d + Support configuring fault injection type, should be enabled with fault_injection option, fault type value is shown below, it supports single or combined type. @@ -191,32 +217,49 @@ fault_type=%d Support configuring fault injection type, should be FAULT_DISCARD 0x000002000 FAULT_WRITE_IO 0x000004000 =================== =========== -mode=%s Control block allocation mode which supports "adaptive" +mode=%s + Control block allocation mode which supports "adaptive" and "lfs". In "lfs" mode, there should be no random writes towards main area. -io_bits=%u Set the bit size of write IO requests. It should be set +io_bits=%u + Set the bit size of write IO requests. It should be set with "mode=lfs". -usrquota Enable plain user disk quota accounting. -grpquota Enable plain group disk quota accounting. -prjquota Enable plain project quota accounting. -usrjquota=<file> Appoint specified file and type during mount, so that quota -grpjquota=<file> information can be properly updated during recovery flow, -prjjquota=<file> <quota file>: must be in root directory; -jqfmt=<quota type> <quota type>: [vfsold,vfsv0,vfsv1]. -offusrjquota Turn off user journelled quota. -offgrpjquota Turn off group journelled quota. -offprjjquota Turn off project journelled quota. -quota Enable plain user disk quota accounting. -noquota Disable all plain disk quota option. -whint_mode=%s Control which write hints are passed down to block +usrquota + Enable plain user disk quota accounting. +grpquota + Enable plain group disk quota accounting. +prjquota + Enable plain project quota accounting. +usrjquota=<file> + Appoint specified file and type during mount, so that quota +grpjquota=<file> + information can be properly updated during recovery flow, +prjjquota=<file> + <quota file>: must be in root directory; +jqfmt=<quota type> + <quota type>: [vfsold,vfsv0,vfsv1]. +offusrjquota + Turn off user journelled quota. +offgrpjquota + Turn off group journelled quota. +offprjjquota + Turn off project journelled quota. +quota + Enable plain user disk quota accounting. +noquota + Disable all plain disk quota option. +whint_mode=%s + Control which write hints are passed down to block layer. This supports "off", "user-based", and "fs-based". In "off" mode (default), f2fs does not pass down hints. In "user-based" mode, f2fs tries to pass down hints given by users. And in "fs-based" mode, f2fs passes down hints with its policy. -alloc_mode=%s Adjust block allocation policy, which supports "reuse" +alloc_mode=%s + Adjust block allocation policy, which supports "reuse" and "default". -fsync_mode=%s Control the policy of fsync. Currently supports "posix", +fsync_mode=%s + Control the policy of fsync. Currently supports "posix", "strict", and "nobarrier". In "posix" mode, which is default, fsync will follow POSIX semantics and does a light operation to improve the filesystem performance. @@ -225,13 +268,14 @@ fsync_mode=%s Control the policy of fsync. Currently supports "posix", pass, but the performance will regress. "nobarrier" is based on "posix", but doesn't issue flush command for non-atomic files likewise "nobarrier" mount option. -test_dummy_encryption -test_dummy_encryption=%s + +test_dummy_encryption, test_dummy_encryption=%s Enable dummy encryption, which provides a fake fscrypt context. The fake fscrypt context is used by xfstests. The argument may be either "v1" or "v2", in order to select the corresponding fscrypt policy version. -checkpoint=%s[:%u[%]] Set to "disable" to turn off checkpointing. Set to "enable" +checkpoint=%s[:%u[%]] + Set to "disable" to turn off checkpointing. Set to "enable" to reenable checkpointing. Is enabled by default. While disabled, any unmounting or unexpected shutdowns will cause the filesystem contents to appear as they did when the @@ -247,18 +291,20 @@ checkpoint=%s[:%u[%]] Set to "disable" to turn off checkpointing. Set to "enabl hide up to all remaining free space. The actual space that would be unusable can be viewed at /sys/fs/f2fs/<disk>/unusable This space is reclaimed once checkpoint=enable. -compress_algorithm=%s Control compress algorithm, currently f2fs supports "lzo", +compress_algorithm=%s + Control compress algorithm, currently f2fs supports "lzo", "lz4" and "zstd" algorithm. -compress_log_size=%u Support configuring compress cluster size, the size will +compress_log_size=%u + Support configuring compress cluster size, the size will be 4KB * (1 << %u), 16KB is minimum size, also it's default size. -compress_extension=%s Support adding specified extension, so that f2fs can enable +compress_extension=%s + Support adding specified extension, so that f2fs can enable compression on those corresponding files, e.g. if all files with '.ext' has high compression rate, we can set the '.ext' on compression extension list and enable compression on these file by default rather than to enable it via ioctl. For other files, we can still enable compression via ioctl. -====================== ============================================================ Debugfs Entries =============== -- 2.26.2 ^ permalink raw reply related [flat|nested] 12+ messages in thread
* [f2fs-dev] [PATCH 1/2] fs: docs: f2fs.rst: fix a broken table @ 2020-06-02 22:38 ` Mauro Carvalho Chehab 0 siblings, 0 replies; 12+ messages in thread From: Mauro Carvalho Chehab @ 2020-06-02 22:38 UTC (permalink / raw) To: Linux Doc Mailing List Cc: Jonathan Corbet, Mauro Carvalho Chehab, linux-kernel, linux-f2fs-devel, Jaegeuk Kim As reported by Sphinx: Documentation/filesystems/f2fs.rst:229: WARNING: Malformed table. Text in column margin in table line 126. ====================== ============================================================ background_gc=%s Turn on/off cleaning operations, namely garbage ... test_dummy_encryption test_dummy_encryption=%s Enable dummy encryption, which provides a fake fscrypt context. The fake fscrypt context is used by xfstests. The argument may be either "v1" or "v2", in order to select the corresponding fscrypt policy version. This table is now broken, as some texts are bigger than a column. While it would be feasible to fix it by adding two extra positions at the table, it would still output something wrong, as "test_dummy_encryption" would appear on a separate row. So, the best solution here seems to remove the table markup. The html and PDF output won't be as nice as a table, but it will still be reasonable. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> --- Documentation/filesystems/f2fs.rst | 150 +++++++++++++++++++---------- 1 file changed, 98 insertions(+), 52 deletions(-) diff --git a/Documentation/filesystems/f2fs.rst b/Documentation/filesystems/f2fs.rst index 4218ac658629..d2b400be40e8 100644 --- a/Documentation/filesystems/f2fs.rst +++ b/Documentation/filesystems/f2fs.rst @@ -101,8 +101,8 @@ Mount Options ============= -====================== ============================================================ -background_gc=%s Turn on/off cleaning operations, namely garbage +background_gc=%s + Turn on/off cleaning operations, namely garbage collection, triggered in background when I/O subsystem is idle. If background_gc=on, it will turn on the garbage collection and if background_gc=off, garbage collection @@ -110,65 +110,91 @@ background_gc=%s Turn on/off cleaning operations, namely garbage on synchronous garbage collection running in background. Default value for this option is on. So garbage collection is on by default. -disable_roll_forward Disable the roll-forward recovery routine -norecovery Disable the roll-forward recovery routine, mounted read- +disable_roll_forward + Disable the roll-forward recovery routine +norecovery + Disable the roll-forward recovery routine, mounted read- only (i.e., -o ro,disable_roll_forward) -discard/nodiscard Enable/disable real-time discard in f2fs, if discard is +discard/nodiscard + Enable/disable real-time discard in f2fs, if discard is enabled, f2fs will issue discard/TRIM commands when a segment is cleaned. -no_heap Disable heap-style segment allocation which finds free +no_heap + Disable heap-style segment allocation which finds free segments for data from the beginning of main area, while for node from the end of main area. -nouser_xattr Disable Extended User Attributes. Note: xattr is enabled +nouser_xattr + Disable Extended User Attributes. Note: xattr is enabled by default if CONFIG_F2FS_FS_XATTR is selected. -noacl Disable POSIX Access Control List. Note: acl is enabled +noacl + Disable POSIX Access Control List. Note: acl is enabled by default if CONFIG_F2FS_FS_POSIX_ACL is selected. -active_logs=%u Support configuring the number of active logs. In the +active_logs=%u + Support configuring the number of active logs. In the current design, f2fs supports only 2, 4, and 6 logs. Default number is 6. -disable_ext_identify Disable the extension list configured by mkfs, so f2fs +disable_ext_identify + Disable the extension list configured by mkfs, so f2fs does not aware of cold files such as media files. -inline_xattr Enable the inline xattrs feature. -noinline_xattr Disable the inline xattrs feature. -inline_xattr_size=%u Support configuring inline xattr size, it depends on +inline_xattr + Enable the inline xattrs feature. +noinline_xattr + Disable the inline xattrs feature. +inline_xattr_size=%u + Support configuring inline xattr size, it depends on flexible inline xattr feature. -inline_data Enable the inline data feature: New created small(<~3.4k) +inline_data + Enable the inline data feature: New created small(<~3.4k) files can be written into inode block. -inline_dentry Enable the inline dir feature: data in new created +inline_dentry + Enable the inline dir feature: data in new created directory entries can be written into inode block. The space of inode block which is used to store inline dentries is limited to ~3.4k. -noinline_dentry Disable the inline dentry feature. -flush_merge Merge concurrent cache_flush commands as much as possible +noinline_dentry + Disable the inline dentry feature. +flush_merge + Merge concurrent cache_flush commands as much as possible to eliminate redundant command issues. If the underlying device handles the cache_flush command relatively slowly, recommend to enable this option. -nobarrier This option can be used if underlying storage guarantees +nobarrier + This option can be used if underlying storage guarantees its cached data should be written to the novolatile area. If this option is set, no cache_flush commands are issued but f2fs still guarantees the write ordering of all the data writes. -fastboot This option is used when a system wants to reduce mount +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 +extent_cache + Enable an extent cache based on rb-tree, it can cache as many as extent 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 an 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 +noinline_data + Disable the inline data feature, inline data feature is enabled by default. -data_flush Enable data flushing before checkpoint in order to +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 +reserve_root=%d + Support configuring reserved space which is used for allocation from a privileged user with specified uid or gid, unit: 4KB, the default limit is 0.2% of user blocks. -resuid=%d The user ID which may use the reserved blocks. -resgid=%d The group ID which may use the reserved blocks. -fault_injection=%d Enable fault injection in all supported types with +resuid=%d + The user ID which may use the reserved blocks. +resgid=%d + The group ID which may use the reserved blocks. +fault_injection=%d + Enable fault injection in all supported types with specified injection rate. -fault_type=%d Support configuring fault injection type, should be +fault_type=%d + Support configuring fault injection type, should be enabled with fault_injection option, fault type value is shown below, it supports single or combined type. @@ -191,32 +217,49 @@ fault_type=%d Support configuring fault injection type, should be FAULT_DISCARD 0x000002000 FAULT_WRITE_IO 0x000004000 =================== =========== -mode=%s Control block allocation mode which supports "adaptive" +mode=%s + Control block allocation mode which supports "adaptive" and "lfs". In "lfs" mode, there should be no random writes towards main area. -io_bits=%u Set the bit size of write IO requests. It should be set +io_bits=%u + Set the bit size of write IO requests. It should be set with "mode=lfs". -usrquota Enable plain user disk quota accounting. -grpquota Enable plain group disk quota accounting. -prjquota Enable plain project quota accounting. -usrjquota=<file> Appoint specified file and type during mount, so that quota -grpjquota=<file> information can be properly updated during recovery flow, -prjjquota=<file> <quota file>: must be in root directory; -jqfmt=<quota type> <quota type>: [vfsold,vfsv0,vfsv1]. -offusrjquota Turn off user journelled quota. -offgrpjquota Turn off group journelled quota. -offprjjquota Turn off project journelled quota. -quota Enable plain user disk quota accounting. -noquota Disable all plain disk quota option. -whint_mode=%s Control which write hints are passed down to block +usrquota + Enable plain user disk quota accounting. +grpquota + Enable plain group disk quota accounting. +prjquota + Enable plain project quota accounting. +usrjquota=<file> + Appoint specified file and type during mount, so that quota +grpjquota=<file> + information can be properly updated during recovery flow, +prjjquota=<file> + <quota file>: must be in root directory; +jqfmt=<quota type> + <quota type>: [vfsold,vfsv0,vfsv1]. +offusrjquota + Turn off user journelled quota. +offgrpjquota + Turn off group journelled quota. +offprjjquota + Turn off project journelled quota. +quota + Enable plain user disk quota accounting. +noquota + Disable all plain disk quota option. +whint_mode=%s + Control which write hints are passed down to block layer. This supports "off", "user-based", and "fs-based". In "off" mode (default), f2fs does not pass down hints. In "user-based" mode, f2fs tries to pass down hints given by users. And in "fs-based" mode, f2fs passes down hints with its policy. -alloc_mode=%s Adjust block allocation policy, which supports "reuse" +alloc_mode=%s + Adjust block allocation policy, which supports "reuse" and "default". -fsync_mode=%s Control the policy of fsync. Currently supports "posix", +fsync_mode=%s + Control the policy of fsync. Currently supports "posix", "strict", and "nobarrier". In "posix" mode, which is default, fsync will follow POSIX semantics and does a light operation to improve the filesystem performance. @@ -225,13 +268,14 @@ fsync_mode=%s Control the policy of fsync. Currently supports "posix", pass, but the performance will regress. "nobarrier" is based on "posix", but doesn't issue flush command for non-atomic files likewise "nobarrier" mount option. -test_dummy_encryption -test_dummy_encryption=%s + +test_dummy_encryption, test_dummy_encryption=%s Enable dummy encryption, which provides a fake fscrypt context. The fake fscrypt context is used by xfstests. The argument may be either "v1" or "v2", in order to select the corresponding fscrypt policy version. -checkpoint=%s[:%u[%]] Set to "disable" to turn off checkpointing. Set to "enable" +checkpoint=%s[:%u[%]] + Set to "disable" to turn off checkpointing. Set to "enable" to reenable checkpointing. Is enabled by default. While disabled, any unmounting or unexpected shutdowns will cause the filesystem contents to appear as they did when the @@ -247,18 +291,20 @@ checkpoint=%s[:%u[%]] Set to "disable" to turn off checkpointing. Set to "enabl hide up to all remaining free space. The actual space that would be unusable can be viewed at /sys/fs/f2fs/<disk>/unusable This space is reclaimed once checkpoint=enable. -compress_algorithm=%s Control compress algorithm, currently f2fs supports "lzo", +compress_algorithm=%s + Control compress algorithm, currently f2fs supports "lzo", "lz4" and "zstd" algorithm. -compress_log_size=%u Support configuring compress cluster size, the size will +compress_log_size=%u + Support configuring compress cluster size, the size will be 4KB * (1 << %u), 16KB is minimum size, also it's default size. -compress_extension=%s Support adding specified extension, so that f2fs can enable +compress_extension=%s + Support adding specified extension, so that f2fs can enable compression on those corresponding files, e.g. if all files with '.ext' has high compression rate, we can set the '.ext' on compression extension list and enable compression on these file by default rather than to enable it via ioctl. For other files, we can still enable compression via ioctl. -====================== ============================================================ Debugfs Entries =============== -- 2.26.2 _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel ^ permalink raw reply related [flat|nested] 12+ messages in thread
* Re: [f2fs-dev] [PATCH 1/2] fs: docs: f2fs.rst: fix a broken table 2020-06-02 22:38 ` [f2fs-dev] " Mauro Carvalho Chehab @ 2020-06-08 1:41 ` Chao Yu -1 siblings, 0 replies; 12+ messages in thread From: Chao Yu @ 2020-06-08 1:41 UTC (permalink / raw) To: Mauro Carvalho Chehab, Linux Doc Mailing List Cc: Jonathan Corbet, linux-kernel, linux-f2fs-devel, Jaegeuk Kim On 2020/6/3 6:38, Mauro Carvalho Chehab wrote: > As reported by Sphinx: > > Documentation/filesystems/f2fs.rst:229: WARNING: Malformed table. > Text in column margin in table line 126. > > ====================== ============================================================ > background_gc=%s Turn on/off cleaning operations, namely garbage > ... > test_dummy_encryption > test_dummy_encryption=%s > Enable dummy encryption, which provides a fake fscrypt > context. The fake fscrypt context is used by xfstests. > The argument may be either "v1" or "v2", in order to > select the corresponding fscrypt policy version. > > This table is now broken, as some texts are bigger than a > column. While it would be feasible to fix it by adding two extra > positions at the table, it would still output something wrong, > as "test_dummy_encryption" would appear on a separate row. > > So, the best solution here seems to remove the table markup. > > The html and PDF output won't be as nice as a table, but it will > still be reasonable. > > Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Reviewed-by: Chao Yu <yuchao0@huawei.com> Thanks, ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [f2fs-dev] [PATCH 1/2] fs: docs: f2fs.rst: fix a broken table @ 2020-06-08 1:41 ` Chao Yu 0 siblings, 0 replies; 12+ messages in thread From: Chao Yu @ 2020-06-08 1:41 UTC (permalink / raw) To: Mauro Carvalho Chehab, Linux Doc Mailing List Cc: Jaegeuk Kim, linux-f2fs-devel, linux-kernel, Jonathan Corbet On 2020/6/3 6:38, Mauro Carvalho Chehab wrote: > As reported by Sphinx: > > Documentation/filesystems/f2fs.rst:229: WARNING: Malformed table. > Text in column margin in table line 126. > > ====================== ============================================================ > background_gc=%s Turn on/off cleaning operations, namely garbage > ... > test_dummy_encryption > test_dummy_encryption=%s > Enable dummy encryption, which provides a fake fscrypt > context. The fake fscrypt context is used by xfstests. > The argument may be either "v1" or "v2", in order to > select the corresponding fscrypt policy version. > > This table is now broken, as some texts are bigger than a > column. While it would be feasible to fix it by adding two extra > positions at the table, it would still output something wrong, > as "test_dummy_encryption" would appear on a separate row. > > So, the best solution here seems to remove the table markup. > > The html and PDF output won't be as nice as a table, but it will > still be reasonable. > > Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Reviewed-by: Chao Yu <yuchao0@huawei.com> Thanks, _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel ^ permalink raw reply [flat|nested] 12+ messages in thread
* [PATCH 2/2] docs: fs: proc.rst: fix a warning due to a merge conflict 2020-06-02 22:38 ` [f2fs-dev] " Mauro Carvalho Chehab (?) (?) @ 2020-06-02 22:38 ` Mauro Carvalho Chehab 2020-06-03 9:54 ` Mark Brown ` (2 more replies) -1 siblings, 3 replies; 12+ messages in thread From: Mauro Carvalho Chehab @ 2020-06-02 22:38 UTC (permalink / raw) To: Linux Doc Mailing List Cc: Mauro Carvalho Chehab, linux-kernel, Jonathan Corbet, Alexey Dobriyan, Andrew Morton, Thomas Gleixner, Luigi Semenzato, Aubrey Li, NeilBrown, Yang Shi, Mark Brown, Catalin Marinas, Daniel Kiss, Kees Cook, linux-fsdevel Changeset 424037b77519 ("mm: smaps: Report arm64 guarded pages in smaps") added a new parameter to a table. This causes Sphinx warnings, because there's now an extra "-" at the wrong place: /devel/v4l/docs/Documentation/filesystems/proc.rst:548: WARNING: Malformed table. Text in column margin in table line 29. == ======================================= rd readable ... bt - arm64 BTI guarded page == ======================================= Fixes: 424037b77519 ("mm: smaps: Report arm64 guarded pages in smaps") Fixes: c33e97efa9d9 ("docs: filesystems: convert proc.txt to ReST") Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> --- Documentation/filesystems/proc.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/filesystems/proc.rst b/Documentation/filesystems/proc.rst index 430963e0e8c3..7359741cf7cf 100644 --- a/Documentation/filesystems/proc.rst +++ b/Documentation/filesystems/proc.rst @@ -543,7 +543,7 @@ encoded manner. The codes are the following: hg huge page advise flag nh no huge page advise flag mg mergable advise flag - bt - arm64 BTI guarded page + bt arm64 BTI guarded page == ======================================= Note that there is no guarantee that every flag and associated mnemonic will -- 2.26.2 ^ permalink raw reply related [flat|nested] 12+ messages in thread
* Re: [PATCH 2/2] docs: fs: proc.rst: fix a warning due to a merge conflict 2020-06-02 22:38 ` [PATCH 2/2] docs: fs: proc.rst: fix a warning due to a merge conflict Mauro Carvalho Chehab @ 2020-06-03 9:54 ` Mark Brown 2020-06-03 19:12 ` Kees Cook 2020-06-19 19:58 ` Jonathan Corbet 2 siblings, 0 replies; 12+ messages in thread From: Mark Brown @ 2020-06-03 9:54 UTC (permalink / raw) To: Mauro Carvalho Chehab Cc: Linux Doc Mailing List, linux-kernel, Jonathan Corbet, Alexey Dobriyan, Andrew Morton, Thomas Gleixner, Luigi Semenzato, Aubrey Li, NeilBrown, Yang Shi, Catalin Marinas, Daniel Kiss, Kees Cook, linux-fsdevel [-- Attachment #1: Type: text/plain, Size: 310 bytes --] On Wed, Jun 03, 2020 at 12:38:14AM +0200, Mauro Carvalho Chehab wrote: > Changeset 424037b77519 ("mm: smaps: Report arm64 guarded pages in smaps") > added a new parameter to a table. This causes Sphinx warnings, > because there's now an extra "-" at the wrong place: Acked-by: Mark Brown <broonie@kernel.org> [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 488 bytes --] ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 2/2] docs: fs: proc.rst: fix a warning due to a merge conflict 2020-06-02 22:38 ` [PATCH 2/2] docs: fs: proc.rst: fix a warning due to a merge conflict Mauro Carvalho Chehab 2020-06-03 9:54 ` Mark Brown @ 2020-06-03 19:12 ` Kees Cook 2020-06-19 19:58 ` Jonathan Corbet 2 siblings, 0 replies; 12+ messages in thread From: Kees Cook @ 2020-06-03 19:12 UTC (permalink / raw) To: Mauro Carvalho Chehab Cc: Linux Doc Mailing List, linux-kernel, Jonathan Corbet, Alexey Dobriyan, Andrew Morton, Thomas Gleixner, Luigi Semenzato, Aubrey Li, NeilBrown, Yang Shi, Mark Brown, Catalin Marinas, Daniel Kiss, linux-fsdevel On Wed, Jun 03, 2020 at 12:38:14AM +0200, Mauro Carvalho Chehab wrote: > Changeset 424037b77519 ("mm: smaps: Report arm64 guarded pages in smaps") > added a new parameter to a table. This causes Sphinx warnings, > because there's now an extra "-" at the wrong place: > > /devel/v4l/docs/Documentation/filesystems/proc.rst:548: WARNING: Malformed table. > Text in column margin in table line 29. > > == ======================================= > rd readable > ... > bt - arm64 BTI guarded page > == ======================================= > > Fixes: 424037b77519 ("mm: smaps: Report arm64 guarded pages in smaps") > Fixes: c33e97efa9d9 ("docs: filesystems: convert proc.txt to ReST") > Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Reviewed-by: Kees Cook <keescook@chromium.org> -- Kees Cook ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 2/2] docs: fs: proc.rst: fix a warning due to a merge conflict 2020-06-02 22:38 ` [PATCH 2/2] docs: fs: proc.rst: fix a warning due to a merge conflict Mauro Carvalho Chehab 2020-06-03 9:54 ` Mark Brown 2020-06-03 19:12 ` Kees Cook @ 2020-06-19 19:58 ` Jonathan Corbet 2 siblings, 0 replies; 12+ messages in thread From: Jonathan Corbet @ 2020-06-19 19:58 UTC (permalink / raw) To: Mauro Carvalho Chehab Cc: Linux Doc Mailing List, linux-kernel, Alexey Dobriyan, Andrew Morton, Thomas Gleixner, Luigi Semenzato, Aubrey Li, NeilBrown, Yang Shi, Mark Brown, Catalin Marinas, Daniel Kiss, Kees Cook, linux-fsdevel On Wed, 3 Jun 2020 00:38:14 +0200 Mauro Carvalho Chehab <mchehab+huawei@kernel.org> wrote: > Changeset 424037b77519 ("mm: smaps: Report arm64 guarded pages in smaps") > added a new parameter to a table. This causes Sphinx warnings, > because there's now an extra "-" at the wrong place: > > /devel/v4l/docs/Documentation/filesystems/proc.rst:548: WARNING: Malformed table. > Text in column margin in table line 29. > > == ======================================= > rd readable > ... > bt - arm64 BTI guarded page > == ======================================= > > Fixes: 424037b77519 ("mm: smaps: Report arm64 guarded pages in smaps") > Fixes: c33e97efa9d9 ("docs: filesystems: convert proc.txt to ReST") > Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> I went ahead and applied this overdue patch, thanks. jon ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 0/2] a couple documentation fixes 2020-06-02 22:38 ` [f2fs-dev] " Mauro Carvalho Chehab @ 2020-06-08 15:20 ` Jonathan Corbet -1 siblings, 0 replies; 12+ messages in thread From: Jonathan Corbet @ 2020-06-08 15:20 UTC (permalink / raw) To: Mauro Carvalho Chehab Cc: Linux Doc Mailing List, linux-kernel, Jaegeuk Kim, Catalin Marinas, Andrew Morton, Thomas Gleixner, Alexey Dobriyan, Daniel Kiss, Yang Shi, Mark Brown, linux-f2fs-devel, Luigi Semenzato, Aubrey Li, Kees Cook, Chao Yu, NeilBrown, linux-fsdevel On Wed, 3 Jun 2020 00:38:12 +0200 Mauro Carvalho Chehab <mchehab+huawei@kernel.org> wrote: > It follows a couple of fixes for two tables that got broken, probably due to > some conflict between the ReST conversion patches and ungoing updates. > > IMO, it would be nice to have those two applied during the merge window, > as they produce a too noisy output. The problems all came from trees other than docs-next, so the patch doesn't apply there now. I'll merge with mainline after -rc1 and, if the problems haven't been fixed elsewhere, I'll apply the patches then. Thanks, jon ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [f2fs-dev] [PATCH 0/2] a couple documentation fixes @ 2020-06-08 15:20 ` Jonathan Corbet 0 siblings, 0 replies; 12+ messages in thread From: Jonathan Corbet @ 2020-06-08 15:20 UTC (permalink / raw) To: Mauro Carvalho Chehab Cc: Yang Shi, Kees Cook, Linux Doc Mailing List, NeilBrown, Catalin Marinas, Aubrey Li, linux-kernel, Alexey Dobriyan, Luigi Semenzato, Mark Brown, linux-fsdevel, Jaegeuk Kim, Andrew Morton, linux-f2fs-devel, Thomas Gleixner, Daniel Kiss On Wed, 3 Jun 2020 00:38:12 +0200 Mauro Carvalho Chehab <mchehab+huawei@kernel.org> wrote: > It follows a couple of fixes for two tables that got broken, probably due to > some conflict between the ReST conversion patches and ungoing updates. > > IMO, it would be nice to have those two applied during the merge window, > as they produce a too noisy output. The problems all came from trees other than docs-next, so the patch doesn't apply there now. I'll merge with mainline after -rc1 and, if the problems haven't been fixed elsewhere, I'll apply the patches then. Thanks, jon _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel ^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2020-06-19 19:58 UTC | newest] Thread overview: 12+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2020-06-02 22:38 [PATCH 0/2] a couple documentation fixes Mauro Carvalho Chehab 2020-06-02 22:38 ` [f2fs-dev] " Mauro Carvalho Chehab 2020-06-02 22:38 ` [PATCH 1/2] fs: docs: f2fs.rst: fix a broken table Mauro Carvalho Chehab 2020-06-02 22:38 ` [f2fs-dev] " Mauro Carvalho Chehab 2020-06-08 1:41 ` Chao Yu 2020-06-08 1:41 ` Chao Yu 2020-06-02 22:38 ` [PATCH 2/2] docs: fs: proc.rst: fix a warning due to a merge conflict Mauro Carvalho Chehab 2020-06-03 9:54 ` Mark Brown 2020-06-03 19:12 ` Kees Cook 2020-06-19 19:58 ` Jonathan Corbet 2020-06-08 15:20 ` [PATCH 0/2] a couple documentation fixes Jonathan Corbet 2020-06-08 15:20 ` [f2fs-dev] " Jonathan Corbet
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.