[PATCH 14/20] Btrfs: introduce option to rebalance only metadata

2011-11-28 Thread Alexandre Oliva
Experimental patch to be able to compact only the metadata after excessive block groups are created. 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. Signed-off-by: Alexandre Oliva ol...@lsd.ic.unicamp.br ---

Re: Introduce option to rebalance only metadata

2011-11-15 Thread Ilya Dryomov
On Thu, Nov 10, 2011 at 07:43:07PM +, 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

Re: Introduce option to rebalance only metadata

2011-11-15 Thread Ilya Dryomov
On Tue, Nov 15, 2011 at 11:40:04AM +0200, Ilya Dryomov wrote: On Thu, Nov 10, 2011 at 07:43:07PM +, 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

Re: Introduce option to rebalance only metadata

2011-11-15 Thread Alexandre Oliva
On Nov 15, 2011, Ilya Dryomov idryo...@gmail.com wrote: And the exact command to mimic your patch is btrfs fi restripe start -m mount point Thanks. I wasn't aware of the restripe patch when I wrote this Quick Hack (TM). -- Alexandre Oliva, freedom fighterhttp://FSFLA.org/~lxoliva/ You

Introduce option to rebalance only metadata

2011-11-10 Thread Alexandre Oliva
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

Re: Introduce option to rebalance only metadata

2011-11-10 Thread Hugo Mills
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.

Re: Introduce option to rebalance only metadata

2011-11-10 Thread Alexandre Oliva
On Nov 10, 2011, Alexandre Oliva ol...@lsd.ic.unicamp.br 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.