summaryrefslogtreecommitdiff
path: root/cmds-check.c
diff options
context:
space:
mode:
authorJosef Bacik <jbacik@fb.com>2015-01-25 17:41:19 -0800
committerJosef Bacik <jbacik@fb.com>2015-02-09 14:53:15 -0500
commitbce7dbba2859a47554c122eae32ead87e6a6510a (patch)
tree82594963a83f0b4497fb6185dab6a2c9253c9adc /cmds-check.c
parent797a937e5dd8db0092add633a80f3cd698e182df (diff)
Btrfs-progs: only build space info's for the main flags
Hitting enospc problems with a really corrupt fs uncovered the fact that we match any flag in a block group when creating space info's. This is a problem if we have a raid level set, we'll end up with only one space info that covers metadata and data because they share a raid level. We don't want this, we want to separate out the data and metadata space infos, so mask off the raid level and only use the main flags. Thanks, Signed-off-by: Josef Bacik <jbacik@fb.com>
Diffstat (limited to 'cmds-check.c')
0 files changed, 0 insertions, 0 deletions