This is one of my peeves - we should really start the IO once we've filled
up "X nr" of full buffers. But I've always been too lazy to do it.
I don't think doing it in the write routine like your patch does it is the
right way of doing it, though: it should probably be done by
mark_buffer_dirty().
In fact we _do_ have support for it there already (in "refile_buffer()" to
be exact, and we have this "too_many dirty blocks - wake up bdflush"
thing, but it should be more aggressive I think.
Linus
-
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/