diff options
author | Li Dongyang <dongyangli@ddn.com> | 2018-09-15 17:11:25 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2018-09-15 17:11:25 -0400 |
commit | fe18d649891d813964d3aaeebad873f281627fbc (patch) | |
tree | 9ff37bdb4d0eaff78f8ddd0ad4e9e68d48f21e36 /fs/libfs.c | |
parent | 338affb548c243d2af25b1ca628e67819350de6b (diff) | |
download | linux-fe18d649891d813964d3aaeebad873f281627fbc.tar.bz2 |
ext4: don't mark mmp buffer head dirty
Marking mmp bh dirty before writing it will make writeback
pick up mmp block later and submit a write, we don't want the
duplicate write as kmmpd thread should have full control of
reading and writing the mmp block.
Another reason is we will also have random I/O error on
the writeback request when blk integrity is enabled, because
kmmpd could modify the content of the mmp block(e.g. setting
new seq and time) while the mmp block is under I/O requested
by writeback.
Signed-off-by: Li Dongyang <dongyangli@ddn.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Andreas Dilger <adilger@dilger.ca>
Cc: stable@vger.kernel.org
Diffstat (limited to 'fs/libfs.c')
0 files changed, 0 insertions, 0 deletions