Re: [PATCH] btrfs: accept zero for balance usage filter

2013-02-12 Thread Ilya Dryomov
On Mon, Feb 11, 2013 at 01:33:52PM +0100, David Sterba wrote: The condition can be relaxed to accept also 0 which will delete unoccupied chunks and does not need space for the actual data relocation. Until there is an automatic empty chunk reclaim, we can use this as a last resort option under

Re: [PATCH] btrfs: accept zero for balance usage filter

2013-02-12 Thread David Sterba
On Tue, Feb 12, 2013 at 06:36:17PM +0200, Ilya Dryomov wrote: Josef, please don't pull this one into btrfs-next, it's been deprecated by Btrfs: allow for selecting only completely empty chunks from me. David and I discussed this on IRC, he is OK with it. Ack. david -- To unsubscribe from this

[PATCH] btrfs: accept zero for balance usage filter

2013-02-11 Thread David Sterba
The condition can be relaxed to accept also 0 which will delete unoccupied chunks and does not need space for the actual data relocation. Until there is an automatic empty chunk reclaim, we can use this as a last resort option under enospc. CC: Ilya Dryomov idryo...@gmail.com Signed-off-by: David