]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: remove xlog_recover_iodone
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)
commitbcd3d2e3008a7041ab670238525e8102baaceb0f
tree4277511d578f749d224eb343fb7006d65ee9afad
parent29dcd957d74114741ce5bbcfc38c9cbf75c7725f
xfs: remove xlog_recover_iodone

Source kernel commit: 22c10589a10baea8e4695fcf38437b89a41e70a1

The log recovery I/O completion handler does not substancially differ from
the normal one except for the fact that it:

a) never retries failed writes
b) can have log items that aren't on the AIL
c) never has inode/dquot log items attached and thus don't need to
handle them

Add conditionals for (a) and (b) to the ioend code, while (c) doesn't
need special handling anyway.

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>