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) |
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); | |||
110 | int try_release_extent_mapping(struct extent_map_tree *map, | 110 | int 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); |
113 | int try_release_extent_state(struct extent_map_tree *map, | ||
114 | struct extent_io_tree *tree, struct page *page, | ||
115 | gfp_t mask); | ||
113 | int lock_extent(struct extent_io_tree *tree, u64 start, u64 end, gfp_t mask); | 116 | int lock_extent(struct extent_io_tree *tree, u64 start, u64 end, gfp_t mask); |
114 | int unlock_extent(struct extent_io_tree *tree, u64 start, u64 end, gfp_t mask); | 117 | int unlock_extent(struct extent_io_tree *tree, u64 start, u64 end, gfp_t mask); |
115 | int extent_read_full_page(struct extent_io_tree *tree, struct page *page, | 118 | int extent_read_full_page(struct extent_io_tree *tree, struct page *page, |