Whamcloud - gitweb
LU-14619 utils: mount.lustre max_sectors_kb help message 50/43350/2
authorSebastien Piechurski <sebastien.piechurski@atos.net>
Fri, 16 Apr 2021 20:37:50 +0000 (22:37 +0200)
committerOleg Drokin <green@whamcloud.com>
Wed, 28 Apr 2021 02:11:23 +0000 (02:11 +0000)
Document the max_sectors_kb option in the usage message of
mount.lustre.

Test-Parameters: trivial=true
Signed-off-by: Sebastien Piechurski <sebastien.piechurski@atos.net>
Change-Id: I6fda43c17877b471fead4dbae1045cf82bd621d9
Reviewed-on: https://review.whamcloud.com/43350
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
lustre/utils/mount_lustre.c

index 9c266e6..facf6af 100644 (file)
@@ -104,6 +104,8 @@ void usage(FILE *out)
                "\t\tnomgs: only start target MDS/OSS, using existing MGS\n"
                "\t\tnoscrub: do NOT auto start OI scrub unless requested\n"
                "\t\tskip_lfsck: do NOT auto resume paused/crashed LFSCK\n"
+               "\t\tmax_sectors_kb=<size>: set device max_sectors_kb to size or leaves it untouched if size=0\n"
+               "\t\t\tIf not specified, device max_sectors_kb will be set to max_hw_sectors_kb\n"
                "\t\tmd_stripe_cache_size=<num>: set MD RAID device stripe cache size\n"
                "\t<cliopt>: one or more comma separated client options:\n"
                "\t\texclude=<ostname>[:<ostname>]: list of inactive OSTs (e.g. lustre-OST0001)\n"