]> git.baikalelectronics.ru Git - kernel.git/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)
commit48376aa3ce0f4f97d3e7ec00f0c6808160fa548e
tree119c51eff74939bcd8f1d1b3632b123fd805185d
parent0d1befcdb836a5b364beeae5002c122ab99857dd
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