OSDN Git Service

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)
commit366fc4b898b3ca999b26d7c9fab92cb31ce4ad2b
tree42247cb29199110fcdad1f056e5169c385689d94
parent9bff313253ebfbf93537988ce0937a337c9fcf42
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