]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: move the buffer retry logic to xfs_buf.c
authorChristoph Hellwig <hch@lst.de>
Tue, 10 Nov 2020 19:52:42 +0000 (14:52 -0500)
committerEric Sandeen <sandeen@sandeen.net>
Tue, 10 Nov 2020 19:52:42 +0000 (14:52 -0500)
commit29dcd957d74114741ce5bbcfc38c9cbf75c7725f
tree4277511d578f749d224eb343fb7006d65ee9afad
parent8a21dbae68da327759b4a6df732a6f0c17b3a75d
xfs: move the buffer retry logic to xfs_buf.c

Source kernel commit: 664ffb8a429a800c51964b94c15c6a92c8d8334c

Move the buffer retry state machine logic to xfs_buf.c and call it once
from xfs_ioend instead of duplicating it three times for the three kinds
of buffers.

Signed-off-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>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/xfs_trans_inode.c