Linux-BTRFS Archive on
 help / color / Atom feed
From: Hugo Mills <>
Subject: [patch 0/2] Control filesystem balances (userspace)
Date: Sat, 30 Oct 2010 01:10:22 +0100
Message-ID: <> (raw)

   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

# btrfs filesystem progress <path>
# btrfs filesystem cancel <path>

   Way too vague (cancel *what*?)

# btrfs filesystem balance-progress <path>
# btrfs filesystem balance-cancel <path>

   Clashes horribly with "filesystem balance" -- no abbreviations

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.

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

   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 Mills: hugo@... | | ===
  PGP key: 515C238D from or
   --- "No!  My collection of rare, incurable diseases! Violated!" ---   

             reply index

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-30  0:10 Hugo Mills [this message]
2010-10-30  0:10 ` [patch 1/2] Balance progress monitoring Hugo Mills
2010-10-30  0:10 ` [patch 2/2] User-space tool for cancelling balance operations Hugo Mills
2010-10-30  0:30 ` [patch 0/2] Control filesystem balances (userspace) Jérôme Poulin
2010-10-30 17:49 ` Goffredo Baroncelli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Linux-BTRFS Archive on

Archives are clonable:
	git clone --mirror linux-btrfs/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-btrfs linux-btrfs/ \
	public-inbox-index linux-btrfs

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone