Searched hist:"787 eb485509f9d58962bd8b4dbc6a5ac6e2034fe" (Results 1 – 1 of 1) sorted by relevance
/linux/fs/xfs/ |
H A D | xfs_aops.c | diff 787eb485509f9d58962bd8b4dbc6a5ac6e2034fe Fri Mar 03 00:02:51 CET 2017 Christoph Hellwig <hch@lst.de> xfs: fix and streamline error handling in xfs_end_io
There are two different cases of buffered I/O errors:
- first we can have an already shutdown fs. In that case we should skip any on-disk operations and just clean up the appen transaction if present and destroy the ioend - a real I/O error. In that case we should cleanup any lingering COW blocks. This gets skipped in the current code and is fixed by this patch.
Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
|