diff options
author | Chris Mason <chris.mason@oracle.com> | 2008-04-18 10:29:50 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-09-25 11:04:02 -0400 |
commit | 7b13b7b119c932a5eca486db4113f4c1fe3b97a8 (patch) | |
tree | cf4432c69f660f0c22c1b6415c0d907ba6d44c8a /fs/btrfs/extent_io.h | |
parent | 7ae9c09d8f001eb19ee2ba219dc5c3d4f6d60614 (diff) | |
download | linux-7b13b7b119c932a5eca486db4113f4c1fe3b97a8.tar.gz linux-7b13b7b119c932a5eca486db4113f4c1fe3b97a8.tar.bz2 linux-7b13b7b119c932a5eca486db4113f4c1fe3b97a8.zip |
Btrfs: Don't drop extent_map cache during releasepage on the btree inode
The btree inode should only have a single extent_map in the cache,
it doesn't make sense to ever drop it.
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/extent_io.h')
-rw-r--r-- | fs/btrfs/extent_io.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/btrfs/extent_io.h b/fs/btrfs/extent_io.h index 232300d13be2..e48346147514 100644 --- a/fs/btrfs/extent_io.h +++ b/fs/btrfs/extent_io.h @@ -110,6 +110,9 @@ void extent_io_tree_empty_lru(struct extent_io_tree *tree); int try_release_extent_mapping(struct extent_map_tree *map, struct extent_io_tree *tree, struct page *page, gfp_t mask); +int try_release_extent_state(struct extent_map_tree *map, + struct extent_io_tree *tree, struct page *page, + gfp_t mask); int lock_extent(struct extent_io_tree *tree, u64 start, u64 end, gfp_t mask); int unlock_extent(struct extent_io_tree *tree, u64 start, u64 end, gfp_t mask); int extent_read_full_page(struct extent_io_tree *tree, struct page *page, |