summaryrefslogtreecommitdiff
path: root/fs/nfsd/cache.h
diff options
context:
space:
mode:
authorChandan Babu R <chandanbabu@kernel.org>2023-09-13 08:00:12 +0300
committerChandan Babu R <chandanbabu@kernel.org>2023-09-13 08:00:12 +0300
commitabf7c8194f232c5b6ab7b4c56d9b2159e4ac46ab (patch)
tree5603a4f5b3f2e8cc94ef1793c523b388a41e8ba7 /fs/nfsd/cache.h
parentfffcdcc31fa1e6374c4d6d2177b7089994fe13b8 (diff)
parent49813a21ed57895b73ec4ed3b99d4beec931496f (diff)
downloadlinux-abf7c8194f232c5b6ab7b4c56d9b2159e4ac46ab.tar.xz
Merge tag 'fix-iunlink-list-6.6_2023-09-12' of https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux into xfs-6.6-fixesA
xfs: reload entire iunlink lists This is the second part of correcting XFS to reload the incore unlinked inode list from the ondisk contents. Whereas part one tackled failures from regular filesystem calls, this part takes on the problem of needing to reload the entire incore unlinked inode list on account of somebody loading an inode that's in the /middle/ of an unlinked list. This happens during quotacheck, bulkstat, or even opening a file by handle. In this case we don't know the length of the list that we're reloading, so we don't want to create a new unbounded memory load while holding resources locked. Instead, we'll target UNTRUSTED iget calls to reload the entire bucket. Note that this changes the definition of the incore unlinked inode list slightly -- i_prev_unlinked == 0 now means "not on the incore list". Signed-off-by: Darrick J. Wong <djwong@kernel.org> Signed-off-by: Chandan Babu R <chandanbabu@kernel.org> * tag 'fix-iunlink-list-6.6_2023-09-12' of https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux: xfs: make inode unlinked bucket recovery work with quotacheck xfs: reload entire unlinked bucket lists xfs: use i_prev_unlinked to distinguish inodes that are not on the unlinked list
Diffstat (limited to 'fs/nfsd/cache.h')
0 files changed, 0 insertions, 0 deletions