lkml.org 
[lkml]   [1999]   [Dec]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: b_end_io
On Fri, 3 Dec 1999, Peter T. Breuer wrote:

> There's an end_buffer_io_async too .. Sigh. What I want is to commit a
> buffer to a certain target area without discarding the buffer. Then I
> want to retarget the buffer in a different (or the same buffer_head)
> and commit it again. "The same" buffer_head would be nice.

brw_page uses end_buffer_io_async. You can implement your own replacement
for end_buffer_io_async that instead of freeing the async buffer heads and
unlocking the page, it passes the page onto a kernel thread that then
relocates and writes the page out to its final location (since you can't
sleep in your b_end_io helper).

-ben


-
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:55    [W:0.854 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site