Re: [PATCH] generic/224: Increase filesystem instance size to 1.5 GiB

2015-09-21 Thread Chandan Rajendra
On Friday 11 Sep 2015 09:38:43 Qu Wenruo wrote: Qu, Sorry for the late response. My email client's filtering had broken and hence I did not see your response until now. > Hi Chandan, > > Although the reply may be a little late, but I think it's still better > to fix the bug in mkfs.btrfs. > >

Re: [PATCH] generic/224: Increase filesystem instance size to 1.5 GiB

2015-09-10 Thread Qu Wenruo
Chandan Rajendra wrote on 2015/09/01 08:03 +0530: On Monday 31 Aug 2015 22:15:10 Theodore Ts'o wrote: On Tue, Sep 01, 2015 at 05:49:14AM +0530, Chandan Rajendra wrote: mkfs.btrfs when invoked on small filesystems by "not" specifying any block sizes (i.e. mkfs.btrfs -f /dev/sda1) will

Re: [PATCH] generic/224: Increase filesystem instance size to 1.5 GiB

2015-08-31 Thread Theodore Ts'o
On Tue, Sep 01, 2015 at 05:49:14AM +0530, Chandan Rajendra wrote: > mkfs.btrfs when invoked on small filesystems by "not" specifying any block > sizes (i.e. mkfs.btrfs -f /dev/sda1) will automatically create filesystem > instance with "data block size" == "metadata block size". However in the >

Re: [PATCH] generic/224: Increase filesystem instance size to 1.5 GiB

2015-08-31 Thread Chandan Rajendra
On Monday 31 Aug 2015 22:15:10 Theodore Ts'o wrote: > On Tue, Sep 01, 2015 at 05:49:14AM +0530, Chandan Rajendra wrote: > > mkfs.btrfs when invoked on small filesystems by "not" specifying any block > > sizes (i.e. mkfs.btrfs -f /dev/sda1) will automatically create filesystem > > instance with

Re: [PATCH] generic/224: Increase filesystem instance size to 1.5 GiB

2015-08-31 Thread Theodore Ts'o
On Sun, Aug 30, 2015 at 08:16:21PM +0530, Chandan Rajendra wrote: > For small filesystem instances (i.e. size <= 1 GiB), mkfs.btrfs fails when > "data block size" does not match with the "metadata block size" specified on > the mkfs.btrfs command line. This commit increases the size of filesystem

Re: [PATCH] generic/224: Increase filesystem instance size to 1.5 GiB

2015-08-31 Thread Austin S Hemmelgarn
On 2015-08-31 14:11, Theodore Ts'o wrote: On Sun, Aug 30, 2015 at 08:16:21PM +0530, Chandan Rajendra wrote: For small filesystem instances (i.e. size <= 1 GiB), mkfs.btrfs fails when "data block size" does not match with the "metadata block size" specified on the mkfs.btrfs command line. This

Re: [PATCH] generic/224: Increase filesystem instance size to 1.5 GiB

2015-08-31 Thread Theodore Ts'o
On Mon, Aug 31, 2015 at 03:19:22PM -0400, Austin S Hemmelgarn wrote: > AFAIK, it shouldn't be failing that way, and should automatically switch to > mixed mode allocation. A 1G filesystem should work fine for BTRFS, but > smaller ones will have higher chances of ENOSPC issues (inversely >

Re: [PATCH] generic/224: Increase filesystem instance size to 1.5 GiB

2015-08-31 Thread Chandan Rajendra
On Monday 31 Aug 2015 14:11:27 Theodore Ts'o wrote: > On Sun, Aug 30, 2015 at 08:16:21PM +0530, Chandan Rajendra wrote: > > For small filesystem instances (i.e. size <= 1 GiB), mkfs.btrfs fails when > > "data block size" does not match with the "metadata block size" specified > > on the mkfs.btrfs

Re: [PATCH] generic/224: Increase filesystem instance size to 1.5 GiB

2015-08-31 Thread Chandan Rajendra
On Tuesday 01 Sep 2015 05:49:14 Chandan Rajendra wrote: > On Monday 31 Aug 2015 14:11:27 Theodore Ts'o wrote: > > On Sun, Aug 30, 2015 at 08:16:21PM +0530, Chandan Rajendra wrote: > > > For small filesystem instances (i.e. size <= 1 GiB), mkfs.btrfs fails > > > when > > > "data block size" does

[PATCH] generic/224: Increase filesystem instance size to 1.5 GiB

2015-08-30 Thread Chandan Rajendra
For small filesystem instances (i.e. size = 1 GiB), mkfs.btrfs fails when data block size does not match with the metadata block size specified on the mkfs.btrfs command line. This commit increases the size of filesystem instance created so that the test can be executed on subpagesize-blocksize