Re: [PATCH v3] virtio_blk: add SECURE ERASE command support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> What I worry about is that down the road we might want to add
> special meaning to currently unused values.
> If doing that just clears VIRTIO_BLK_F_SECURE_ERASE then
> we have forward compatibility. If it fails probe then we
> won't be able to do use these values.


They are not exactly unused, we are using them to calculate the
"discard sector alignment" and the "max discard sectors" values.
The values are even used directly if VIRTIO_BLK_F_DISCARD is not negotiated.
_______________________________________________
Virtualization mailing list
Virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linuxfoundation.org/mailman/listinfo/virtualization



[Index of Archives]     [KVM Development]     [Libvirt Development]     [Libvirt Users]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux