Whamcloud - gitweb
LU-16569 llite: fix file attribute operation 93/58693/9
authorYang Sheng <ys@whamcloud.com>
Sat, 5 Apr 2025 06:58:40 +0000 (14:58 +0800)
committerOleg Drokin <green@whamcloud.com>
Wed, 7 May 2025 21:11:07 +0000 (21:11 +0000)
commit101b67fcd91617590006c8d16d74401f6489cf8d
tree4354c5ea8aab36acecf2df274723f1d6c2a280aa
parentcb1290768df9fca6ead194c2812fb0182d85191c
LU-16569 llite: fix file attribute operation

The file attribute should be filtered. Also the
kernel removed the option to propagate i_flags
from vfs_inode to ext4_inode_info since commit:
v4.11-rc3-45-g38eae95ddc ("ext4: Remove ext4_get_inode_flags()")
This makes file attribute flags cannot be persisted
after MDS failover.

Signed-off-by: Yang Sheng <ys@whamcloud.com>
Change-Id: I12dc70daec5297f54b83e6e71474547b014f9f49
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/58693
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Li Dongyang <dongyangli@ddn.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/uapi/linux/lustre/lustre_idl.h
lustre/llite/llite_lib.c
lustre/mdt/mdt_lib.c
lustre/osd-ldiskfs/osd_handler.c
lustre/osd-ldiskfs/osd_internal.h
lustre/osd-zfs/osd_internal.h
lustre/tests/recovery-small.sh