]> Pileus Git - ~andy/linux/commit
Btrfs: introduce mark_extent_buffer_accessed
authorJosef Bacik <josef@redhat.com>
Thu, 15 Mar 2012 22:24:42 +0000 (18:24 -0400)
committerChris Mason <chris.mason@oracle.com>
Mon, 26 Mar 2012 20:51:09 +0000 (16:51 -0400)
commit5df4235ea15bd39f441ef334d8329b3d46b2cc57
tree119c51eff74939bcd8f1d1b3632b123fd805185d
parent3083ee2e18b701122a3b841db83448543a87a583
Btrfs: introduce mark_extent_buffer_accessed

Because an eb can have multiple pages we need to make sure that all pages within
the eb are markes as accessed, since releasepage can be called against any page
in the eb.  This will keep us from possibly evicting hot eb's when we're doing
larger than pagesize eb's.  Thanks,

Signed-off-by: Josef Bacik <josef@redhat.com>
fs/btrfs/extent_io.c