Re: [PATCH v2] fstests: generic/018: expand "write backwards sync but contiguous" to test regression in btrfs

2015-08-18 Thread Liu Bo
Hi, Sorry for the late reply. On Fri, Aug 14, 2015 at 10:19:16AM -0500, Eric Sandeen wrote: > On 8/13/15 3:47 AM, Liu Bo wrote: > > Btrfs has a problem when defraging a file which has a large fragment'ed > > range, > > it'd leave the tail extent as a seperate extent instead of merging it with >

Re: [PATCH v2] fstests: generic/018: expand "write backwards sync but contiguous" to test regression in btrfs

2015-08-16 Thread Dave Chinner
On Fri, Aug 14, 2015 at 10:19:16AM -0500, Eric Sandeen wrote: > On 8/13/15 3:47 AM, Liu Bo wrote: > > Btrfs has a problem when defraging a file which has a large fragment'ed > > range, > > it'd leave the tail extent as a seperate extent instead of merging it with > > previous extents. > > > > Thi

Re: [PATCH v2] fstests: generic/018: expand "write backwards sync but contiguous" to test regression in btrfs

2015-08-14 Thread Eric Sandeen
On 8/13/15 3:47 AM, Liu Bo wrote: > Btrfs has a problem when defraging a file which has a large fragment'ed range, > it'd leave the tail extent as a seperate extent instead of merging it with > previous extents. > > This makes generic/018 recognize the above regression. Sorry for the late review,

Re: [PATCH v2] fstests: generic/018: expand "write backwards sync but contiguous" to test regression in btrfs

2015-08-13 Thread Filipe David Manana
On Thu, Aug 13, 2015 at 10:43 AM, Filipe David Manana wrote: > On Thu, Aug 13, 2015 at 9:47 AM, Liu Bo wrote: >> Btrfs has a problem when defraging a file which has a large fragment'ed >> range, >> it'd leave the tail extent as a seperate extent instead of merging it with >> previous extents. >>

Re: [PATCH v2] fstests: generic/018: expand "write backwards sync but contiguous" to test regression in btrfs

2015-08-13 Thread Filipe David Manana
On Thu, Aug 13, 2015 at 9:47 AM, Liu Bo wrote: > Btrfs has a problem when defraging a file which has a large fragment'ed range, > it'd leave the tail extent as a seperate extent instead of merging it with > previous extents. > > This makes generic/018 recognize the above regression. > > Meanwhile,

[PATCH v2] fstests: generic/018: expand "write backwards sync but contiguous" to test regression in btrfs

2015-08-13 Thread Liu Bo
Btrfs has a problem when defraging a file which has a large fragment'ed range, it'd leave the tail extent as a seperate extent instead of merging it with previous extents. This makes generic/018 recognize the above regression. Meanwhile, I find that in the case of 'write backwards sync but contig