lkml.org 
[lkml]   [1999]   [Nov]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: Linux Buffer Cache Does Not Support Mirroring
Hi,

On Mon, 01 Nov 1999 15:53:07 -0700, "Jeff V. Merkey"
<jmerkey@timpanogas.com> said:

> As Linus puts it, they are "living in sin" rathe than incestuous. If
> you can show me some async I/O code, I'd love to see it and try to make
> this work.

Look at "brw_page" in fs/buffer.c. It creates new temporary
buffer_heads with which to do IO on a page, and submits them with the
"end_buffer_io_async" callback. That callback cleans up after the IOs
and wakes up any processes waiting on the page IO.

The buffer_heads are never in the buffer cache at any time.

--Stephen

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

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.131 / U:0.260 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site