summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/volumes.h
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2008-04-10 16:19:33 -0400
committerChris Mason <chris.mason@oracle.com>2008-09-25 11:04:01 -0400
commitf29844623de29a12358d7fba35d0959465b64adf (patch)
tree0268addb1a152cc1dbfdef1a50e32d6a7e97bdcf /fs/btrfs/volumes.h
parent16432985920f3c45af82da214e2498f3e2f9066b (diff)
downloadlinux-stable-f29844623de29a12358d7fba35d0959465b64adf.tar.gz
linux-stable-f29844623de29a12358d7fba35d0959465b64adf.tar.bz2
linux-stable-f29844623de29a12358d7fba35d0959465b64adf.zip
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.h3
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 @@
#include <linux/bio.h>
+struct buffer_head;
struct btrfs_device {
struct list_head dev_list;
struct btrfs_root *dev_root;
+ struct buffer_head *pending_io;
+ int barriers;
spinlock_t io_lock;
struct block_device *bdev;