Re: [PATCH 3/6] fstests: regression test for btrfs dio read repair

2017-05-16 Thread Liu Bo
On Tue, May 16, 2017 at 11:48:46AM -0600, Liu Bo wrote: > On Wed, May 10, 2017 at 06:53:26PM +0800, Eryu Guan wrote: > > On Tue, May 09, 2017 at 11:56:08AM -0600, Liu Bo wrote: [...] > > > + > > > +# step 3, 128k dio read (this read can repair bad copy) > > > +echo "step 3..repair the bad

Re: [PATCH 3/6] fstests: regression test for btrfs dio read repair

2017-05-16 Thread Liu Bo
On Wed, May 10, 2017 at 06:53:26PM +0800, Eryu Guan wrote: > On Tue, May 09, 2017 at 11:56:08AM -0600, Liu Bo wrote: > > This case tests whether dio read can repair the bad copy if we have > > a good copy. > > > > Commit 2dabb3248453 ("Btrfs: Direct I/O read: Work on sectorsized blocks") > >

Re: [PATCH 3/6] fstests: regression test for btrfs dio read repair

2017-05-10 Thread Eryu Guan
On Tue, May 09, 2017 at 11:56:08AM -0600, Liu Bo wrote: > This case tests whether dio read can repair the bad copy if we have > a good copy. > > Commit 2dabb3248453 ("Btrfs: Direct I/O read: Work on sectorsized blocks") > introduced the regression. > > The upstream fix is > Btrfs: fix

[PATCH 3/6] fstests: regression test for btrfs dio read repair

2017-05-09 Thread Liu Bo
This case tests whether dio read can repair the bad copy if we have a good copy. Commit 2dabb3248453 ("Btrfs: Direct I/O read: Work on sectorsized blocks") introduced the regression. The upstream fix is Btrfs: fix invalid dereference in btrfs_retry_endio Signed-off-by: Liu Bo