• J
    block: reserve some tags just for sync IO · e3ba9ae5
    Jens Axboe 提交于
    By only allowing async IO to consume 3/4 ths of the tag depth, we
    always have slots free to serve sync IO. This is important to avoid
    having writes fill the entire tag queue, thus starving reads.
    
    Original patch and idea from Linus Torvalds <torvalds@linux-foundation.org>
    Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
    e3ba9ae5
blk-tag.c 9.8 KB