]> asedeno.scripts.mit.edu Git - linux.git/commit
xfs: refactor the ioend merging code
authorChristoph Hellwig <hch@lst.de>
Thu, 17 Oct 2019 20:12:07 +0000 (13:12 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 21 Oct 2019 15:51:59 +0000 (08:51 -0700)
commit433dad94ec5d6b90385b56a8bc8718dd9542b289
tree5106489437959f9a01d5a96dc139f57dfa3aa319
parent4e087a3b313cc664057279b1e40372fc97e3e212
xfs: refactor the ioend merging code

Introduce two nicely abstracted helper, which can be moved to the iomap
code later.  Also use list_first_entry_or_null to simplify the code a
bit.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/xfs_aops.c