Whamcloud - gitweb
EX-8669 llite: set STATX_ATTR_COMPRESSED flag in ll_iocontrol()
authorJian Yu <yujian@whamcloud.com>
Wed, 7 Feb 2024 09:08:04 +0000 (01:08 -0800)
committerAndreas Dilger <adilger@whamcloud.com>
Sat, 24 Feb 2024 03:51:03 +0000 (03:51 +0000)
commit2b4861cd57e6e6078d6db4924fd4e567e2f364bb
tree69271c89fa909e75aede30cbfe4cf8af1e4d5b2f
parente2ac71cee275d2e12e2ef4b461dd7b8687949bc7
EX-8669 llite: set STATX_ATTR_COMPRESSED flag in ll_iocontrol()

This patch extracts the compression flag LUSTRE_COMPR_FL from
mbo_flags and set STATX_ATTR_COMPRESSED flag in ll_iocontrol()
to please lsattr and other e2fsprogs tools.

Test-Parameters: trivial testlist=sanity-compr

Change-Id: I14d2082a6719a1ca5708f7aef7a2fb0f085ca63c
Signed-off-by: Jian Yu <yujian@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/53953
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/include/uapi/linux/lustre/lustre_idl.h
lustre/llite/llite_internal.h
lustre/llite/llite_lib.c