On Monday, January 08, 2001 10:47:41 AM -0500 Alexander Viro <[EMAIL PROTECTED]> wrote: > + do { > + if (buffer_mapped(bh)) { > + bh->b_end_io = end_buffer_io_async; > + atomic_inc(&bh->b_count); > + set_bit(BH_Uptodate, &bh->b_state); > + set_bit(BH_Dirty, &bh->b_state); ^^^^^^^ Sorry, missed this the first time I read it. We need to clear the dirty bit before sending to submit_bh, otherwise it stays dirty until try_to_free_buffers writes it again. > + submit_bh(WRITE, bh); > + } > + bh = bh->b_this_page; > + } while (bh != head); -chris - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
- Re: ramfs problem... (unlink o... Stefan Traby
- Re: ramfs problem... (unlink o... Alexander Viro
- Re: ramfs problem... (unlink o... Stefan Traby
- Re: ramfs problem... (unlink o... Alexander Viro
- Re: ramfs problem... (unlink o... Stefan Traby
- Re: ramfs problem... (unlink o... Marc Lehmann
- Re: ramfs problem... (unlink o... Alexander Viro
- Re: ramfs problem... (unlink o... Alexander Viro
- Re: ramfs problem... (unlink o... Chris Mason
- Re: ramfs problem... (unlink o... Alexander Viro
- Re: ramfs problem... (unlink o... Chris Mason
- Re: ramfs problem... (unlink o... Alexander Viro
- Re: ramfs problem... (unlink o... Alan Cox
- Re: ramfs problem... (unlink o... Andreas Dilger
- Re: ramfs problem... (unlink o... Alexander Viro
- Re: ramfs problem... (unlink o... Andreas Dilger
- Re: ramfs problem... (unlink o... David Woodhouse
- Re: ramfs problem... (unlink of sparse file in "D&q... Alan Cox
- Re: ramfs problem... (unlink of sparse file in &quo... Eric W. Biederman
- Re: ramfs problem... (unlink of sparse file in ... Alan Cox
- Re: ramfs problem... (unlink of sparse file... Eric W. Biederman