From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Fri, 16 Feb 2001 16:20:42 -0200 (BRST) From: Marcelo Tosatti Subject: Re: page locking and error handling In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org Return-Path: To: Roman Zippel Cc: linux-mm@kvack.org List-ID: On Thu, 15 Feb 2001, Roman Zippel wrote: > Hi, > - 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/