]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: move the ioerror check out of xlog_state_clean_iclog
authorChristoph Hellwig <hch@lst.de>
Fri, 20 Mar 2020 15:49:21 +0000 (08:49 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 23 Mar 2020 15:27:59 +0000 (08:27 -0700)
commit644fb9681ce776e9a3f2f5b25cc6066a3a8ec8bb
tree3ffbde7ceb403c8a55d228c1e45a55c97b25b84b
parent0fb02314738b0d166bb6dc14bee91bdb6b06b6b0
xfs: move the ioerror check out of xlog_state_clean_iclog

Use the shutdown flag in the log to bypass xlog_state_clean_iclog
entirely in case of a shut down log.

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>
fs/xfs/xfs_log.c