[PATCH] generic/017: skip invalid block sizes for btrfs

2014-06-23 Thread Filipe David Borba Manana
In btrfs the block size (called sector size in btrfs) can not be smaller then the page size. Therefore skip block sizes smaller then page size if the fs is btrfs, so that the test can succeed on btrfs (testing only with block sizes of 4kb on systems with a page size of 4Kb). Signed-off-by: Filipe

Re: [PATCH] generic/017: skip invalid block sizes for btrfs

2014-06-23 Thread Satoru Takeuchi
Hi Filipe, (2014/06/23 19:28), Filipe David Borba Manana wrote: In btrfs the block size (called sector size in btrfs) can not be smaller then the page size. Therefore skip block sizes smaller then page size if the fs is btrfs, so that the test can succeed on btrfs (testing only with block

Re: [PATCH] generic/017: skip invalid block sizes for btrfs

2014-06-23 Thread Filipe David Manana
On Mon, Jun 23, 2014 at 11:48 AM, Satoru Takeuchi takeuchi_sat...@jp.fujitsu.com wrote: Hi Filipe, (2014/06/23 19:28), Filipe David Borba Manana wrote: In btrfs the block size (called sector size in btrfs) can not be smaller then the page size. Therefore skip block sizes smaller then page

Re: [PATCH] generic/017: skip invalid block sizes for btrfs

2014-06-23 Thread Satoru Takeuchi
Hi Filipe, (2014/06/23 19:55), Filipe David Manana wrote: On Mon, Jun 23, 2014 at 11:48 AM, Satoru Takeuchi takeuchi_sat...@jp.fujitsu.com wrote: Hi Filipe, (2014/06/23 19:28), Filipe David Borba Manana wrote: In btrfs the block size (called sector size in btrfs) can not be smaller then the

Re: [PATCH] generic/017: skip invalid block sizes for btrfs

2014-06-23 Thread Brendan Hide
Not subscribed to fstests so not sure if this will reach that mailing list... I feel Takeuchi's instincts are right, even if the analysis *may* be wrong. As is it looks like there should be a btrfs) selector inside the case. On 23/06/14 12:48, Satoru Takeuchi wrote: Hi Filipe, (2014/06/23

Re: [PATCH] generic/017: skip invalid block sizes for btrfs

2014-06-23 Thread Lukáš Czerner
On Mon, 23 Jun 2014, Filipe David Borba Manana wrote: Date: Mon, 23 Jun 2014 11:28:00 +0100 From: Filipe David Borba Manana fdman...@gmail.com To: fste...@vger.kernel.org Cc: linux-btrfs@vger.kernel.org, Filipe David Borba Manana fdman...@gmail.com Subject: [PATCH] generic/017: skip

Re: [PATCH] generic/017: skip invalid block sizes for btrfs

2014-06-23 Thread Lukáš Czerner
On Mon, 23 Jun 2014, Lukáš Czerner wrote: Date: Mon, 23 Jun 2014 14:35:50 +0200 (CEST) From: Lukáš Czerner lczer...@redhat.com To: Filipe David Borba Manana fdman...@gmail.com Cc: fste...@vger.kernel.org, linux-btrfs@vger.kernel.org Subject: Re: [PATCH] generic/017: skip invalid block sizes

Re: [PATCH] generic/017: skip invalid block sizes for btrfs

2014-06-23 Thread Filipe David Manana
@vger.kernel.org Subject: Re: [PATCH] generic/017: skip invalid block sizes for btrfs On Mon, 23 Jun 2014, Filipe David Borba Manana wrote: Date: Mon, 23 Jun 2014 11:28:00 +0100 From: Filipe David Borba Manana fdman...@gmail.com To: fste...@vger.kernel.org Cc: linux-btrfs@vger.kernel.org

Re: [PATCH] generic/017: skip invalid block sizes for btrfs

2014-06-23 Thread Zach Brown
On Mon, Jun 23, 2014 at 11:28:00AM +0100, Filipe David Borba Manana wrote: In btrfs the block size (called sector size in btrfs) can not be smaller then the page size. Nor larger. commit 8d082fb727ac11930ea20bf1612e334ea7c2b697 Author: Liu Bo liubo2...@cn.fujitsu.com Date: Tue Apr 3 09:56:53

Re: [PATCH] generic/017: skip invalid block sizes for btrfs

2014-06-23 Thread Dave Chinner
@vger.kernel.org Subject: Re: [PATCH] generic/017: skip invalid block sizes for btrfs On Mon, 23 Jun 2014, Filipe David Borba Manana wrote: Date: Mon, 23 Jun 2014 11:28:00 +0100 From: Filipe David Borba Manana fdman...@gmail.com To: fste...@vger.kernel.org Cc: linux-btrfs

Re: [PATCH] generic/017: skip invalid block sizes for btrfs

2014-06-23 Thread Roman Mamedov
On Mon, 23 Jun 2014 11:28:00 +0100 Filipe David Borba Manana fdman...@gmail.com wrote: In btrfs the block size (called sector size in btrfs) can not be smaller then the page size. Just in case anyone misses this, there is some work to address this limitation:

Re: [PATCH] generic/017: skip invalid block sizes for btrfs

2014-06-23 Thread Lukáš Czerner
Cc: fste...@vger.kernel.org, linux-btrfs@vger.kernel.org Subject: Re: [PATCH] generic/017: skip invalid block sizes for btrfs On Mon, 23 Jun 2014, Filipe David Borba Manana wrote: Date: Mon, 23 Jun 2014 11:28:00 +0100 From: Filipe David Borba Manana fdman...@gmail.com