Skip to content
Commit da775265 authored by Jens Axboe's avatar Jens Axboe
Browse files

[PATCH] cfq-iosched: don't allow sync merges across queues



Currently we allow any merge, even if the io originates from different
processes. This can cause really bad starvation and unfairness, if those
ios happen to be synchronous (reads or direct writes).

So add a allow_merge hook to the io scheduler ops, so an io scheduler can
help decide whether a bio/process combination may be merged with an
existing request.

Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
parent 8e5cfc45
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment