diff options
author | Stefan Behrens <sbehrens@giantdisaster.de> | 2013-08-15 17:11:24 +0200 |
---|---|---|
committer | Chris Mason <chris.mason@fusionio.com> | 2013-09-01 08:15:59 -0400 |
commit | f420ee1e923b931eeef5e2928791e84b1197cab3 (patch) | |
tree | 11c4273d3ff3a08d18587fb3ae1f9b156e35d12c /fs/btrfs/ctree.h | |
parent | 70f801754728017ebc909d603c69255dc1e6f06f (diff) | |
download | op-kernel-dev-f420ee1e923b931eeef5e2928791e84b1197cab3.zip op-kernel-dev-f420ee1e923b931eeef5e2928791e84b1197cab3.tar.gz |
Btrfs: add mount option to force UUID tree checking
This should never be needed, but since all functions are there
to check and rebuild the UUID tree, a mount option is added that
allows to force this check and rebuild procedure.
Signed-off-by: Stefan Behrens <sbehrens@giantdisaster.de>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r-- | fs/btrfs/ctree.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index 8c95476..0ef9d86 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h @@ -1998,6 +1998,7 @@ struct btrfs_ioctl_defrag_range_args { #define BTRFS_MOUNT_CHECK_INTEGRITY (1 << 20) #define BTRFS_MOUNT_CHECK_INTEGRITY_INCLUDING_EXTENT_DATA (1 << 21) #define BTRFS_MOUNT_PANIC_ON_FATAL_ERROR (1 << 22) +#define BTRFS_MOUNT_RESCAN_UUID_TREE (1 << 23) #define BTRFS_DEFAULT_COMMIT_INTERVAL (30) |