summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2016-04-06 08:34:30 +1000
committerDave Chinner <david@fromorbit.com>2016-04-06 08:34:30 +1000
commit0e51a8e191dbd9b9c7b7bb0a1c28d57cd2be8e6a (patch)
tree15c9f6f5bcdcbda2978889057780ec3d6b4c9cbe /tools
parent37992c18bba3f578860c6448b7bae18a14e535d3 (diff)
downloadlinux-0e51a8e191dbd9b9c7b7bb0a1c28d57cd2be8e6a.tar.gz
linux-0e51a8e191dbd9b9c7b7bb0a1c28d57cd2be8e6a.tar.bz2
linux-0e51a8e191dbd9b9c7b7bb0a1c28d57cd2be8e6a.zip
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 'tools')
0 files changed, 0 insertions, 0 deletions