Re: [PATCH] btrfs-progs: tests: test mkfs.btrfs fails on small backing size thin provision device

2018-04-11 Thread Su Yue
On 04/11/2018 11:41 PM, David Sterba wrote: On Wed, Apr 11, 2018 at 03:03:30PM +0800, Su Yue wrote: This tests is most similar to xfstests generic/405. It calls device mapper to create a thin provision device with small backing size and big virtual size. mkfs.btrfs should fail on such

Re: [PATCH] btrfs-progs: tests: test mkfs.btrfs fails on small backing size thin provision device

2018-04-11 Thread David Sterba
On Wed, Apr 11, 2018 at 03:03:30PM +0800, Su Yue wrote: > This tests is most similar to xfstests generic/405. > It calls device mapper to create a thin provision device with small > backing size and big virtual size. mkfs.btrfs should fail on such > devices. > > This test should pass after commit

Re: [PATCH] btrfs-progs: tests: test mkfs.btrfs fails on small backing size thin provision device

2018-04-11 Thread David Sterba
On Wed, Apr 11, 2018 at 03:47:35PM +0800, Qu Wenruo wrote: > What about using lvm other than plain dmsetup to create thin provision > devices? > IIRC this should be much easier to implement, without all the linear > target hassles. > >>> > >>> Yes, doing it by LVM is more

Re: [PATCH] btrfs-progs: tests: test mkfs.btrfs fails on small backing size thin provision device

2018-04-11 Thread Qu Wenruo
On 2018年04月11日 15:37, Nikolay Borisov wrote: > > > On 11.04.2018 10:29, Qu Wenruo wrote: >> >> >> On 2018年04月11日 15:28, Su Yue wrote: >>> >>> >>> On 04/11/2018 03:05 PM, Qu Wenruo wrote: On 2018年04月11日 15:03, Su Yue wrote: > This tests is most similar to xfstests

Re: [PATCH] btrfs-progs: tests: test mkfs.btrfs fails on small backing size thin provision device

2018-04-11 Thread Nikolay Borisov
On 11.04.2018 10:29, Qu Wenruo wrote: > > > On 2018年04月11日 15:28, Su Yue wrote: >> >> >> On 04/11/2018 03:05 PM, Qu Wenruo wrote: >>> >>> >>> On 2018年04月11日 15:03, Su Yue wrote: This tests is most similar to xfstests generic/405. It calls device mapper to create a thin provision

Re: [PATCH] btrfs-progs: tests: test mkfs.btrfs fails on small backing size thin provision device

2018-04-11 Thread Qu Wenruo
On 2018年04月11日 15:28, Su Yue wrote: > > > On 04/11/2018 03:05 PM, Qu Wenruo wrote: >> >> >> On 2018年04月11日 15:03, Su Yue wrote: >>> This tests is most similar to xfstests generic/405. >>> It calls device mapper to create a thin provision device with small >>> backing size and big virtual size.

Re: [PATCH] btrfs-progs: tests: test mkfs.btrfs fails on small backing size thin provision device

2018-04-11 Thread Su Yue
On 04/11/2018 03:05 PM, Qu Wenruo wrote: On 2018年04月11日 15:03, Su Yue wrote: This tests is most similar to xfstests generic/405. It calls device mapper to create a thin provision device with small backing size and big virtual size. mkfs.btrfs should fail on such devices. This test should

Re: [PATCH] btrfs-progs: tests: test mkfs.btrfs fails on small backing size thin provision device

2018-04-11 Thread Qu Wenruo
On 2018年04月11日 15:03, Su Yue wrote: > This tests is most similar to xfstests generic/405. > It calls device mapper to create a thin provision device with small > backing size and big virtual size. mkfs.btrfs should fail on such > devices. > > This test should pass after commit e805b143a4fe >