Re: Can O_SYNC be implemented by using fsync?

From: Dan Kegel (dank@alumni.caltech.edu)
Date: Thu May 18 2000 - 11:00:44 EST


"Stephen C. Tweedie" wrote:
> > Is there anything inefficient about a worker thread sequentially
> > using write() to a raw device on a bunch of areas in page order?
> > For instance, the 'wait for write completion' prevents me from
> > issuing the next write, and might lead to some noticable amount
> > of idle time on the disk.
>
> Absolutely. That's why we are working on async raw I/O APIs --- that
> way you can submit multiple writes at once, allowing the driver to
> coalesce them and pipeline them, while maintaining all of the cache
> and synchronisation guarantees of raw I/O.

Ooh, baby. That sounds lovely.
The API you're working on is the standard aio_write(), though, isn't it?
Or does that not fit the requirements?
- Dan

-- 
Entia non sunt multiplicanda praeter necessitatem.

- 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 : Tue May 23 2000 - 21:00:15 EST