aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorJan Schmidt <list.btrfs@jan-o-sch.net>2011-03-11 09:41:01 -0500
committerArne Jansen <sensille@gmx.net>2011-05-12 08:45:38 -0400
commit475f63874d739d7842a56da94687f18d583ae654 (patch)
tree096902bd87353d1e8be3cf6a9ecadb66fc620d11 /fs/btrfs/ctree.h
parenta2de733c78fa7af51ba9670482fa7d392aa67c57 (diff)
btrfs: new ioctls for scrub
adds ioctls necessary to start and cancel scrubs, to get current progress and to get info about devices to be scrubbed. Note that the scrub is done per-device and that the ioctl only returns after the scrub for this devices is finished or has been canceled. Signed-off-by: Arne Jansen <sensille@gmx.net>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r--fs/btrfs/ctree.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index 31141ba6072d..b7373b14e4cd 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -189,7 +189,6 @@ struct btrfs_mapping_tree {
189 struct extent_map_tree map_tree; 189 struct extent_map_tree map_tree;
190}; 190};
191 191
192#define BTRFS_UUID_SIZE 16
193struct btrfs_dev_item { 192struct btrfs_dev_item {
194 /* the internal btrfs device id */ 193 /* the internal btrfs device id */
195 __le64 devid; 194 __le64 devid;
@@ -296,7 +295,6 @@ static inline unsigned long btrfs_chunk_item_size(int num_stripes)
296 sizeof(struct btrfs_stripe) * (num_stripes - 1); 295 sizeof(struct btrfs_stripe) * (num_stripes - 1);
297} 296}
298 297
299#define BTRFS_FSID_SIZE 16
300#define BTRFS_HEADER_FLAG_WRITTEN (1ULL << 0) 298#define BTRFS_HEADER_FLAG_WRITTEN (1ULL << 0)
301#define BTRFS_HEADER_FLAG_RELOC (1ULL << 1) 299#define BTRFS_HEADER_FLAG_RELOC (1ULL << 1)
302 300