]> Git Repo - linux.git/commit
Btrfs: set page->private to the eb
authorJosef Bacik <[email protected]>
Wed, 7 Mar 2012 21:20:05 +0000 (16:20 -0500)
committerChris Mason <[email protected]>
Mon, 26 Mar 2012 20:51:07 +0000 (16:51 -0400)
commit4f2de97acee6532b36dd6e995b858343771ad126
tree240ee16e76f2f2e4850e6fe2e90174e7cd794a9b
parent727011e07cbdf87772fcc1999cccd15cc915eb62
Btrfs: set page->private to the eb

We spend a lot of time looking up extent buffers from pages when we could just
store the pointer to the eb the page is associated with in page->private.  This
patch does just that, and it makes things a little simpler and reduces a bit of
CPU overhead involved with doing metadata IO.  Thanks,

Signed-off-by: Josef Bacik <[email protected]>
fs/btrfs/disk-io.c
fs/btrfs/extent_io.c
fs/btrfs/extent_io.h
This page took 0.049057 seconds and 4 git commands to generate.