|
@@ -1864,7 +1864,7 @@ xlog_sync(
|
|
|
|
|
|
bp->b_io_length = BTOBB(count);
|
|
|
bp->b_fspriv = iclog;
|
|
|
- XFS_BUF_ZEROFLAGS(bp);
|
|
|
+ bp->b_flags &= ~(XBF_FUA | XBF_FLUSH);
|
|
|
bp->b_flags |= (XBF_ASYNC | XBF_SYNCIO | XBF_WRITE);
|
|
|
|
|
|
if (log->l_mp->m_flags & XFS_MOUNT_BARRIER) {
|
|
@@ -1908,7 +1908,7 @@ xlog_sync(
|
|
|
xfs_buf_associate_memory(bp,
|
|
|
(char *)&iclog->ic_header + count, split);
|
|
|
bp->b_fspriv = iclog;
|
|
|
- XFS_BUF_ZEROFLAGS(bp);
|
|
|
+ bp->b_flags &= ~(XBF_FUA | XBF_FLUSH);
|
|
|
bp->b_flags |= (XBF_ASYNC | XBF_SYNCIO | XBF_WRITE);
|
|
|
if (log->l_mp->m_flags & XFS_MOUNT_BARRIER)
|
|
|
bp->b_flags |= XBF_FUA;
|