summaryrefslogtreecommitdiff
path: root/include/linux/mbcache.h
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2022-07-12 12:54:20 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-01-18 11:30:48 +0100
commit2babfff11cb4a00a40b9b6e23def0827d462aa81 (patch)
tree9cad6c2855a7289cb941c0d1252c9e560fb7fc49 /include/linux/mbcache.h
parenta99ff9e90d9803f4f7f8bcd68165891f490526be (diff)
mbcache: don't reclaim used entries
[ Upstream commit 58318914186c157477b978b1739dfe2f1b9dc0fe ] Do not reclaim entries that are currently used by somebody from a shrinker. Firstly, these entries are likely useful. Secondly, we will need to keep such entries to protect pending increment of xattr block refcount. CC: stable@vger.kernel.org Fixes: 82939d7999df ("ext4: convert to mbcache2") Signed-off-by: Jan Kara <jack@suse.cz> Link: https://lore.kernel.org/r/20220712105436.32204-1-jack@suse.cz Signed-off-by: Theodore Ts'o <tytso@mit.edu> Stable-dep-of: a44e84a9b776 ("ext4: fix deadlock due to mbcache entry corruption") Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux/mbcache.h')
0 files changed, 0 insertions, 0 deletions