From 8fe24978616f4e7ee3b3114b745c6c3c6f03b25b Mon Sep 17 00:00:00 2001 From: Goffredo Baroncelli Date: Tue, 31 Mar 2020 21:10:43 +0200 Subject: [PATCH] btrfs-progs: Add BTRFS_EXTENDED_PROFILE_MASK mask Add BTRFS_EXTENDED_PROFILE_MASK to consider also the BTRFS_AVAIL_ALLOC_BIT_SINGLE bit. Signed-off-by: Goffredo Baroncelli Signed-off-by: David Sterba --- ctree.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ctree.h b/ctree.h index 691481bcf3..9d69fa9460 100644 --- a/ctree.h +++ b/ctree.h @@ -1005,6 +1005,9 @@ enum btrfs_raid_types { /* used in struct btrfs_balance_args fields */ #define BTRFS_AVAIL_ALLOC_BIT_SINGLE (1ULL << 48) +#define BTRFS_EXTENDED_PROFILE_MASK (BTRFS_BLOCK_GROUP_PROFILE_MASK | \ + BTRFS_AVAIL_ALLOC_BIT_SINGLE) + /* * GLOBAL_RSV does not exist as a on-disk block group type and is used * internally for exporting info about global block reserve from space infos