Re: fcntl(2) and other file systems like XFS

From: Stephen C. Tweedie (sct@redhat.com)
Date: Tue Mar 21 2000 - 17:10:39 EST


Hi,

On Tue, Mar 21, 2000 at 02:25:34PM -0500, Jeff Garzik wrote:
> > permitted on O_NONE file handles.
>
> On a similar subject, how feasible is it to implement O_DIRECT?

For block devices, it is easy --- I've already done it (it was part of
a previous raw IO patch which never made it into the mainstream). For
regular files, it will be part of the 2.5 kiobuf infrastructure: I've
already been talking with Ingo about how to do it so that it plays
cleanly with the page cache.

--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.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Mar 23 2000 - 21:00:34 EST