diff options
| author | Chris Mason <clm@fb.com> | 2016-10-12 16:16:00 -0400 |
|---|---|---|
| committer | Chris Mason <clm@fb.com> | 2016-10-12 16:16:00 -0400 |
| commit | d9ed71e5457c8c5bf1dc706e06468eab9e2aa87e (patch) | |
| tree | ddc02c4207fc2c828ea4612d45f4af32d5dc292f /include/uapi | |
| parent | 19c4d2f994788a954af1aa7e53b0fdb46fd7925a (diff) | |
| parent | 0e6757859efea6ed919fc37e4ee468634220b2d2 (diff) | |
Merge branch 'fst-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux into for-linus-4.9
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'include/uapi')
| -rw-r--r-- | include/uapi/linux/btrfs.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/include/uapi/linux/btrfs.h b/include/uapi/linux/btrfs.h index ac5eacd3055b..db4c253f8011 100644 --- a/include/uapi/linux/btrfs.h +++ b/include/uapi/linux/btrfs.h | |||
| @@ -239,7 +239,17 @@ struct btrfs_ioctl_fs_info_args { | |||
| 239 | * Used by: | 239 | * Used by: |
| 240 | * struct btrfs_ioctl_feature_flags | 240 | * struct btrfs_ioctl_feature_flags |
| 241 | */ | 241 | */ |
| 242 | #define BTRFS_FEATURE_COMPAT_RO_FREE_SPACE_TREE (1ULL << 0) | 242 | #define BTRFS_FEATURE_COMPAT_RO_FREE_SPACE_TREE (1ULL << 0) |
| 243 | /* | ||
| 244 | * Older kernels (< 4.9) on big-endian systems produced broken free space tree | ||
| 245 | * bitmaps, and btrfs-progs also used to corrupt the free space tree (versions | ||
| 246 | * < 4.7.3). If this bit is clear, then the free space tree cannot be trusted. | ||
| 247 | * btrfs-progs can also intentionally clear this bit to ask the kernel to | ||
| 248 | * rebuild the free space tree, however this might not work on older kernels | ||
| 249 | * that do not know about this bit. If not sure, clear the cache manually on | ||
| 250 | * first mount when booting older kernel versions. | ||
| 251 | */ | ||
| 252 | #define BTRFS_FEATURE_COMPAT_RO_FREE_SPACE_TREE_VALID (1ULL << 1) | ||
| 243 | 253 | ||
| 244 | #define BTRFS_FEATURE_INCOMPAT_MIXED_BACKREF (1ULL << 0) | 254 | #define BTRFS_FEATURE_INCOMPAT_MIXED_BACKREF (1ULL << 0) |
| 245 | #define BTRFS_FEATURE_INCOMPAT_DEFAULT_SUBVOL (1ULL << 1) | 255 | #define BTRFS_FEATURE_INCOMPAT_DEFAULT_SUBVOL (1ULL << 1) |
