Re: Small fix in buffer cache

Jan Kara (jack@suse.cz)
Sun, 5 Dec 1999 16:43:42 +0100


> > I've found a small bug in create_buffers(). When buffer is created it
> >is not attached to any list. The patch simply does refile_buffer() on
>
> It's not a bug. You don't need them attached to any list. You attach the
> buffer to a list only when you made it dirty and so you want
> kupdate/kflushd to sync it back to disk eventually.
I know that it doesn't break anything when buffer is not attached but
I think it's cleaner to have those buffers attached...

Honza.

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