On Sun, Sep 09, 2018 at 10:57:35PM -0600, Andreas Dilger wrote: > On Sep 9, 2018, at 12:30 AM, Li Dongyang <dongyangli@xxxxxxx> wrote: > > > > 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@xxxxxxx> > > Cc: Andreas Dilger <adilger@xxxxxxxxx> > > Reviewed-by: Andreas Dilger <adilger@xxxxxxxxx> Thanks, applied. - Ted