diff options
author | Christoph Hellwig <hch@lst.de> | 2025-01-13 15:12:18 +0100 |
---|---|---|
committer | Carlos Maiolino <cem@kernel.org> | 2025-01-14 11:38:15 +0100 |
commit | 4f1aefd13e94bbf027f87befb2e2206ca73a5e7f (patch) | |
tree | 5ea3c5c4e6b1d333fb3d4e718f6821b7027cd6a4 /tools/perf/scripts/python/task-analyzer.py | |
parent | 46eba93d4f582dce63dfdf506a6f2edf8f1787c8 (diff) |
xfs: move b_li_list based retry handling to common code
The dquot and inode version are very similar, which is expected given the
overall b_li_list logic. The differences are that the inode version also
clears the XFS_LI_FLUSHING which is defined in common but only ever set
by the inode item, and that the dquot version takes the ail_lock over
the list iteration. While this seems sensible given that additions and
removals from b_li_list are protected by the ail_lock, log items are
only added before buffer submission, and are only removed when completing
the buffer, so nothing can change the list when retrying a buffer.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Acked-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions