summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_log.h
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2020-03-26 04:18:21 +0300
committerDarrick J. Wong <darrick.wong@oracle.com>2020-03-27 18:32:53 +0300
commit9590e9c68449055c97e954118699bc9d470d7e30 (patch)
treefdc13e76a6eb3aa5b30aab0eb749a7514a57ee83 /fs/xfs/xfs_log.h
parent7ec949212dba350f1dbc339d2db844db68b39725 (diff)
downloadlinux-9590e9c68449055c97e954118699bc9d470d7e30.tar.xz
xfs: re-order initial space accounting checks in xlog_write
Commit and unmount records records do not need start records to be written, so rearrange the logic in xlog_write() to remove the need to check for XLOG_TIC_INITED to determine if we should account for the space used by a start record. Signed-off-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Brian Foster <bfoster@redhat.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/xfs_log.h')
0 files changed, 0 insertions, 0 deletions