Skip to content
  • Jens Axboe's avatar
    block: reserve some tags just for sync IO · e3ba9ae5
    Jens Axboe authored
    
    
    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: default avatarJens Axboe <jens.axboe@oracle.com>
    e3ba9ae5