Whamcloud - gitweb
LU-16553 utils: cleanup lfs options 92/49992/2
authorTimothy Day <timday@amazon.com>
Wed, 8 Feb 2023 17:27:16 +0000 (17:27 +0000)
committerOleg Drokin <green@whamcloud.com>
Wed, 1 Mar 2023 06:18:47 +0000 (06:18 +0000)
commit9968be808016bd2f5e349bc4c2216c445d0d65ad
tree13f3acc1e0226b726889651e6332f83d6a86f48d
parent239e826876e5e20405e14a180a8fd4377d6553b2
LU-16553 utils: cleanup lfs options

The enums for lfs long options should start
after the char range. This is supported
by getopt_long and used by lustre/test/statx.c.
I didn't see this issue in any of the other
uses of getopt_long, so this is the only place
this fix needs to be made.

Also, enable stats when stats_interval is used.

Signed-off-by: Timothy Day <timday@amazon.com>
Change-Id: I9144b2d68291811edf95b9d912fbbb8fe0266392
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/49992
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/utils/lfs.c