linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jamie Lokier <jamie@shareable.org>
To: Shaya Potter <spotter@cs.columbia.edu>
Cc: linux-fsdevel@vger.kernel.org
Subject: Re: sys_poll/do_poll/f_op->poll
Date: Thu, 2 Mar 2006 08:09:30 +0000	[thread overview]
Message-ID: <20060302080930.GA20193@mail.shareable.org> (raw)
In-Reply-To: <1141283803.17264.32.camel@localhost.localdomain>

Shaya Potter wrote:
> am I missing something or do none of the in kernel file system use this
> code (and would therefore sys_poll() not work on them?)

sys_poll() is _required_ by tradition and standards
to return (at least) POLLIN | POLLOUT | POLLRDNORM | POLLWRNORM
for regular files.

That's why there are no poll operations for files in any filesystem.

-- Jamie

  reply	other threads:[~2006-03-02  8:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-02  7:16 sys_poll/do_poll/f_op->poll Shaya Potter
2006-03-02  8:09 ` Jamie Lokier [this message]
2006-03-02  8:47   ` sys_poll/do_poll/f_op->poll Shaya Potter

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=20060302080930.GA20193@mail.shareable.org \
    --to=jamie@shareable.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=spotter@cs.columbia.edu \
    /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).