]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: remove xlog_recover_iodone
authorChristoph Hellwig <hch@lst.de>
Tue, 1 Sep 2020 17:55:46 +0000 (10:55 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Wed, 16 Sep 2020 03:52:39 +0000 (20:52 -0700)
commit80ef1cc33711b74322e3f3fc04f5462a8e8d802a
tree310ea698e823a12a677bf4054543f66db6d76cc0
parentb991ce2b3929d78abbb68e556255b1acf15cf545
xfs: remove xlog_recover_iodone

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>
fs/xfs/libxfs/xfs_log_recover.h
fs/xfs/xfs_buf.c
fs/xfs/xfs_buf_item.c
fs/xfs/xfs_buf_item_recover.c
fs/xfs/xfs_log_recover.c