diff options
author | Jan Kara <jack@suse.cz> | 2023-03-29 17:49:33 +0200 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2023-04-15 01:38:50 +0200 |
commit | d84c9ebdac1e39bc7b036c0c829ee8c1956edabc (patch) | |
tree | a02e8fcdbc61cec1ad9a6206760b791b36d07e05 /.rustfmt.toml | |
parent | jdb2: Don't refuse invalidation of already invalidated buffers (diff) | |
download | linux-d84c9ebdac1e39bc7b036c0c829ee8c1956edabc.tar.xz linux-d84c9ebdac1e39bc7b036c0c829ee8c1956edabc.zip |
ext4: Mark pages with journalled data dirty
Currently pages with journalled data written by write(2) or modified by
block zeroing during truncate(2) are not marked as dirty. They are
dirtied only once the transaction commits. This however makes writeback
code think inode has no pages to write and so ext4_writepages() is not
called to make pages with journalled data persistent. Mark pages with
journalled data dirty (similarly as it happens for writes through mmap)
so that writeback code knows about them and ext4_writepages() can do
what it needs to to the inode.
Signed-off-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20230329154950.19720-2-jack@suse.cz
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to '.rustfmt.toml')
0 files changed, 0 insertions, 0 deletions