• J
    [PATCH] cfq-iosched: don't allow sync merges across queues · da775265
    Jens Axboe 提交于
    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: NJens Axboe <jens.axboe@oracle.com>
    da775265
elevator.h 6.5 KB