Whamcloud - gitweb
LU-17702 utils: 'lfs quota' MOUNT_POINT optional 83/55683/22
authorFrederick Dilger <fdilger@whamcloud.com>
Tue, 9 Jul 2024 22:01:36 +0000 (16:01 -0600)
committerOleg Drokin <green@whamcloud.com>
Fri, 16 Aug 2024 23:52:51 +0000 (23:52 +0000)
commitc07255959a4d3cf90f2e4ddcde71f0bfa140a6bf
treeb98bd8af2406a59d40ed8590f6cd9744f9cc0ff3
parenta1c7d6412e91c98ad96d82123f736342c6165328
LU-17702 utils: 'lfs quota' MOUNT_POINT optional

Specifying the MOUNT_POINT is now optional for 'lfs quota'.
Additionally multiple mount points can now be specified
to print quota information for each one.

If the mount point is not specified, quota information for ALL
mounted filesystems will be printed instead.

Changes were made to fix the quota formatting as some columns were
misaligned. Filesystem is no longer placed on newline if the
name exceeds 16 characters, this should make for better argument
parsing.

Signed-off-by: Frederick Dilger <fdilger@whamcloud.com>
Change-Id: I3985855c5ce67be0fb8107c046bd54b802e1f6f1
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/55683
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Hongchao Zhang <hongchao@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/doc/lfs-quota.1
lustre/doc/lfs-setquota.1
lustre/tests/sanity-quota.sh
lustre/utils/lfs.c