diff options
author | Christoph Hellwig <hch@lst.de> | 2017-03-02 15:02:51 -0800 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2017-03-07 20:10:50 -0800 |
commit | 787eb485509f9d58962bd8b4dbc6a5ac6e2034fe (patch) | |
tree | e046efdfd0c5db5c22dfa022224d60df41c14689 /fs/xfs/kmem.c | |
parent | 3802a345321a08093ba2ddb1849e736f84e8d450 (diff) | |
download | op-kernel-dev-787eb485509f9d58962bd8b4dbc6a5ac6e2034fe.zip op-kernel-dev-787eb485509f9d58962bd8b4dbc6a5ac6e2034fe.tar.gz |
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>
Diffstat (limited to 'fs/xfs/kmem.c')
0 files changed, 0 insertions, 0 deletions