> 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).
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to firstname.lastname@example.org
Please read the FAQ at http://www.tux.org/lkml/