Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1711934 > unrolled thread

[PATCH v2] f2fs-tools: fix the usage message of overprovision option

Started byYunlong Song <yunlong.song@huawei.com>
First post2017-08-15 09:50 +0200
Last post2017-08-15 14:20 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v2] f2fs-tools: fix the usage message of overprovision option Yunlong Song <yunlong.song@huawei.com> - 2017-08-15 09:50 +0200
    Re: [PATCH v2] f2fs-tools: fix the usage message of overprovision  option Chao Yu <yuchao0@huawei.com> - 2017-08-15 14:20 +0200

#1711934 — [PATCH v2] f2fs-tools: fix the usage message of overprovision option

FromYunlong Song <yunlong.song@huawei.com>
Date2017-08-15 09:50 +0200
Subject[PATCH v2] f2fs-tools: fix the usage message of overprovision option
Message-ID<ueELT-6RV-7@gated-at.bofh.it>
The usage message shows a wrong message for ovp option, so fix it.

Signed-off-by: Yunlong Song <yunlong.song@huawei.com>
---
 mkfs/f2fs_format_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mkfs/f2fs_format_main.c b/mkfs/f2fs_format_main.c
index a3652a9..3279829 100644
--- a/mkfs/f2fs_format_main.c
+++ b/mkfs/f2fs_format_main.c
@@ -41,7 +41,7 @@ static void mkfs_usage()
 	MSG(0, "  -f force overwrite the exist filesystem\n");
 	MSG(0, "  -l label\n");
 	MSG(0, "  -m support zoned block device [default:0]\n");
-	MSG(0, "  -o overprovision ratio [default:5]\n");
+	MSG(0, "  -o overprovision ratio [initial value 0 lets mkfs determine its best value]\n");
 	MSG(0, "  -O [feature list] e.g. \"encrypt\"\n");
 	MSG(0, "  -q quiet mode\n");
 	MSG(0, "  -s # of segments per section [default:1]\n");
-- 
1.8.5.2

[toc] | [next] | [standalone]


#1712132 — Re: [PATCH v2] f2fs-tools: fix the usage message of overprovision option

FromChao Yu <yuchao0@huawei.com>
Date2017-08-15 14:20 +0200
SubjectRe: [PATCH v2] f2fs-tools: fix the usage message of overprovision option
Message-ID<ueIZc-1d4-9@gated-at.bofh.it>
In reply to#1711934
On 2017/8/15 15:41, Yunlong Song wrote:
> The usage message shows a wrong message for ovp option, so fix it.
> 
> Signed-off-by: Yunlong Song <yunlong.song@huawei.com>
> ---
>  mkfs/f2fs_format_main.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/mkfs/f2fs_format_main.c b/mkfs/f2fs_format_main.c
> index a3652a9..3279829 100644
> --- a/mkfs/f2fs_format_main.c
> +++ b/mkfs/f2fs_format_main.c
> @@ -41,7 +41,7 @@ static void mkfs_usage()
>  	MSG(0, "  -f force overwrite the exist filesystem\n");
>  	MSG(0, "  -l label\n");
>  	MSG(0, "  -m support zoned block device [default:0]\n");
> -	MSG(0, "  -o overprovision ratio [default:5]\n");
> +	MSG(0, "  -o overprovision ratio [initial value 0 lets mkfs determine its best value]\n");

[mkfs decides, the value trends to maximize user visible space]  ?

Thanks,

>  	MSG(0, "  -O [feature list] e.g. \"encrypt\"\n");
>  	MSG(0, "  -q quiet mode\n");
>  	MSG(0, "  -s # of segments per section [default:1]\n");
> 

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web