diff options
author | Chris Mason <chris.mason@oracle.com> | 2008-04-09 16:28:12 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-09-25 11:04:01 -0400 |
commit | 22c599485b1fdd95e4476a4752596a6cf6c6629a (patch) | |
tree | f34285bfb545cf7abed9be6ad12a61e80dbb4bb5 /fs/btrfs/disk-io.h | |
parent | ce9adaa5a792c2099a83246265eb4055bc38b6b8 (diff) | |
download | linux-22c599485b1fdd95e4476a4752596a6cf6c6629a.tar.gz linux-22c599485b1fdd95e4476a4752596a6cf6c6629a.tar.bz2 linux-22c599485b1fdd95e4476a4752596a6cf6c6629a.zip |
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.h | 2 |
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 |