OSDN Git Service

blk-mq: kill preempt disable/enable in blk_mq_work_fn()
authorJens Axboe <axboe@fb.com>
Wed, 16 Apr 2014 16:38:35 +0000 (10:38 -0600)
committerJens Axboe <axboe@fb.com>
Wed, 16 Apr 2014 20:15:24 +0000 (14:15 -0600)
commit6700a678c02e47b6d50c51da2a46ff80efedb8c7
tree6a3bed7a3f012c54ca099d5e7198d4b223cdd3db
parentfd1270d5df6a005e1248e87042159a799cc4b2c9
blk-mq: kill preempt disable/enable in blk_mq_work_fn()

blk_mq_work_fn() is always invoked off the bounded workqueues,
so it can happily preempt among the queues in that set without
causing any issues for blk-mq.

Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-mq.c