lkml.org 
[lkml]   [2001]   [May]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: DVD blockdevice buffers
Hi,

On Sat, May 19, 2001 at 07:36:07PM -0700, Linus Torvalds wrote:

> Right now we don't try to aggressively drop streaming pages, but it's
> possible. Using raw devices is a silly work-around that should not be
> needed, and this load shows a real problem in current Linux (one soon to
> be fixed, I think - Andrea already has some experimental patches for the
> page-cache thing).

Right. I'd like to see buffered IO able to work well --- apart from
the VM issues, it's the easiest way to allow the application to take
advantage of readahead. However, there's one sticking point we
encountered, which is applications which write to block devices in
units smaller than a page. Small block writes get magically
transformed into read/modify/write cycles if you shift the block
devices into the page cache.

Of course, we could just say "then don't do that" and be done with it
--- after all, we already have this behaviour when writing to regular
files.

--Stephen
-
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/

\
 
 \ /
  Last update: 2005-03-22 12:53    [W:0.056 / U:14.056 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site