REQ_POLLED
if ((bio->bi_opf & REQ_POLLED) &&
rq->cmd_flags & REQ_POLLED)
if (rq->bio && rq->bio->bi_opf & REQ_POLLED)
if ((bio->bi_opf & REQ_POLLED) && !blk_mq_can_poll(q)) {
if (bio->bi_opf & REQ_POLLED) {
bio->bi_opf &= ~REQ_POLLED;
if (opf & REQ_POLLED)
bio->bi_opf |= REQ_POLLED;
ci->submit_as_polled = !!(ci->bio->bi_opf & REQ_POLLED);
(bio->bi_opf & REQ_POLLED));
if (bio->bi_opf & REQ_POLLED) {
req->cmd_flags |= REQ_POLLED;
rq_flags |= REQ_POLLED;
bool polled = rq->cmd_flags & REQ_POLLED;
if (scsi_cmd_to_rq(cmd)->cmd_flags & REQ_POLLED)
bio->bi_opf |= REQ_POLLED;
bio->bi_opf &= ~REQ_POLLED;