Re: [PATCH 2/3] btrfs-progs: test: expand size of test device of fsck-tests 013

2016-11-20 Thread Tsutomu Itoh
Hi, Qu and David, On 2016/11/19 3:28, David Sterba wrote: > On Fri, Nov 18, 2016 at 02:36:28PM +0800, Qu Wenruo wrote: >> >> >> On 11/18/2016 01:47 PM, Tsutomu Itoh wrote: >>> In my test environment, size of /lib/modules/`uname -r`/* is >>> larger than 1GB, so test data can not copy to testdev.

Re: [PATCH 2/3] btrfs-progs: test: expand size of test device of fsck-tests 013

2016-11-18 Thread David Sterba
On Fri, Nov 18, 2016 at 02:36:28PM +0800, Qu Wenruo wrote: > > > On 11/18/2016 01:47 PM, Tsutomu Itoh wrote: > > In my test environment, size of /lib/modules/`uname -r`/* is > > larger than 1GB, so test data can not copy to testdev. > > Therefore we need expand the size of testdev. > > IMHO the

Re: [PATCH 2/3] btrfs-progs: test: expand size of test device of fsck-tests 013

2016-11-17 Thread Qu Wenruo
On 11/18/2016 01:47 PM, Tsutomu Itoh wrote: In my test environment, size of /lib/modules/`uname -r`/* is larger than 1GB, so test data can not copy to testdev. Therefore we need expand the size of testdev. IMHO the correct fix is to enhance populate_fs() to fill the fs into a given size,

[PATCH 2/3] btrfs-progs: test: expand size of test device of fsck-tests 013

2016-11-17 Thread Tsutomu Itoh
In my test environment, size of /lib/modules/`uname -r`/* is larger than 1GB, so test data can not copy to testdev. Therefore we need expand the size of testdev. # make test-fsck [TEST] fsck-tests.sh [TEST/fsck] 013-extent-tree-rebuild failed: cp -aR /lib/modules/4.9.0-rc5/