On Tue, Nov 15, 2011 at 11:40:04AM +0200, Ilya Dryomov wrote:
> On Thu, Nov 10, 2011 at 07:43:07PM +0000, Hugo Mills wrote:
> > On Thu, Nov 10, 2011 at 05:40:56PM -0200, Alexandre Oliva wrote:
> > > Experimental patch to be able to compact only the metadata after
> > > clustered allocation allocated lots of unnecessary metadata block
> > > groups.  It's also useful to measure performance differences between
> > > -o cluster and -o nocluster.
> > > 
> > > I guess it should be implemented as a balance option rather than a
> > > separate ioctl, but this was good enough for me to try it.
> > 
> >    This should be covered by the restriper work. (And was also covered
> > by my balance-management patches, which were superseded by restriper).
> 
> Hugo is right, this is covered by restriper (both kernel and userspace
> sides).  The exact command would be
> 
> btrfs fi restripe start -mconvert=PROFILE <mount point>

And the exact command to mimic your patch is

btrfs fi restripe start -m <mount point>

It simply balances metadata, whereas the one in the previous mail would
convert it to a specified profile.

Thanks,

                Ilya
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to