Whamcloud - gitweb
LU-17557 osd: only accounting inodes are special
authorAlex Zhuravlev <bzzz@whamcloud.com>
Mon, 19 Feb 2024 08:18:45 +0000 (11:18 +0300)
committerAndreas Dilger <adilger@whamcloud.com>
Mon, 15 Apr 2024 09:54:06 +0000 (09:54 +0000)
commitf1a432fc781f97a5016e825823130ffa97eeda7b
tree8dbdbb25625817be3ab66232d062d9ab8647b68d
parentd329d9859eee655b02c268ca1a0a01f5df4901fe
LU-17557 osd: only accounting inodes are special

don't treat all inodes special (system) because 5.14 turns filesystem
read-only when we try to access an non-existing inode with
LDISKFS_IGET_SPECIAL flag.

Lustre-change: https://review.whamcloud.com/54091
Lustre-commit: 333c7518f18fad80fe504766ae9645f2ede0108c

Fixes: 2c0b2b7540 ("LU-13166 osd-ldiskfs: fix to allow to get system inode")
Signed-off-by: Alex Zhuravlev <bzzz@whamcloud.com>
Change-Id: I0c05adaf7b94e04c094cb069e8271bf478010b8c
Reviewed-by: Li Dongyang <dongyangli@ddn.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/54716
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/osd-ldiskfs/osd_handler.c
lustre/osd-ldiskfs/osd_internal.h
lustre/tests/sanity-lfsck.sh