]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: remove XLOG_STATE_IOABORT
authorChristoph Hellwig <hch@lst.de>
Sat, 29 Jun 2019 02:27:21 +0000 (19:27 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Sat, 29 Jun 2019 02:27:21 +0000 (19:27 -0700)
commit13ca00d8c8d12fcfdc76a7cf11755966b708225f
tree42247cb29199110fcdad1f056e5169c385689d94
parent2c72d362effbd7a6e7ab169d1e98a7fc85ec70f2
xfs: remove XLOG_STATE_IOABORT

This value is the only flag in ic_state, which we otherwise use as
a state.  Switch it to a new debug-only field and also report and
actual error in the buffer in the I/O completion path.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/xfs_log.c
fs/xfs/xfs_log_priv.h