Whamcloud - gitweb
LU-8920 utils: don't print deactivated OSTs in "lfs df"
Don't print deactivated OSTs or MDTs in "lfs df". If they have
been deactivated then the sysadmin knows they are inactive so
there isn't much benefit to printing them all the time. Only
print deactivated OSTs/MDTs if the new "-v" option is given.
Add long options for "-i" and "-h" (--inodes and --human-readable,
respectively) and sort the lfs_df() options to be alphabetical by
short option letter.
Move the "lfs df" manual to a separate "lfs-df.1" man page to
allow better description of the options and examples.
Add a "flags" argument to showdf() and mntdf() instead of adding
an every-growing list of boolean arguments to these functions.
Do space->tab conversion for affected functions.
Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
Change-Id: I97917f0583373ffe645f68ed3cf8dbfbc48cab07
Reviewed-on: https://review.whamcloud.com/24228
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Steve Guminski <stephenx.guminski@intel.com>
Reviewed-by: Yang Sheng <yang.sheng@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>