[PATCH V2 5/8] Btrfs: self-tests: Support testing all possible sectorsizes and nodesizes

2016-06-01 Thread Feifei Xu
To test all possible sectorsizes, this commit adds a sectorsize array. This commit executes the tests for all possible sectorsizes and nodesizes. Signed-off-by: Chandan Rajendra Signed-off-by: Feifei Xu --- fs/btrfs/super.c | 54

Re: [PATCH V2 5/8] Btrfs: self-tests: Support testing all possible sectorsizes and nodesizes

2016-06-01 Thread David Sterba
On Wed, Jun 01, 2016 at 02:21:18PM +0200, David Sterba wrote: > > static int btrfs_run_sanity_tests(void) > > { > > - int ret; > > + int ret, i; > > u32 sectorsize, nodesize; > > - > > - sectorsize = PAGE_SIZE; > > - nodesize = PAGE_SIZE; > > This does not seem to apply to any

Re: [PATCH V2 5/8] Btrfs: self-tests: Support testing all possible sectorsizes and nodesizes

2016-06-01 Thread David Sterba
On Wed, Jun 01, 2016 at 07:18:27PM +0800, Feifei Xu wrote: > To test all possible sectorsizes, this commit adds a sectorsize > array. This commit executes the tests for all possible sectorsizes and > nodesizes. > > Signed-off-by: Chandan Rajendra > Signed-off-by:

[PATCH V2 5/8] Btrfs: self-tests: Support testing all possible sectorsizes and nodesizes

2016-06-01 Thread Feifei Xu
To test all possible sectorsizes, this commit adds a sectorsize array. This commit executes the tests for all possible sectorsizes and nodesizes. Signed-off-by: Chandan Rajendra Signed-off-by: Feifei Xu --- fs/btrfs/super.c | 54