Whamcloud - gitweb
LU-16061 osd-ldiskfs: clear EXTENT_FL for symlink agent inode 93/48093/2
authorAlexander Zarochentsev <alexander.zarochentsev@hpe.com>
Fri, 29 Jul 2022 19:38:09 +0000 (22:38 +0300)
committerOleg Drokin <green@whamcloud.com>
Fri, 19 Aug 2022 04:32:18 +0000 (04:32 +0000)
commit73ac8e35e5d64d3fe4ca6c48514dc57058e3a7b8
tree4afa47d18937ccf1ce7027053ecc9ba4f39be749
parent907dc0a2d333f2df2d654a968fc50f8cc05b779d
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.

HPE-bug-id: LUS-10237

Signed-off-by: Alexander Zarochentsev <alexander.zarochentsev@hpe.com>
Change-Id: Ib7b807bb1298cc3a9fd4fdba35747b4bda6fe034
Reviewed-on: https://review.whamcloud.com/48093
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Artem Blagodarenko <ablagodarenko@ddn.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/osd-ldiskfs/osd_handler.c