diff options
author | Carlos Maiolino <[email protected]> | 2017-08-08 18:21:50 -0700 |
---|---|---|
committer | Darrick J. Wong <[email protected]> | 2017-08-22 09:22:23 -0700 |
commit | 0b80ae6ed13169bd3a244e71169f2cc020b0c57a (patch) | |
tree | 96553adda7d1f33e20161a3b935a750a685fd043 /lib/string_helpers.c | |
parent | 6f4a1eefdd0ad4561543270a7fceadabcca075dd (diff) |
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 <[email protected]>
Signed-off-by: Carlos Maiolino <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions