aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_exchrange.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2025-01-13 14:12:18 +0000
committerCarlos Maiolino <[email protected]>2025-01-14 10:38:15 +0000
commit4f1aefd13e94bbf027f87befb2e2206ca73a5e7f (patch)
tree5ea3c5c4e6b1d333fb3d4e718f6821b7027cd6a4 /fs/xfs/xfs_exchrange.c
parentxfs: simplify xfsaild_resubmit_item (diff)
downloadkernel-4f1aefd13e94bbf027f87befb2e2206ca73a5e7f.tar.gz
kernel-4f1aefd13e94bbf027f87befb2e2206ca73a5e7f.zip
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 <[email protected]> Reviewed-by: Darrick J. Wong <[email protected]> Acked-by: Dave Chinner <[email protected]> Signed-off-by: Carlos Maiolino <[email protected]>
Diffstat (limited to 'fs/xfs/xfs_exchrange.c')
0 files changed, 0 insertions, 0 deletions