From: Christoph Hellwig <hch@infradead.org>
To: Trond Myklebust <trond.myklebust@fys.uio.no>
Cc: Badari Pulavarty <pbadari@us.ibm.com>, linux-nfs@vger.kernel.org
Subject: Re: [RFC][PATCH] Vector read/write support for NFS (DIO) client
Date: Fri, 15 Apr 2011 13:33:17 -0400 [thread overview]
Message-ID: <20110415173317.GA21468@infradead.org> (raw)
In-Reply-To: <1302623369.4801.28.camel@lade.trondhjem.org>
On Tue, Apr 12, 2011 at 11:49:29AM -0400, Trond Myklebust wrote:
> Your approach goes in the direction of further special-casing O_DIRECT
> in the NFS client. I'd like to move away from that and towards
> integration with the ordinary read/write codepaths so that aside from
> adding request coalescing, we can also enable pNFS support.
What is the exact plan? Split the direct I/O into two passes, one
to lock down the user pages and then a second one to send the pages
over the wire, which is shared with the writeback code? If that's
the case it should naturally allow plugging in a scheme like Badari
to send pages from different iovecs in a single on the wire request -
after all page cache pages are non-continuous in virtual and physical
memory, too.
When do you plan to release your read/write code re-write? If it's
not anytime soon how is applying Badari's patch going to hurt? Most
of it probably will get reverted with a complete rewrite, but at least
the logic to check which direct I/O iovecs can coalesced would stay
in the new world order.
next prev parent reply other threads:[~2011-04-15 17:33 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-12 15:32 [RFC][PATCH] Vector read/write support for NFS (DIO) client Badari Pulavarty
2011-04-12 15:36 ` Chuck Lever
2011-04-12 16:15 ` Badari Pulavarty
2011-04-12 16:42 ` Chuck Lever
2011-04-12 17:46 ` Badari Pulavarty
2011-04-13 12:36 ` Jeff Layton
2011-04-13 13:43 ` Badari Pulavarty
2011-04-13 14:02 ` Jeff Layton
2011-04-13 14:22 ` Trond Myklebust
2011-04-13 14:27 ` Andy Adamson
2011-04-13 17:20 ` Jeff Layton
2011-04-13 17:35 ` Trond Myklebust
2011-04-13 17:56 ` Andy Adamson
2011-04-13 18:14 ` Trond Myklebust
2011-04-13 18:47 ` Chuck Lever
2011-04-13 19:04 ` Jeff Layton
2011-04-14 0:21 ` Dean
2011-04-14 0:42 ` Trond Myklebust
2011-04-14 6:39 ` Dean
2011-04-12 15:49 ` Trond Myklebust
[not found] ` <1302623369.4801.28.camel-SyLVLa/KEI9HwK5hSS5vWB2eb7JE58TQ@public.gmane.org>
2011-04-12 16:17 ` Badari Pulavarty
2011-04-12 16:26 ` Trond Myklebust
2011-04-15 17:33 ` Christoph Hellwig [this message]
2011-04-15 18:00 ` Trond Myklebust
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=20110415173317.GA21468@infradead.org \
--to=hch@infradead.org \
--cc=linux-nfs@vger.kernel.org \
--cc=pbadari@us.ibm.com \
--cc=trond.myklebust@fys.uio.no \
/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).