Re: [PATCH] Btrfs-progs: add feature to get mininum size for resizing a fs/device

2015-06-30 Thread David Sterba
On Mon, Jun 29, 2015 at 05:15:12PM +0100, Filipe Manana wrote: On Mon, Jun 29, 2015 at 4:42 PM, David Sterba dste...@suse.cz wrote: On Wed, Jun 17, 2015 at 12:44:55PM +0100, fdman...@kernel.org wrote: The test fails after I do this before unmount: $SUDO_HELPER $TOP/btrfs balance start

Re: [PATCH] Btrfs-progs: add feature to get mininum size for resizing a fs/device

2015-06-30 Thread Filipe Manana
On Tue, Jun 30, 2015 at 4:14 PM, David Sterba dste...@suse.cz wrote: On Mon, Jun 29, 2015 at 05:15:12PM +0100, Filipe Manana wrote: On Mon, Jun 29, 2015 at 4:42 PM, David Sterba dste...@suse.cz wrote: On Wed, Jun 17, 2015 at 12:44:55PM +0100, fdman...@kernel.org wrote: The test fails after I

Re: [PATCH] Btrfs-progs: add feature to get mininum size for resizing a fs/device

2015-06-29 Thread David Sterba
On Wed, Jun 17, 2015 at 12:44:55PM +0100, fdman...@kernel.org wrote: Currently there is not way for a user to know what is the minimum size a device of a btrfs filesystem can be resized to. Sometimes the value of total allocated space (sum of all allocated chunks/device extents), which can be

Re: [PATCH] Btrfs-progs: add feature to get mininum size for resizing a fs/device

2015-06-29 Thread Filipe Manana
On Mon, Jun 29, 2015 at 4:42 PM, David Sterba dste...@suse.cz wrote: On Wed, Jun 17, 2015 at 12:44:55PM +0100, fdman...@kernel.org wrote: Currently there is not way for a user to know what is the minimum size a device of a btrfs filesystem can be resized to. Sometimes the value of total

[PATCH] Btrfs-progs: add feature to get mininum size for resizing a fs/device

2015-06-17 Thread fdmanana
From: Filipe Manana fdman...@suse.com Currently there is not way for a user to know what is the minimum size a device of a btrfs filesystem can be resized to. Sometimes the value of total allocated space (sum of all allocated chunks/device extents), which can be parsed from 'btrfs filesystem