From: Jamie Lokier <jamie@shareable.org>
To: Christoph Hellwig <hch@infradead.org>
Cc: linux-fsdevel@vger.kernel.org
Subject: Re: O_NONBLOCK for regular files
Date: Thu, 18 Mar 2004 12:05:49 +0000 [thread overview]
Message-ID: <20040318120549.GC29382@mail.shareable.org> (raw)
In-Reply-To: <20040318083628.A25565@infradead.org>
Christoph Hellwig wrote:
> It's used to to allow the HSM support code in XFS (not in the
> kernel.org code due to the horrible design, just in the oss.sgi.com
> tree) to return EAGAIN to the nfs server so it doesn't block all
> nfsd threads on possible long-enduring HSM operations.
How does nfsd get notified when the operation is possible? Does
poll() work?
If poll works that implies a system call returning EAGAIN triggers at
least some part of the HSM operation (whichever part is slow) in the
background -- in which case, isn't the existing AIO interface more
appropriate?
-- Jamie
next prev parent reply other threads:[~2004-03-18 12:06 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-18 8:36 O_NONBLOCK for regular files Christoph Hellwig
2004-03-18 8:42 ` viro
2004-03-18 8:45 ` Christoph Hellwig
2004-03-18 10:48 ` Stephen Rothwell
2004-03-18 12:05 ` Jamie Lokier [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-03-20 9:24 Greg Banks
2005-04-13 0:45 ` Greg Banks
2005-04-13 5:56 ` Trond Myklebust
2005-04-13 6:03 ` Greg Banks
2005-04-13 6:31 ` Trond Myklebust
2005-04-13 7:06 ` Greg Banks
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=20040318120549.GC29382@mail.shareable.org \
--to=jamie@shareable.org \
--cc=hch@infradead.org \
--cc=linux-fsdevel@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.