From: Eryu Guan <eguan@redhat.com>
To: "Darrick J. Wong" <darrick.wong@oracle.com>
Cc: dedekind1@gmail.com, mfasheh@suse.de, fstests@vger.kernel.org,
xfs@oss.sgi.com, linux-btrfs@vger.kernel.org
Subject: Re: [PATCH] generic: test accurate shared extent reporting
Date: Fri, 5 Aug 2016 16:14:21 +0800 [thread overview]
Message-ID: <20160805081421.GX27776@eguan.usersys.redhat.com> (raw)
In-Reply-To: <20160805080212.GH25565@birch.djwong.org>
On Fri, Aug 05, 2016 at 01:02:12AM -0700, Darrick J. Wong wrote:
> On Fri, Aug 05, 2016 at 03:46:07PM +0800, Eryu Guan wrote:
> > On Fri, Aug 05, 2016 at 12:21:47AM -0700, Darrick J. Wong wrote:
> > > +_count_holes $testdir/file2
> > > +echo "file1 shared extents"
> > > +$XFS_IO_PROG -c 'fiemap -v' $testdir/file1 | awk '{print $5}' | grep '0x.*[2367aAbBfF]...$' -c
> >
> > Missing a command at the end?
>
> Nope, it echoes the number of shared extents (that's what that awk and grep
> globule does), which /should/ be exactly 2.
>
> (Unless I'm missing something?)
Ah, thanks! I saw "-c" at the end and thought it was part of xfs_io
command without looking at it carefully.
Thanks,
Eryu
next prev parent reply other threads:[~2016-08-05 8:14 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-05 7:21 [PATCH] generic: test accurate shared extent reporting Darrick J. Wong
2016-08-05 7:46 ` Eryu Guan
2016-08-05 8:02 ` Darrick J. Wong
2016-08-05 8:14 ` Eryu Guan [this message]
2016-08-05 8:02 ` [PATCH v2] " Darrick J. Wong
2016-08-11 17:46 ` Christoph Hellwig
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=20160805081421.GX27776@eguan.usersys.redhat.com \
--to=eguan@redhat.com \
--cc=darrick.wong@oracle.com \
--cc=dedekind1@gmail.com \
--cc=fstests@vger.kernel.org \
--cc=linux-btrfs@vger.kernel.org \
--cc=mfasheh@suse.de \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox