We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf9be4d commit 0e14a26Copy full SHA for 0e14a26
drivers/block/virtio_blk.c
@@ -626,7 +626,7 @@ static int virtblk_probe(struct virtio_device *vdev)
626
vblk->tag_set.ops = &virtio_mq_ops;
627
vblk->tag_set.queue_depth = virtblk_queue_depth;
628
vblk->tag_set.numa_node = NUMA_NO_NODE;
629
- vblk->tag_set.flags = BLK_MQ_F_SHOULD_MERGE;
+ vblk->tag_set.flags = BLK_MQ_F_SHOULD_MERGE | BLK_MQ_F_SG_MERGE;
630
vblk->tag_set.cmd_size =
631
sizeof(struct virtblk_req) +
632
sizeof(struct scatterlist) * sg_elems;
0 commit comments