On 5/29/19 6:28 AM, Hannes Reinecke wrote:
+       rq = blk_mq_alloc_request(shost->reserved_cmd_q,
+                                 REQ_OP_DRV_OUT | REQ_NOWAIT,
+                                 BLK_MQ_REQ_RESERVED);

Is your purpose to avoid that blk_mq_alloc_request() waits? If so, why do you want to avoid that?

The same comment as for patch 02/24 applies here: if you want to avoid that blk_mq_alloc_request() I think you need BLK_MQ_REQ_NOWAIT instead of REQ_NOWAIT.

Bart.

Reply via email to