diff options
author | 2022-07-12 12:54:20 +0200 | |
---|---|---|
committer | 2022-08-02 23:56:25 -0400 | |
commit | 58318914186c157477b978b1739dfe2f1b9dc0fe (patch) | |
tree | a09893cc38782a49489dfb3ef3d114e7c13e2704 /fs/jbd2/commit.c | |
parent | ext4: make sure ext4_append() always allocates new block (diff) | |
download | wireguard-linux-58318914186c157477b978b1739dfe2f1b9dc0fe.tar.xz wireguard-linux-58318914186c157477b978b1739dfe2f1b9dc0fe.zip |
mbcache: don't reclaim used entries
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>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions