• Jens Axboe's avatar
    block: improve queue_should_plug() by looking at IO depths · fb1e7538
    Jens Axboe authored
    Instead of just checking whether this device uses block layer
    tagging, we can improve the detection by looking at the maximum
    queue depth it has reached. If that crosses 4, then deem it a
    queuing device.
    
    This is important on high IOPS devices, since plugging hurts
    the performance there (it can be as much as 10-15% of the sys
    time).
    Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
    fb1e7538
blk-core.c 66.9 KB