Re: VFS/fcntl() feature [PATCH]

Stephen C. Tweedie (sct@redhat.com)
Fri, 28 Aug 1998 20:04:03 +0100


Hi,

On Fri, 28 Aug 1998 17:12:58 +0000, Rene Janssen <reney@plex.nl> said:

>> May I suggest that instead of a completely new API, you consider
>> extending the existing FASYNC and poll() functionality to cover regular
>> files and directories?

> Possible maybe, but its not clear to me yet how FASYNC SIGIO fits in
> here.

fcntl (FASYNC and F_SETOWN) define the normal Unix mechanism by which
we request a SIGIO wakeup on fd activity. The behaviour is only
defined for pipes, ttys, sockets and similar blocking file types. The
SIGIO mechanism is simply not implemented for regular files or
directories, but there's nothing to stop us from adding support for
modification callbacks using this interface on non-blocking files.

--Stephen

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html