Whamcloud - gitweb
LU-16061 osd-ldiskfs: clear EXTENT_FL for symlink agent inode
authorAlexander Zarochentsev <alexander.zarochentsev@hpe.com>
Fri, 29 Jul 2022 19:38:09 +0000 (22:38 +0300)
committerAndreas Dilger <adilger@whamcloud.com>
Fri, 11 Nov 2022 09:37:21 +0000 (09:37 +0000)
commit18387a4d126d38bdf195e4fc09e82eee3f7483be
treedd25eb08835b728a658640fabfdce57b42a6fd71
parent1c61e14937e44e03383331128b7ea14b63923abe
LU-16061 osd-ldiskfs: clear EXTENT_FL for symlink agent inode

The flag should be cleared for "fast" symlinks otherwise
e2fsck complains about inode correctness.
New agent inodes of symlink type may have EXT4_EXTENT_FL flag
set if the fs has "extent" feature and it is not cleared as in
other places where "fast" symlinks are created.

Lustre-change: https://review.whamcloud.com/48093
Lustre-commit: 73ac8e35e5d64d3fe4ca6c48514dc57058e3a7b8

HPE-bug-id: LUS-10237
Signed-off-by: Alexander Zarochentsev <alexander.zarochentsev@hpe.com>
Change-Id: Ib7b807bb1298cc3a9fd4fdba35747b4bda6fe034
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/49016
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/osd-ldiskfs/osd_handler.c