diff options
author | Chris Mason <chris.mason@oracle.com> | 2008-03-26 10:28:07 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-09-25 11:04:01 -0400 |
commit | 04160088141a6be06d5cb9e53e34076b51803ffc (patch) | |
tree | 8dc407b1fe8fced2588121e8d58450f3a8ed8807 /fs/btrfs/ctree.h | |
parent | 593060d756e0c2382d59cf00d5f3b9e3a336c408 (diff) |
Create a btrfs backing dev info
This allows intelligent versions of unplug and congestion functions
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r-- | fs/btrfs/ctree.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index f43dfe7ffe6d..fec96ba7c23b 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h | |||
@@ -25,6 +25,7 @@ | |||
25 | #include <linux/fs.h> | 25 | #include <linux/fs.h> |
26 | #include <linux/workqueue.h> | 26 | #include <linux/workqueue.h> |
27 | #include <linux/completion.h> | 27 | #include <linux/completion.h> |
28 | #include <linux/backing-dev.h> | ||
28 | #include <asm/kmap_types.h> | 29 | #include <asm/kmap_types.h> |
29 | #include "bit-radix.h" | 30 | #include "bit-radix.h" |
30 | #include "extent_io.h" | 31 | #include "extent_io.h" |
@@ -472,6 +473,7 @@ struct btrfs_fs_info { | |||
472 | struct block_device *__bdev; | 473 | struct block_device *__bdev; |
473 | struct super_block *sb; | 474 | struct super_block *sb; |
474 | struct inode *btree_inode; | 475 | struct inode *btree_inode; |
476 | struct backing_dev_info bdi; | ||
475 | spinlock_t hash_lock; | 477 | spinlock_t hash_lock; |
476 | struct mutex trans_mutex; | 478 | struct mutex trans_mutex; |
477 | struct mutex fs_mutex; | 479 | struct mutex fs_mutex; |