summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2019-06-11 14:31:01 +0200
committerDavid Sterba <dsterba@suse.com>2019-07-02 12:30:48 +0200
commit6d58a55a894e8632a6153e5b98792e7bdda13be8 (patch)
tree26def269ba0b6c73bd1233d09394d7e85db641d7 /block
parent00801ae4bb2be5f5af46502ef239ac5f4b536094 (diff)
downloadlinux-6d58a55a894e8632a6153e5b98792e7bdda13be8.tar.gz
linux-6d58a55a894e8632a6153e5b98792e7bdda13be8.tar.bz2
linux-6d58a55a894e8632a6153e5b98792e7bdda13be8.zip
btrfs: raid56: clear incompat block group flags after removing the last one
The incompat bit for RAID56 is set either at mount time or automatically when the profile is used by balance. The part where the bit is removed is missing and can be unexpected or undesired when an older kernel is needed. This patch will drop the incompat bit after this command, assuming that RAID5 profile is not used by system or metadata: $ btrfs balance start -dconvert=raid5 /mnt $ btrfs balance start -dconvert=raid1 /mnt This will print "clearing 128 feature flag" to the system log. The patch is safe for backporting to older kernels. Reported-by: Hugo Mills <hugo@carfax.org.uk> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions