Source
970
970
/*
971
971
* When indirect descriptior is not supported, the I/O request
972
972
* will be split between multiple request in the ring.
973
973
* To avoid problems when sending the request, divide by
974
974
* 2 the depth of the queue.
975
975
*/
976
976
info->tag_set.queue_depth = BLK_RING_SIZE(info) / 2;
977
977
} else
978
978
info->tag_set.queue_depth = BLK_RING_SIZE(info);
979
979
info->tag_set.numa_node = NUMA_NO_NODE;
980
-
info->tag_set.flags = BLK_MQ_F_SHOULD_MERGE | BLK_MQ_F_SG_MERGE;
980
+
info->tag_set.flags = BLK_MQ_F_SHOULD_MERGE;
981
981
info->tag_set.cmd_size = sizeof(struct blkif_req);
982
982
info->tag_set.driver_data = info;
983
983
​
984
984
if (blk_mq_alloc_tag_set(&info->tag_set))
985
985
return -EINVAL;
986
986
rq = blk_mq_init_queue(&info->tag_set);
987
987
if (IS_ERR(rq)) {
988
988
blk_mq_free_tag_set(&info->tag_set);
989
989
return PTR_ERR(rq);
990
990
}