lkml.org 
[lkml]   [1999]   [Dec]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Small fix in buffer cache
> >  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/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.036 / U:1.776 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site