There is an other option.
The caching can still be done by the kernel buffers, but we could change
them a bit so there is a new style of write() which does the following:
start an asynchronous write of the data.
then we can do some more writes and check occasionally with a function
like is_it_written which returns immediately with 0 for this has been
written to disk or nonzero for this has not been written to disk.
If the application wants to force the writing later on it still can do
sync to force writing.
greetings
Ulrik De Bie
-
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