Re: [PATCH 5/7] btrfs-progs: volumes: Allow find_free_dev_extent() to return maximum hole size

2018-02-02 Thread Nikolay Borisov
On 2.02.2018 13:49, Qu Wenruo wrote: > > > On 2018年02月02日 19:41, Nikolay Borisov wrote: >> >> >> On 2.02.2018 10:19, Qu Wenruo wrote: >>> Just as kernel find_free_dev_extent(), allow it to return maximum hole >>> size for us to build device list for later chunk allocator rework. >>> >>>

Re: [PATCH 5/7] btrfs-progs: volumes: Allow find_free_dev_extent() to return maximum hole size

2018-02-02 Thread Qu Wenruo
On 2018年02月02日 19:41, Nikolay Borisov wrote: > > > On 2.02.2018 10:19, Qu Wenruo wrote: >> Just as kernel find_free_dev_extent(), allow it to return maximum hole >> size for us to build device list for later chunk allocator rework. >> >> Signed-off-by: Qu Wenruo >> --- >>

Re: [PATCH 5/7] btrfs-progs: volumes: Allow find_free_dev_extent() to return maximum hole size

2018-02-02 Thread Nikolay Borisov
On 2.02.2018 10:19, Qu Wenruo wrote: > Just as kernel find_free_dev_extent(), allow it to return maximum hole > size for us to build device list for later chunk allocator rework. > > Signed-off-by: Qu Wenruo > --- > volumes.c | 6 +++--- > 1 file changed, 3 insertions(+), 3

[PATCH 5/7] btrfs-progs: volumes: Allow find_free_dev_extent() to return maximum hole size

2018-02-02 Thread Qu Wenruo
Just as kernel find_free_dev_extent(), allow it to return maximum hole size for us to build device list for later chunk allocator rework. Signed-off-by: Qu Wenruo --- volumes.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/volumes.c b/volumes.c index