summaryrefslogtreecommitdiffstats
path: root/fs/fifo.c
diff options
context:
space:
mode:
authorJosef Bacik <jbacik@fusionio.com>2013-06-17 13:44:48 -0400
committerJosef Bacik <jbacik@fusionio.com>2013-07-01 08:52:32 -0400
commitbdf7c00e8f56386dd1df545b37cf59d55ce4216d (patch)
treef8fbe2f4b5c5dbd9c6b9a4d79bd3e729a874e7ec /fs/fifo.c
parentfdf8e2ea3cba9ef03087482b11258d844d6cbea3 (diff)
downloadop-kernel-dev-bdf7c00e8f56386dd1df545b37cf59d55ce4216d.zip
op-kernel-dev-bdf7c00e8f56386dd1df545b37cf59d55ce4216d.tar.gz
Btrfs: optimize read_block_for_search
This patch does two things, first it only does one call to btrfs_buffer_uptodate() with the gen specified instead of once with 0 and then again with gen specified. The other thing is to call btrfs_read_buffer() on the buffer we've found instead of dropping it and then calling read_tree_block(). This will keep us from doing yet another radix tree lookup for a buffer we've already found. Thanks, Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Diffstat (limited to 'fs/fifo.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud