• J
    block: get rid of QUEUE_FLAG_REENTER · c21e6beb
    Jens Axboe 提交于
    We are currently using this flag to check whether it's safe
    to call into ->request_fn(). If it is set, we punt to kblockd.
    But we get a lot of false positives and excessive punts to
    kblockd, which hurts performance.
    
    The only real abuser of this infrastructure is SCSI. So export
    the async queue run and convert SCSI over to use that. There's
    room for improvement in that SCSI need not always use the async
    call, but this fixes our performance issue and they can fix that
    up in due time.
    Signed-off-by: NJens Axboe <jaxboe@fusionio.com>
    c21e6beb
scsi_lib.c 64.2 KB