From: Ilya Dryomov Date: Tue, 12 Feb 2013 16:28:59 +0000 (+0000) Subject: Btrfs: allow for selecting only completely empty chunks X-Git-Tag: v3.9-rc1~17^2~29^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e39cea61c4ecb5774c08f3e30507fdd58c1cca9;p=pandora-kernel.git Btrfs: allow for selecting only completely empty chunks Enhance balance usage filter by making it possible to balance out only completely empty chunks. Today, usage filter properly acts on values from 1 to 99 inclusive, usage=100 selects all chunks, and usage=0 selects no chunks. This commit changes the usage=0 case: the new meaning is to restripe only completely empty chunks and nothing else. Suggested-by: David Sterba Signed-off-by: Ilya Dryomov Signed-off-by: Josef Bacik --- Reading git-diff-tree failed