Jianchao Wang bb94aea144 blk-mq: save default hctx into ctx->hctxs for not-supported type
Currently, we check whether the hctx type is supported every time
in hot path. Actually, this is not necessary, we could save the
default hctx into ctx->hctxs if the type is not supported when
map swqueues and use it directly with ctx->hctxs[type].

We also needn't check whether the poll is enabled or not, because
the caller would clear the REQ_HIPRI in that case.

Signed-off-by: Jianchao Wang <jianchao.w.wang@oracle.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2019-02-01 08:33:43 -07:00
..
2019-01-02 18:49:58 -08:00
2018-11-07 13:42:32 -07:00
2018-11-16 08:34:06 -07:00
2018-12-16 19:53:47 -07:00
2018-12-28 14:48:06 -08:00
2018-11-15 12:13:25 -07:00
2018-12-28 14:48:06 -08:00
2018-12-28 13:19:59 -08:00
2018-12-21 08:47:58 -07:00
2018-11-16 08:34:06 -07:00
2018-10-25 11:17:40 -06:00
2018-05-31 10:50:54 -04:00
2018-12-29 13:03:29 -08:00
2018-11-07 13:42:32 -07:00