> > Bdflush is obsolete. You should adapt kflushd (the
> > in-kernel bdflush) instead...
>
> Bdflush is not obsolete. Kflushd will only flush buffers to disk if
> you are very low on memory. You still need something that flushes old
> buffers to disk.
Hmm, you seem to be right indeed :( Upon reading the
code I saw, much to my dismay, that bdflush doesn't
write out dirty buffers all by itself (unless I skipped
a vital part of code :)...
I guess this means I'll have to recode bdflush then,
in order to write out the sutff that needs to be
written out...
It's quite easy, since buffers can have a certain age
and all we need to do is to set the wake_up time to
now + buffer_write_time IF the last wakeup time was
earlier than now OR the last wakeup time is larger
than now + buffer_write_time. (wow, it's even jiffie-wrap
safe :)
Rik.
+-------------------------------------------------------------------+
| Linux memory management tour guide. H.H.vanRiel@phys.uu.nl |
| Scouting Vries cubscout leader. http://www.phys.uu.nl/~riel/ |
+-------------------------------------------------------------------+
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu