summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_trans_priv.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2016-04-06 01:34:30 +0300
committerDave Chinner <david@fromorbit.com>2016-04-06 01:34:30 +0300
commit0e51a8e191dbd9b9c7b7bb0a1c28d57cd2be8e6a (patch)
tree15c9f6f5bcdcbda2978889057780ec3d6b4c9cbe /fs/xfs/xfs_trans_priv.h
parent37992c18bba3f578860c6448b7bae18a14e535d3 (diff)
downloadlinux-0e51a8e191dbd9b9c7b7bb0a1c28d57cd2be8e6a.tar.xz
xfs: optimize bio handling in the buffer writeback path
This patch implements two closely related changes: First it embeds a bio the ioend structure so that we don't have to allocate one separately. Second it uses the block layer bio chaining mechanism to chain additional bios off this first one if needed instead of manually accounting for multiple bio completions in the ioend structure. Together this removes a memory allocation per ioend and greatly simplifies the ioend setup and I/O completion path. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Brian Foster <bfoster@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_trans_priv.h')
0 files changed, 0 insertions, 0 deletions