aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/volumes.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/volumes.h')
-rw-r--r--fs/btrfs/volumes.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/fs/btrfs/volumes.h b/fs/btrfs/volumes.h
index dfe7e8a9507c..a2660d2b6b34 100644
--- a/fs/btrfs/volumes.h
+++ b/fs/btrfs/volumes.h
@@ -24,9 +24,12 @@
24struct buffer_head; 24struct buffer_head;
25struct btrfs_device { 25struct btrfs_device {
26 struct list_head dev_list; 26 struct list_head dev_list;
27 struct list_head dev_alloc_list;
27 struct btrfs_root *dev_root; 28 struct btrfs_root *dev_root;
28 struct buffer_head *pending_io; 29 struct buffer_head *pending_io;
30
29 int barriers; 31 int barriers;
32
30 spinlock_t io_lock; 33 spinlock_t io_lock;
31 34
32 struct block_device *bdev; 35 struct block_device *bdev;
@@ -70,7 +73,11 @@ struct btrfs_fs_devices {
70 u64 num_devices; 73 u64 num_devices;
71 struct block_device *latest_bdev; 74 struct block_device *latest_bdev;
72 struct block_device *lowest_bdev; 75 struct block_device *lowest_bdev;
76 /* all of the devices in the FS */
73 struct list_head devices; 77 struct list_head devices;
78
79 /* devices not currently being allocated */
80 struct list_head alloc_list;
74 struct list_head list; 81 struct list_head list;
75}; 82};
76 83