lkml.org 
[lkml]   [2001]   [Apr]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: NWFS broken on 2.4.3 -- someone removed WRITERAW
On Mon, Apr 23 2001, Jeff V. Merkey wrote:
>
>
> Hey guys,
>
> Whomever removed WRITERAW has broken NWFS. WRITE requests call
> _refile_buffer() after the I/O request and take my locally created
> buffer heads and munge them back into the linux buffer cache, causing
> massive memory corruption in the system. These buffers don't belong
> in Linus' buffer cache, they are owned by my LRU and ll_rw_block
> should not be blindly filing them back into the buffer cache.
>
> Please put something back in to allow me to write without the buffer
> heads always getting filed into Linus' buffer cache. This has
> broken NWFS on 2.4.3 and above.

bh->b_end_io = my_end_io_handler;
submit_bh(WRITE, bh);

Be a happy camper.

--
Jens Axboe

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