> OK so virtio_blk_config->max_discard_seg is unused without
> VIRTIO_BLK_F_DISCARD.


Yes, if I understood the spec correctly,
virtio_blk_config->max_discard_seg is relevant if VIRTIO_BLK_F_DISCARD
is negotiated, and virtio_blk_config->max_secure_erase_seg is relevant
if VIRTIO_BLK_F_SECURE_ERASE is negotiated.

What should I do?
Should I fix the patch?
_______________________________________________
Virtualization mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/virtualization

Reply via email to