aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/disk-io.h
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2008-06-25 16:01:31 -0400
committerChris Mason <chris.mason@oracle.com>2008-09-25 11:04:04 -0400
commit3f157a2fd2ad731e1ed9964fecdc5f459f04a4a4 (patch)
treedf9421e7b1d0c06d5efb8659f4317438d3d511d7 /fs/btrfs/disk-io.h
parent1b1e2135dc1e4efbcf25ac9ac9979316d4e1193e (diff)
Btrfs: Online btree defragmentation fixes
The btree defragger wasn't making forward progress because the new key wasn't being saved by the btrfs_search_forward function. This also disables the automatic btree defrag, it wasn't scaling well to huge filesystems. The auto-defrag needs to be done differently. Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/disk-io.h')
-rw-r--r--fs/btrfs/disk-io.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/btrfs/disk-io.h b/fs/btrfs/disk-io.h
index deff6b4815a7..353c3c50c957 100644
--- a/fs/btrfs/disk-io.h
+++ b/fs/btrfs/disk-io.h
@@ -61,12 +61,6 @@ int btrfs_buffer_uptodate(struct extent_buffer *buf, u64 parent_transid);
61int btrfs_set_buffer_uptodate(struct extent_buffer *buf); 61int btrfs_set_buffer_uptodate(struct extent_buffer *buf);
62int wait_on_tree_block_writeback(struct btrfs_root *root, 62int wait_on_tree_block_writeback(struct btrfs_root *root,
63 struct extent_buffer *buf); 63 struct extent_buffer *buf);
64void btrfs_set_buffer_defrag(struct extent_buffer *buf);
65void btrfs_set_buffer_defrag_done(struct extent_buffer *buf);
66int btrfs_buffer_defrag(struct extent_buffer *buf);
67int btrfs_buffer_defrag_done(struct extent_buffer *buf);
68int btrfs_clear_buffer_defrag(struct extent_buffer *buf);
69int btrfs_clear_buffer_defrag_done(struct extent_buffer *buf);
70int btrfs_read_buffer(struct extent_buffer *buf, u64 parent_transid); 64int btrfs_read_buffer(struct extent_buffer *buf, u64 parent_transid);
71u32 btrfs_csum_data(struct btrfs_root *root, char *data, u32 seed, size_t len); 65u32 btrfs_csum_data(struct btrfs_root *root, char *data, u32 seed, size_t len);
72void btrfs_csum_final(u32 crc, char *result); 66void btrfs_csum_final(u32 crc, char *result);