]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: factor out a xlog_buf_readahead helper
authorChristoph Hellwig <hch@lst.de>
Tue, 28 Apr 2020 01:23:17 +0000 (18:23 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 4 May 2020 16:03:15 +0000 (09:03 -0700)
commitf339454d3f37984f1920a7be210bfd027e86efb6
tree9b1092b40d739b868be618c144a71df619aa68c3
parent9f23a06b787c3d958fd69b4d563b1628d11f998a
xfs: factor out a xlog_buf_readahead helper

Add a little helper to readahead a buffer if it hasn't been cancelled.

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/xfs_log_recover.c