Re: [PATCH] Btrfs: do not do balance in readonly mode

2012-05-11 Thread Josef Bacik
On Fri, May 11, 2012 at 06:11:26PM +0800, Liu Bo wrote: > In normal cases, we would not be allowed to do balance in RO mode. > However, when we're using a seeding device and adding another device to > sprout, > things will change: > > $ mkfs.btrfs /dev/sdb7 > $ btrfstune -S 1 /dev/sdb7 > $ mount

[PATCH] Btrfs: do not do balance in readonly mode

2012-05-11 Thread Liu Bo
In normal cases, we would not be allowed to do balance in RO mode. However, when we're using a seeding device and adding another device to sprout, things will change: $ mkfs.btrfs /dev/sdb7 $ btrfstune -S 1 /dev/sdb7 $ mount /dev/sdb7 /mnt/btrfs -o ro $ btrfs fi bal /mnt/btrfs --