On Thu, 2 Oct 2008 21:22:23 +0200
Jens Axboe <jens.axboe@oracle.com> wrote:
This change will cause _all_ kjournald writeout to have elevated
priority. The majority of that writeout (in data=ordered mode) is file
data, which we didn't intend to change.
The risk here is that this will *worsen* latency for plain old read(),
because now kjournald writeout will be favoured.
There is in fact a good argument for _reducing_ kjournald's IO
priority, not increasing it!
A better approach might be to mark the relevant buffers/bios as needing
higher priority at submit_bh() time (if that's possible). At least
that way we don't accidentally elevate the priority of the bulk data.
It's a bit of a hack, sorry :(
--