diff options
author | Dave Chinner <dchinner@redhat.com> | 2020-03-25 18:18:21 -0700 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2020-03-27 08:32:53 -0700 |
commit | 9590e9c68449055c97e954118699bc9d470d7e30 (patch) | |
tree | fdc13e76a6eb3aa5b30aab0eb749a7514a57ee83 /fs/xfs/xfs_sysctl.h | |
parent | 7ec949212dba350f1dbc339d2db844db68b39725 (diff) |
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_sysctl.h')
0 files changed, 0 insertions, 0 deletions