Skip to content
Commit c21e6beb authored by Jens Axboe's avatar Jens Axboe
Browse files

block: get rid of QUEUE_FLAG_REENTER



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>
parent 5f45c695
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment