summaryrefslogtreecommitdiffstats
path: root/fs/nfsd
diff options
context:
space:
mode:
authorLi Dongyang <dongyangli@ddn.com>2018-09-15 17:11:25 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-09-29 02:56:02 -0700
commitda7a6e25fe8e8376b0848500494c645a5f12ce4b (patch)
treea0c979780125d26d2faf9d444652e5c09ac76d5c /fs/nfsd
parent705bcb551648b0f93e6bd196888972df8a043040 (diff)
downloadlinux-stable-da7a6e25fe8e8376b0848500494c645a5f12ce4b.tar.gz
linux-stable-da7a6e25fe8e8376b0848500494c645a5f12ce4b.tar.bz2
linux-stable-da7a6e25fe8e8376b0848500494c645a5f12ce4b.zip
ext4: don't mark mmp buffer head dirty
commit fe18d649891d813964d3aaeebad873f281627fbc upstream. 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 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/nfsd')
0 files changed, 0 insertions, 0 deletions