diff options
author | Zhang Yi <yi.zhang@huawei.com> | 2021-06-10 19:24:39 +0800 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2021-06-24 10:55:41 -0400 |
commit | 3b672e3aedffc9f092e7e7eae0050a97a8ca508e (patch) | |
tree | 15cfcd21727ced4a7c78b55cd27b9a19ef2c5c0e /block/blk-throttle.c | |
parent | dbf2bab7935b65689f3b39178cf87374f0334ead (diff) | |
download | linux-3b672e3aedffc9f092e7e7eae0050a97a8ca508e.tar.gz |
ext4: remove bdev_try_to_free_page() callback
After we introduce a jbd2 shrinker to release checkpointed buffer's
journal head, we could free buffer without bdev_try_to_free_page()
under memory pressure. So this patch remove the whole
bdev_try_to_free_page() callback directly. It also remove many
use-after-free issues relate to it together.
Signed-off-by: Zhang Yi <yi.zhang@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20210610112440.3438139-8-yi.zhang@huawei.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'block/blk-throttle.c')
0 files changed, 0 insertions, 0 deletions