Re: [RFC PATCH v4 7/8] ext4: remove bdev_try_to_free_page() callback
From: "Theodore Ts'o" <tytso@mit.edu>
Date: 2021-06-24 14:56:59
Also in:
linux-ext4
From: "Theodore Ts'o" <tytso@mit.edu>
Date: 2021-06-24 14:56:59
Also in:
linux-ext4
On Thu, Jun 10, 2021 at 07:24:39PM +0800, Zhang Yi wrote:
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>
Applied, thanks. - Ted