diff mbox

[v2,3/3] f2fs: Add the 'whint_mode' mount option to f2fs documentation

Message ID 1517366219-22166-4-git-send-email-hyc.lee@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Hyunchul Lee Jan. 31, 2018, 2:36 a.m. UTC
From: Hyunchul Lee <cheol.lee@lge.com>

Signed-off-by: Hyunchul Lee <cheol.lee@lge.com>
---
 Documentation/filesystems/f2fs.txt | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Chao Yu Jan. 31, 2018, 10:04 a.m. UTC | #1
On 2018/1/31 10:36, Hyunchul Lee wrote:> Signed-off-by: Hyunchul Lee
<cheol.lee@lge.com>

Reviewed-by: Chao Yu <yuchao0@huawei.com>

Thanks,
Jaegeuk Kim Jan. 31, 2018, 10:19 p.m. UTC | #2
Hi Hyunchul,

I've added the policy in the Doc as wel.

Thanks,

On 01/31, Hyunchul Lee wrote:
> From: Hyunchul Lee <cheol.lee@lge.com>
> 
> Signed-off-by: Hyunchul Lee <cheol.lee@lge.com>
> ---
>  Documentation/filesystems/f2fs.txt | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/Documentation/filesystems/f2fs.txt b/Documentation/filesystems/f2fs.txt
> index 13c2ff0..414a160 100644
> --- a/Documentation/filesystems/f2fs.txt
> +++ b/Documentation/filesystems/f2fs.txt
> @@ -174,6 +174,12 @@ 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.
>  
>  ================================================================================
>  DEBUGFS ENTRIES
> -- 
> 1.9.1
diff mbox

Patch

diff --git a/Documentation/filesystems/f2fs.txt b/Documentation/filesystems/f2fs.txt
index 13c2ff0..414a160 100644
--- a/Documentation/filesystems/f2fs.txt
+++ b/Documentation/filesystems/f2fs.txt
@@ -174,6 +174,12 @@  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.
 
 ================================================================================
 DEBUGFS ENTRIES