diff options
author | Jan Kara <[email protected]> | 2022-12-07 12:27:05 +0100 |
---|---|---|
committer | Theodore Ts'o <[email protected]> | 2022-12-08 21:49:25 -0500 |
commit | dff4ac75eeeefc4397fe7cf8ce559425bf46b1f7 (patch) | |
tree | 89aa03b1966de1a8dcb907b1e76ebca61e897d50 /scripts/generate_rust_analyzer.py | |
parent | 04e568a3b31cfbd545c04c8bfc35c20e5ccfce0f (diff) |
ext4: move keep_towrite handling to ext4_bio_write_page()
When we are writing back page but we cannot for some reason write all
its buffers (e.g. because we cannot allocate blocks in current context) we
have to keep TOWRITE tag set in the mapping as otherwise racing
WB_SYNC_ALL writeback that could write these buffers can skip the page
and result in data loss. We will need this logic for writeback during
transaction commit so move the logic from ext4_writepage() to
ext4_bio_write_page().
Reviewed-by: Ritesh Harjani (IBM) <[email protected]>
Signed-off-by: Jan Kara <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions