From: Eryu Guan <eguan@redhat.com>
To: "Darrick J. Wong" <darrick.wong@oracle.com>
Cc: Nikolay Borisov <nborisov@suse.com>,
linux-xfs@vger.kernel.org, fstests@vger.kernel.org,
sandeen@sandeen.net
Subject: Re: [PATCH v7] generic: initial fiemap range query test
Date: Wed, 6 Dec 2017 16:28:10 +0800 [thread overview]
Message-ID: <20171206082810.GS2749@eguan.usersys.redhat.com> (raw)
In-Reply-To: <20171205165127.GD19219@magnolia>
On Tue, Dec 05, 2017 at 08:51:27AM -0800, Darrick J. Wong wrote:
> On Tue, Dec 05, 2017 at 04:24:06PM +0800, Eryu Guan wrote:
> > On Thu, Nov 30, 2017 at 06:05:27PM +0200, Nikolay Borisov wrote:
> > > Fiemap gained support for passing in optional offset len
> > > which denote the range requested, so this patch adds
> > > testcases for this functionality. Aditionally, a special "ranged"
> > > argument is added to the require_xfs_io_command which checks
> > > for the presence of fiemap range support.
> > >
> > > Signed-off-by: Nikolay Borisov <nborisov@suse.com>
> > > ---
> > >
> > > For the time being this test is expected to fail on XFS.
> > >
> > > V7:
> > > * Adjusted for 64k block size filesystem
> > > * Only use/require a test device and not a scratch device
> >
> > v7 looks good to me, test passes on ppc64 hosts too, thanks!
> >
> > But it seems that it's not decided yet whether xfs should trim the
> > ranged fiemap query request, I'd like to see the expected behavior
> > decided first. (BTW, v7 passes with latest RHEL7 kernel too, seems
> > extents are not trimmed there.)
>
> The iomap callers need to tell iomap_apply if they want exactly the
> range they asked for and no more (most of the write paths) or if they
> can handle outside ranges (fiemap), and then we can turn on
> XFS_BMAPI_ENTIRE reporting in xfs_iomap_begin.
That means.. I can merge the test as-is?
Thanks,
Eryu
next prev parent reply other threads:[~2017-12-06 8:28 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-30 16:05 [PATCH v7] generic: initial fiemap range query test Nikolay Borisov
2017-12-05 8:24 ` Eryu Guan
2017-12-05 16:51 ` Darrick J. Wong
2017-12-06 8:28 ` Eryu Guan [this message]
2017-12-06 17:45 ` Darrick J. Wong
2017-12-06 20:51 ` Nikolay Borisov
2017-12-06 21:06 ` Darrick J. Wong
2017-12-06 21:57 ` Dave Chinner
2017-12-06 22:01 ` Eric Sandeen
2017-12-06 22:16 ` Dave Chinner
2017-12-06 22:22 ` Eric Sandeen
2017-12-06 22:46 ` Darrick J. Wong
2017-12-06 23:01 ` Eric Sandeen
2017-12-07 6:55 ` Nikolay Borisov
2017-12-15 8:33 ` Nikolay Borisov
2017-12-15 8:41 ` Eryu Guan
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=20171206082810.GS2749@eguan.usersys.redhat.com \
--to=eguan@redhat.com \
--cc=darrick.wong@oracle.com \
--cc=fstests@vger.kernel.org \
--cc=linux-xfs@vger.kernel.org \
--cc=nborisov@suse.com \
--cc=sandeen@sandeen.net \
/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;
as well as URLs for NNTP newsgroup(s).