在 2022/3/11 下午11:28, Suwan Kim 写道:
diff --git a/include/uapi/linux/virtio_blk.h b/include/uapi/linux/virtio_blk.h
index d888f013d9ff..3fcaf937afe1 100644
--- a/include/uapi/linux/virtio_blk.h
+++ b/include/uapi/linux/virtio_blk.h
@@ -119,8 +119,9 @@ struct virtio_blk_config {
         * deallocation of one or more of the sectors.
         */
        __u8 write_zeroes_may_unmap;
+       __u8 unused1;
- __u8 unused1[3];
+       __virtio16 num_poll_queues;
  } __attribute__((packed));


This looks like a implementation specific (virtio-blk-pci) optimization, how about other implementation like vhost-user-blk?

Thanks

_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization

Reply via email to