linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Hellwig Christoph <hch@infradead.org>
To: "Myklebust, Trond" <Trond.Myklebust@netapp.com>
Cc: Hellwig Christoph <hch@infradead.org>,
	"Schumaker, Bryan" <Bryan.Schumaker@netapp.com>,
	Mailing List Linux NFS <linux-nfs@vger.kernel.org>
Subject: Re: [PATCH 2/3] NFS: Allow for asynchronous WRITE_PLUS calls
Date: Tue, 29 Oct 2013 05:48:36 -0700	[thread overview]
Message-ID: <20131029124836.GA13482@infradead.org> (raw)
In-Reply-To: <BF996CAD-1032-4434-A538-B678D047884B@netapp.com>

On Tue, Oct 29, 2013 at 12:44:50PM +0000, Myklebust, Trond wrote:
> It exists because the server vendors were worried that operations such as preallocation and/or hole punching can take a more or less unbounded amount of time due to the 64-bit size. By using an (optional) callback method, the server can free up the RPC slot that would otherwise be kept waiting in the synchronous case.

Must be some horried filesystems on those vendors servers.  Both
operations should be O(nr_extents), where nr_extents should be extremely
low for the preallocation and still reasonably low for hole punches,
although users control the allocastion pattern.

There's a reason why these aren't aio operations locally either.


  reply	other threads:[~2013-10-29 12:48 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-28 15:00 [PATCH 0/3] NFS: Add support for fallocate and llseek Anna Schumaker
2013-10-28 15:00 ` [PATCH 1/3] NFS: Use WRITE_PLUS for hole punches Anna Schumaker
2013-10-29  7:39   ` Christoph Hellwig
2013-10-29 12:41     ` Anna Schumaker
2013-11-05  9:37   ` Christoph Hellwig
2013-10-28 15:00 ` [PATCH 2/3] NFS: Allow for asynchronous WRITE_PLUS calls Anna Schumaker
2013-10-29  7:39   ` Christoph Hellwig
2013-10-29 12:44     ` Myklebust, Trond
2013-10-29 12:48       ` Hellwig Christoph [this message]
2013-10-29 13:05         ` Myklebust, Trond
2013-10-29 13:08           ` Hellwig Christoph
2013-10-29 13:21             ` Myklebust, Trond
2013-10-29 13:24               ` Hellwig Christoph
2013-10-29 13:41                 ` Myklebust, Trond
2013-10-29 13:44                 ` J. Bruce Fields
2013-10-28 15:00 ` [PATCH 3/3] NFS: Implement SEEK Anna Schumaker

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=20131029124836.GA13482@infradead.org \
    --to=hch@infradead.org \
    --cc=Bryan.Schumaker@netapp.com \
    --cc=Trond.Myklebust@netapp.com \
    --cc=linux-nfs@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 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).