Skip to content
  • Jens Axboe's avatar
    block: get rid of QUEUE_FLAG_REENTER · c21e6beb
    Jens Axboe authored
    
    
    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: default avatarJens Axboe <jaxboe@fusionio.com>
    c21e6beb