From: "J. Bruce Fields" <bfields@fieldses.org>
To: Christoph Hellwig <hch@infradead.org>
Cc: Chuck Lever <chuck.lever@oracle.com>,
linux-rdma@vger.kernel.org,
Linux NFS Mailing List <linux-nfs@vger.kernel.org>
Subject: Re: [PATCH v2 19/19] sunrpc: Disable splice for krb5i
Date: Tue, 20 Jun 2017 15:28:08 -0400 [thread overview]
Message-ID: <20170620192808.GC13008@fieldses.org> (raw)
In-Reply-To: <20170620192449.GB13008@fieldses.org>
On Tue, Jun 20, 2017 at 03:24:49PM -0400, J. Bruce Fields wrote:
> On Sun, Jun 18, 2017 at 12:34:38AM -0700, Christoph Hellwig wrote:
> > On Sat, Jun 17, 2017 at 01:23:24PM -0400, Chuck Lever wrote:
> > >
> > > > On Jun 17, 2017, at 11:07 AM, Christoph Hellwig <hch@infradead.org> wrote:
> > > >
> > > > On Fri, Jun 16, 2017 at 11:22:54AM -0400, Chuck Lever wrote:
> > > >> Running a multi-threaded 8KB fio test (70/30 mix), three or four out
> > > >> of twelve of the jobs fail when using krb5i. The failure is an EIO
> > > >> on a read.
> > > >
> > > > Just curious: what is the backing fs that you tested with? I'd be
> > > > curious if you see this on XFS for example.
> > >
> > > I was able to reproduce this with a tmpfs share and
> > > with an XFS share on NVMe LUNs.
> >
> > Interesting. XFS actually locks out all writes while doing a buffered
> > read, so we end up with two different read instance for the hash vs
> > the data, which does indeed sound dangerous.
>
> In the bad case Chuck was seeing, we were going through
> splice_direct_to_actor(), is that a buffered read for the purposes of
> the above statement?
But, even if xfs is holding a lock across that splice operation, nfsd is
still left holding references to the pages, and they'll be checksumed
and transmitted some time later, so I don't see how xfs has much control
over the problem.
--b.
WARNING: multiple messages have this Message-ID (diff)
From: "J. Bruce Fields" <bfields-uC3wQj2KruNg9hUCZPvPmw@public.gmane.org>
To: Christoph Hellwig <hch-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
Cc: Chuck Lever <chuck.lever-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>,
linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Linux NFS Mailing List
<linux-nfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: [PATCH v2 19/19] sunrpc: Disable splice for krb5i
Date: Tue, 20 Jun 2017 15:28:08 -0400 [thread overview]
Message-ID: <20170620192808.GC13008@fieldses.org> (raw)
In-Reply-To: <20170620192449.GB13008-uC3wQj2KruNg9hUCZPvPmw@public.gmane.org>
On Tue, Jun 20, 2017 at 03:24:49PM -0400, J. Bruce Fields wrote:
> On Sun, Jun 18, 2017 at 12:34:38AM -0700, Christoph Hellwig wrote:
> > On Sat, Jun 17, 2017 at 01:23:24PM -0400, Chuck Lever wrote:
> > >
> > > > On Jun 17, 2017, at 11:07 AM, Christoph Hellwig <hch-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org> wrote:
> > > >
> > > > On Fri, Jun 16, 2017 at 11:22:54AM -0400, Chuck Lever wrote:
> > > >> Running a multi-threaded 8KB fio test (70/30 mix), three or four out
> > > >> of twelve of the jobs fail when using krb5i. The failure is an EIO
> > > >> on a read.
> > > >
> > > > Just curious: what is the backing fs that you tested with? I'd be
> > > > curious if you see this on XFS for example.
> > >
> > > I was able to reproduce this with a tmpfs share and
> > > with an XFS share on NVMe LUNs.
> >
> > Interesting. XFS actually locks out all writes while doing a buffered
> > read, so we end up with two different read instance for the hash vs
> > the data, which does indeed sound dangerous.
>
> In the bad case Chuck was seeing, we were going through
> splice_direct_to_actor(), is that a buffered read for the purposes of
> the above statement?
But, even if xfs is holding a lock across that splice operation, nfsd is
still left holding references to the pages, and they'll be checksumed
and transmitted some time later, so I don't see how xfs has much control
over the problem.
--b.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2017-06-20 19:28 UTC|newest]
Thread overview: 68+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-16 15:20 [PATCH v2 00/19] Server-side NFS/RDMA changes proposed for v4.13 Chuck Lever
2017-06-16 15:20 ` Chuck Lever
2017-06-16 15:20 ` [PATCH v2 01/19] ib_core: Enable and expose force_mr module parameter Chuck Lever
2017-06-16 15:20 ` Chuck Lever
2017-06-16 15:20 ` [PATCH v2 02/19] svcrdma: Squelch disconnection messages Chuck Lever
2017-06-16 15:20 ` Chuck Lever
2017-06-16 15:20 ` [PATCH v2 03/19] svcrdma: Avoid Send Queue overflow Chuck Lever
2017-06-16 15:20 ` Chuck Lever
2017-06-16 15:20 ` [PATCH v2 04/19] svcrdma: Remove svc_rdma_marshal.c Chuck Lever
2017-06-16 15:20 ` Chuck Lever
2017-06-16 15:21 ` [PATCH v2 05/19] svcrdma: Improve Read chunk sanity checking Chuck Lever
2017-06-16 15:21 ` Chuck Lever
2017-06-16 15:21 ` [PATCH v2 06/19] svcrdma: Improve Write " Chuck Lever
2017-06-16 15:21 ` Chuck Lever
2017-06-16 15:21 ` [PATCH v2 07/19] svcrdma: Improve Reply " Chuck Lever
2017-06-16 15:21 ` Chuck Lever
2017-06-16 15:21 ` [PATCH v2 08/19] svcrdma: Don't account for Receive queue "starvation" Chuck Lever
2017-06-16 15:21 ` Chuck Lever
2017-06-16 15:21 ` [PATCH v2 09/19] sunrpc: Allocate one more page per svc_rqst Chuck Lever
2017-06-16 15:21 ` Chuck Lever
2017-06-16 15:21 ` [PATCH v2 10/19] svcrdma: Add recvfrom helpers to svc_rdma_rw.c Chuck Lever
2017-06-16 15:21 ` Chuck Lever
2017-06-16 15:21 ` [PATCH v2 11/19] svcrdma: Use generic RDMA R/W API in RPC Call path Chuck Lever
2017-06-16 15:21 ` Chuck Lever
2017-06-16 15:21 ` [PATCH v2 12/19] svcrdma: Properly compute .len and .buflen for received RPC Calls Chuck Lever
2017-06-16 15:21 ` Chuck Lever
2017-06-16 15:22 ` [PATCH v2 13/19] svcrdma: Remove unused Read completion handlers Chuck Lever
2017-06-16 15:22 ` Chuck Lever
2017-06-16 15:22 ` [PATCH v2 14/19] svcrdma: Remove frmr cache Chuck Lever
2017-06-16 15:22 ` Chuck Lever
2017-06-16 15:22 ` [PATCH v2 15/19] svcrdma: Clean-up svc_rdma_unmap_dma Chuck Lever
2017-06-16 15:22 ` Chuck Lever
2017-06-16 15:22 ` [PATCH v2 16/19] svcrdma: Clean up after converting svc_rdma_recvfrom to rdma_rw API Chuck Lever
2017-06-16 15:22 ` Chuck Lever
2017-06-16 15:22 ` [PATCH v2 17/19] svcrdma: use offset_in_page() macro Chuck Lever
2017-06-16 15:22 ` Chuck Lever
2017-06-16 15:22 ` [PATCH v2 18/19] svcrdma: Remove svc_rdma_chunk_ctxt::cc_dir field Chuck Lever
2017-06-16 15:22 ` Chuck Lever
2017-06-16 15:22 ` [PATCH v2 19/19] sunrpc: Disable splice for krb5i Chuck Lever
2017-06-16 15:22 ` Chuck Lever
2017-06-16 17:52 ` J. Bruce Fields
2017-06-16 17:52 ` J. Bruce Fields
2017-06-16 18:37 ` Chuck Lever
2017-06-16 18:37 ` Chuck Lever
2017-06-16 18:42 ` J. Bruce Fields
2017-06-16 18:42 ` J. Bruce Fields
2017-06-16 18:44 ` Chuck Lever
2017-06-16 18:44 ` Chuck Lever
2017-06-17 10:01 ` Jeff Layton
2017-06-17 10:01 ` Jeff Layton
2017-06-20 19:41 ` J. Bruce Fields
2017-06-20 19:41 ` J. Bruce Fields
2017-06-17 15:07 ` Christoph Hellwig
2017-06-17 15:07 ` Christoph Hellwig
2017-06-17 17:23 ` Chuck Lever
2017-06-17 17:23 ` Chuck Lever
2017-06-18 7:34 ` Christoph Hellwig
2017-06-18 7:34 ` Christoph Hellwig
2017-06-19 15:22 ` Chuck Lever
2017-06-19 15:22 ` Chuck Lever
2017-06-19 15:30 ` Christoph Hellwig
2017-06-19 15:30 ` Christoph Hellwig
2017-06-22 17:13 ` Jeff Layton
2017-06-22 17:13 ` Jeff Layton
2017-06-20 19:24 ` J. Bruce Fields
2017-06-20 19:24 ` J. Bruce Fields
2017-06-20 19:28 ` J. Bruce Fields [this message]
2017-06-20 19:28 ` J. Bruce Fields
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=20170620192808.GC13008@fieldses.org \
--to=bfields@fieldses.org \
--cc=chuck.lever@oracle.com \
--cc=hch@infradead.org \
--cc=linux-nfs@vger.kernel.org \
--cc=linux-rdma@vger.kernel.org \
/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.