aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/extent_io.h
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2008-04-18 10:29:50 -0400
committerChris Mason <chris.mason@oracle.com>2008-09-25 11:04:02 -0400
commit7b13b7b119c932a5eca486db4113f4c1fe3b97a8 (patch)
treecf4432c69f660f0c22c1b6415c0d907ba6d44c8a /fs/btrfs/extent_io.h
parent7ae9c09d8f001eb19ee2ba219dc5c3d4f6d60614 (diff)
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.h3
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);
110int try_release_extent_mapping(struct extent_map_tree *map, 110int try_release_extent_mapping(struct extent_map_tree *map,
111 struct extent_io_tree *tree, struct page *page, 111 struct extent_io_tree *tree, struct page *page,
112 gfp_t mask); 112 gfp_t mask);
113int try_release_extent_state(struct extent_map_tree *map,
114 struct extent_io_tree *tree, struct page *page,
115 gfp_t mask);
113int lock_extent(struct extent_io_tree *tree, u64 start, u64 end, gfp_t mask); 116int lock_extent(struct extent_io_tree *tree, u64 start, u64 end, gfp_t mask);
114int unlock_extent(struct extent_io_tree *tree, u64 start, u64 end, gfp_t mask); 117int unlock_extent(struct extent_io_tree *tree, u64 start, u64 end, gfp_t mask);
115int extent_read_full_page(struct extent_io_tree *tree, struct page *page, 118int extent_read_full_page(struct extent_io_tree *tree, struct page *page,