summaryrefslogtreecommitdiffstats
path: root/include/keys
diff options
context:
space:
mode:
authorAlex Gartrell <agartrell@fb.com>2014-05-20 13:07:56 -0700
committerChris Mason <clm@fb.com>2014-06-09 17:20:57 -0700
commitfc4adbff823f76577ece26dcb88bf6f8392dbd43 (patch)
treed3708c9b2f6e3023a7da4452d90f65e99a007213 /include/keys
parent0e378df15cd87f540f1ba9503e4aa039e1c72741 (diff)
downloadlinux-fc4adbff823f76577ece26dcb88bf6f8392dbd43.tar.gz
linux-fc4adbff823f76577ece26dcb88bf6f8392dbd43.tar.bz2
linux-fc4adbff823f76577ece26dcb88bf6f8392dbd43.zip
btrfs: Drop EXTENT_UPTODATE check in hole punching and direct locking
In these instances, we are trying to determine if a page has been accessed since we began the operation for the sake of retry. This is easily accomplished by doing a gang lookup in the page mapping radix tree, and it saves us the dependency on the flag (so that we might eventually delete it). btrfs_page_exists_in_range borrows heavily from find_get_page, replacing the radix tree look up with a gang lookup of 1, so that we can find the next highest page >= index and see if it falls into our lock range. Signed-off-by: Chris Mason <clm@fb.com> Signed-off-by: Alex Gartrell <agartrell@fb.com>
Diffstat (limited to 'include/keys')
0 files changed, 0 insertions, 0 deletions