Whamcloud - gitweb
EX-6856 utils: add -Z option for 'lfs getstripe/find'
authorBobi Jam <bobijam@whamcloud.com>
Wed, 28 Jun 2023 16:51:25 +0000 (00:51 +0800)
committerAndreas Dilger <adilger@whamcloud.com>
Thu, 6 Jul 2023 04:13:40 +0000 (04:13 +0000)
commit483a6b526168587ef5ef0c073fb78e12fddec835
tree96b99ccec23ffb721d80c2de1538071aa8ced308
parent0ff66982d04fa996368b646b9e0d234857668b58
EX-6856 utils: add -Z option for 'lfs getstripe/find'

Add support for "lfs getstripe -Z" to get the last instantiated
component compression information.

Add support for "lfs find -Z <type>[:[+-]<level>]" to keep consistent
options with "lfs setstripe -Z".

Fixes: 093bd2f343 ("EX-6856 utils: add 'lfs find' support for compressed file")
Signed-off-by: Bobi Jam <bobijam@whamcloud.com>
Change-Id: Id3e788761656d05604bc9a72fb1e51c5f2a0ad3b
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/51497
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/doc/lfs-find.1
lustre/doc/lfs-getstripe.1
lustre/doc/lfs-setstripe.1
lustre/include/lustre/lustreapi.h
lustre/include/uapi/linux/lustre/lustre_user.h
lustre/tests/sanity-pfl.sh
lustre/utils/lfs.c
lustre/utils/liblustreapi_layout.c