summaryrefslogtreecommitdiff
path: root/fs/btrfs/disk-io.h
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2008-04-10 00:28:12 +0400
committerChris Mason <chris.mason@oracle.com>2008-09-25 19:04:01 +0400
commit22c599485b1fdd95e4476a4752596a6cf6c6629a (patch)
treef34285bfb545cf7abed9be6ad12a61e80dbb4bb5 /fs/btrfs/disk-io.h
parentce9adaa5a792c2099a83246265eb4055bc38b6b8 (diff)
downloadlinux-22c599485b1fdd95e4476a4752596a6cf6c6629a.tar.xz
Btrfs: Handle data block end_io through the async work queue
Before it was done by the bio end_io routine, the work queue code is able to scale much better with faster IO subsystems. Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/disk-io.h')
-rw-r--r--fs/btrfs/disk-io.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/btrfs/disk-io.h b/fs/btrfs/disk-io.h
index 05b88d0e75eb..4fac0ccbf8f8 100644
--- a/fs/btrfs/disk-io.h
+++ b/fs/btrfs/disk-io.h
@@ -71,4 +71,6 @@ void btrfs_throttle(struct btrfs_root *root);
int btrfs_open_device(struct btrfs_device *dev);
int btrfs_verify_block_csum(struct btrfs_root *root,
struct extent_buffer *buf);
+int btrfs_bio_wq_end_io(struct btrfs_fs_info *info, struct bio *bio,
+ int metadata);
#endif