diff options
author | Chris Mason <chris.mason@oracle.com> | 2008-04-10 16:19:33 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-09-25 11:04:01 -0400 |
commit | f29844623de29a12358d7fba35d0959465b64adf (patch) | |
tree | 0268addb1a152cc1dbfdef1a50e32d6a7e97bdcf /fs/btrfs/volumes.h | |
parent | 16432985920f3c45af82da214e2498f3e2f9066b (diff) |
Btrfs: Write out all super blocks on commit, and bring back proper barrier support
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/volumes.h')
-rw-r--r-- | fs/btrfs/volumes.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/btrfs/volumes.h b/fs/btrfs/volumes.h index 3d5d0a9cb827..89548837a1cc 100644 --- a/fs/btrfs/volumes.h +++ b/fs/btrfs/volumes.h | |||
@@ -21,9 +21,12 @@ | |||
21 | 21 | ||
22 | #include <linux/bio.h> | 22 | #include <linux/bio.h> |
23 | 23 | ||
24 | struct buffer_head; | ||
24 | struct btrfs_device { | 25 | struct btrfs_device { |
25 | struct list_head dev_list; | 26 | struct list_head dev_list; |
26 | struct btrfs_root *dev_root; | 27 | struct btrfs_root *dev_root; |
28 | struct buffer_head *pending_io; | ||
29 | int barriers; | ||
27 | spinlock_t io_lock; | 30 | spinlock_t io_lock; |
28 | 31 | ||
29 | struct block_device *bdev; | 32 | struct block_device *bdev; |