]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: refactor buffer submission into a common helper
authorBrian Foster <bfoster@redhat.com>
Thu, 12 Jul 2018 05:26:34 +0000 (22:26 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Thu, 12 Jul 2018 05:26:34 +0000 (22:26 -0700)
commitd6403c5912ea86e98c6ac81b40848d1aba55c4f9
tree34b9110e34670e122862e0451f3d46dea9251205
parent0ddf97932ca6af03c516cec1db14367ad195b580
xfs: refactor buffer submission into a common helper

Sync and async buffer submission both do generally similar things
with a couple odd exceptions. Refactor the core buffer submission
code into a common helper to isolate buffer submission from
completion handling of synchronous buffer I/O.

This patch does not change behavior. It is a step towards support
for using synchronous buffer I/O via synchronous delwri queue
submission.

Designed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-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_buf.c
fs/xfs/xfs_trace.h