[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: page locking and error handling
On Thu, 15 Feb 2001, Roman Zippel wrote:
> Hi,
<snip>
> - page locking has to happen completely at the higher layer and keeping
> multiple pages locked would require something like 1).
> - this would allow to pass multiple pages at once to the mapping
> mechanism, as we can easily link several pages together. This
> actually is all what is needed/wanted for streaming and no need for a
> heavyweight kiobuf.
At commit_write(), the buffers of the pages which are being writen are
only marked dirty and not necessarily queued to IO. commit_write() will
start writting older dirty buffers with flush_dirty_buffers() if the
system is over a watermark of dirty data, which _may_ write dirty buffers
from the current write() syscall. (O_SYNC is another story..)
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/