All of lore.kernel.org
 help / color / mirror / Atom feed
From: Filipe David Manana <fdmanana@gmail.com>
To: Dave Chinner <david@fromorbit.com>
Cc: "linux-btrfs@vger.kernel.org" <linux-btrfs@vger.kernel.org>,
	"xfs@oss.sgi.com" <xfs@oss.sgi.com>
Subject: Re: [PATCH] xfstests: add regression test for btrfs incremental send
Date: Mon, 17 Feb 2014 01:36:02 +0000	[thread overview]
Message-ID: <CAL3q7H4JLbMS+JL4h4du60S1vKFtvceP-Mx-e=0v4nTBwjkATA@mail.gmail.com> (raw)
In-Reply-To: <20140217011929.GA13997@dastard>


[-- Attachment #1.1: Type: text/plain, Size: 2118 bytes --]

On Monday, February 17, 2014, Dave Chinner <david@fromorbit.com> wrote:

> On Mon, Feb 17, 2014 at 12:20:38AM +0000, Filipe David Borba Manana wrote:
> > Test for a btrfs incremental send issue where we end up sending a
> > wrong section of data from a file extent if the corresponding file
> > extent is compressed and the respective file extent item has a non
> > zero data offset.
> >
> > Fixed by the following linux kernel btrfs patch:
> >
> >    Btrfs: use right clone root offset for compressed extents
> >
> > Signed-off-by: Filipe David Borba Manana <fdmanana@gmail.com<javascript:;>
> >
> > ---
> >
> > V2: Made the test more reliable. Now it doesn't depend anymore of btrfs'
> >     hole punch implementation leaving hole file extent items when we
> punch
> >     beyond the file's current size.
> > V3: Filter xfs_io output and make less use of the run_check function, as
> >     suggested by Dave Chinner.
>
> Awesome. Thanks for the quick turn around.
>
> >  common/rc           |    5 +++
> >  tests/btrfs/040     |  119
> +++++++++++++++++++++++++++++++++++++++++++++++++++
> >  tests/btrfs/040.out |    9 ++++
> >  tests/btrfs/group   |    1 +
> >  4 files changed, 134 insertions(+)
> >  create mode 100755 tests/btrfs/040
> >  create mode 100644 tests/btrfs/040.out
> >
> > diff --git a/common/rc b/common/rc
> > index e91568b..27be009 100644
> > --- a/common/rc
> > +++ b/common/rc
> > @@ -2207,6 +2207,11 @@ run_check()
> >       "$@" >> $seqres.full 2>&1 || _fail "failed: '$@'"
> >  }
> >
> > +_run_btrfs_util_prog()
> > +{
> > +     run_check $BTRFS_UTIL_PROG $*
> > +}
>
> Can you do a cleanup of all the other btrfs tests that can use this?


Ok. I just did that for all the test cases not yet merged, as you probably
noticed already.
For the ones already in the repository, I'll see if I can do it soon this
coming week.

Thanks


>
> Cheers,
>
> Dave.
> --
> Dave Chinner
> david@fromorbit.com <javascript:;>
>


-- 
Filipe David Manana,

"Reasonable men adapt themselves to the world.
 Unreasonable men adapt the world to themselves.
 That's why all progress depends on unreasonable men."

[-- Attachment #1.2: Type: text/html, Size: 3036 bytes --]

[-- Attachment #2: Type: text/plain, Size: 121 bytes --]

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

  reply	other threads:[~2014-02-17  1:36 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-14 20:08 [PATCH] xfstests: add regression test for btrfs incremental send Filipe David Borba Manana
2014-02-14 20:08 ` Filipe David Borba Manana
2014-02-15 15:36 ` [PATCH v2] " Filipe David Borba Manana
2014-02-15 15:36   ` Filipe David Borba Manana
2014-02-16 23:08   ` Dave Chinner
2014-02-16 23:08     ` Dave Chinner
2014-02-16 23:43     ` Filipe David Manana
2014-02-16 23:43       ` Filipe David Manana
2014-02-17  1:17       ` Dave Chinner
2014-02-17  1:17         ` Dave Chinner
2014-02-17  1:32         ` [PATCH] " Filipe David Manana
2014-02-17  1:40         ` [PATCH v2] " Filipe David Manana
2014-02-17  1:40           ` Filipe David Manana
2014-02-17  0:20 ` [PATCH v3] " Filipe David Borba Manana
2014-02-17  0:20   ` Filipe David Borba Manana
2014-02-17  1:19   ` Dave Chinner
2014-02-17  1:19     ` Dave Chinner
2014-02-17  1:36     ` Filipe David Manana [this message]
2014-02-17  1:44       ` [PATCH] " Dave Chinner
2014-02-17  1:44         ` Dave Chinner
2014-02-17  1:42     ` [PATCH v3] " Filipe David Manana
2014-02-17  1:42       ` Filipe David Manana

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAL3q7H4JLbMS+JL4h4du60S1vKFtvceP-Mx-e=0v4nTBwjkATA@mail.gmail.com' \
    --to=fdmanana@gmail.com \
    --cc=david@fromorbit.com \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.