Re: [patch 0/2] Control filesystem balances (userspace)

2010-10-30 Thread Goffredo Baroncelli
On Saturday, 30 October, 2010, Hugo Mills wrote:
These two patches complement the previous two kernel-side
 patches. The first implements a way of displaying the current progress
 of any running balance process. The second patch allows a running
 balance to be cancelled.
 
I'm a bit uncertain about the best name for these commands. Several
 options:
 
[...]
 
 4)
 btrfs balance progress path
 btrfs balance cancel path
 
My current favourite, although we introduce a new namespace
 (balance) for commands. We could add btrfs balance start path as
 a synonym for btrfs filesystem balance path, for some degree of
 consistency.

I like this.

Regards
G.Baroncelli
 
At some point, I'll add a monitor function, which will poll at 1s
 intervals for progress updates, and print out progress when it changes.
 
Hugo.
 
 -- 
 === Hugo Mills: h...@... carfax.org.uk | darksatanic.net | lug.org.uk ===
   PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
--- No!  My collection of rare, incurable diseases! Violated! ---   
 
 --
 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
 


-- 
gpg key@ keyserver.linux.it: Goffredo Baroncelli (ghigo) kreij...@inwind.it
Key fingerprint = 4769 7E51 5293 D36C 814E  C054 BF04 F161 3DC5 0512
--
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


[patch 0/2] Control filesystem balances (userspace)

2010-10-29 Thread Hugo Mills
   These two patches complement the previous two kernel-side
patches. The first implements a way of displaying the current progress
of any running balance process. The second patch allows a running
balance to be cancelled.

   I'm a bit uncertain about the best name for these commands. Several
options:

1)
# btrfs filesystem progress path
# btrfs filesystem cancel path

   Way too vague (cancel *what*?)


2)
# btrfs filesystem balance-progress path
# btrfs filesystem balance-cancel path

   Clashes horribly with filesystem balance -- no abbreviations
possible.


3)
btrfs filesystem balance -p path
btrfs filesystem balance -c path

   Changes behaviour significantly on a switch, in contrast to the
behaviour of the rest of the btrfs tool.


4)
btrfs balance progress path
btrfs balance cancel path

   My current favourite, although we introduce a new namespace
(balance) for commands. We could add btrfs balance start path as
a synonym for btrfs filesystem balance path, for some degree of
consistency.

   At some point, I'll add a monitor function, which will poll at 1s
intervals for progress updates, and print out progress when it changes.

   Hugo.

-- 
=== Hugo Mills: h...@... carfax.org.uk | darksatanic.net | lug.org.uk ===
  PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
   --- No!  My collection of rare, incurable diseases! Violated! ---   

--
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