summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_trans_ail.c
diff options
context:
space:
mode:
authorCarlos Maiolino <cmaiolino@redhat.com>2017-08-09 03:21:50 +0200
committerDarrick J. Wong <darrick.wong@oracle.com>2017-08-22 18:22:23 +0200
commit0b80ae6ed13169bd3a244e71169f2cc020b0c57a (patch)
tree96553adda7d1f33e20161a3b935a750a685fd043 /fs/xfs/xfs_trans_ail.c
parentxfs: toggle readonly state around xfs_log_mount_finish (diff)
downloadlinux-0b80ae6ed13169bd3a244e71169f2cc020b0c57a.tar.xz
linux-0b80ae6ed13169bd3a244e71169f2cc020b0c57a.zip
xfs: Add infrastructure needed for error propagation during buffer IO failure
With the current code, XFS never re-submit a failed buffer for IO, because the failed item in the buffer is kept in the flush locked state forever. To be able to resubmit an log item for IO, we need a way to mark an item as failed, if, for any reason the buffer which the item belonged to failed during writeback. Add a new log item callback to be used after an IO completion failure and make the needed clean ups. Reviewed-by: Brian Foster <bfoster@redhat.com> Signed-off-by: Carlos Maiolino <cmaiolino@redhat.com> Reviewed-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/xfs_trans_ail.c')
0 files changed, 0 insertions, 0 deletions