Re: O_DIRECT fails in some kernel and FS

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Mon Feb 04 2002 - 10:46:20 EST


> If an application is multithreaded and is doing mmap and direct I/O
> from different threads without doing its own synchronization, then it
> is broken, there is no ordering guarantee provided by the kernel as
> to what happens first.

Providing we don't allow asynchronous I/O with O_DIRECT once asynchronous
I/O is merged.

Alan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Feb 07 2002 - 21:00:34 EST