diff options
| author | Brian Foster <[email protected]> | 2020-05-06 13:25:19 -0700 |
|---|---|---|
| committer | Darrick J. Wong <[email protected]> | 2020-05-07 08:27:45 -0700 |
| commit | cb6ad0993eb8973533235de8a35aa4b9c872d733 (patch) | |
| tree | 27ed96b305b5348807d47589c3a7e7e5eab31b91 /tools/perf/scripts/python | |
| parent | 8bc3b5e4b70d28f8edcafc3c9e4de515998eea9e (diff) | |
xfs: refactor failed buffer resubmission into xfsaild
Flush locked log items whose underlying buffers fail metadata
writeback are tagged with a special flag to indicate that the flush
lock is already held. This is currently implemented in the type
specific ->iop_push() callback, but the processing required for such
items is not type specific because we're only doing basic state
management on the underlying buffer.
Factor the failed log item handling out of the inode and dquot
->iop_push() callbacks and open code the buffer resubmit helper into
a single helper called from xfsaild_push_item(). This provides a
generic mechanism for handling failed metadata buffer writeback with
a bit less code.
Signed-off-by: Brian Foster <[email protected]>
Reviewed-by: Allison Collins <[email protected]>
Reviewed-by: Dave Chinner <[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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions