ext4: handle redirtying in ext4_bio_write_page()
authorJan Kara <jack@suse.cz>
Wed, 7 Dec 2022 11:27:04 +0000 (12:27 +0100)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 9 Dec 2022 02:49:25 +0000 (21:49 -0500)
commit04e568a3b31cfbd545c04c8bfc35c20e5ccfce0f
tree0de96fd820a7eb9f7587105785734d71ae9d2201
parent5c099c4fdc438014d5893629e70a8ba934433ee8
ext4: handle redirtying in ext4_bio_write_page()

Since we want to transition transaction commits to use ext4_writepages()
for writing back ordered, add handling of page redirtying into
ext4_bio_write_page(). Also move buffer dirty bit clearing into the same
place other buffer state handling.

Reviewed-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20221207112722.22220-1-jack@suse.cz
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/page-io.c