summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/cm4000_cs.h
diff options
context:
space:
mode:
authorChangpeng Liu2018-11-01 23:40:35 +0100
committerMichael S. Tsirkin2018-12-20 00:23:49 +0100
commit1f23816b8eb8fdc39990abe166c10a18c16f6b21 (patch)
treea99e7e4494785aac1277f1848a9db07c443d4812 /include/uapi/linux/cm4000_cs.h
parentvirtio: fix test build after uio.h change (diff)
downloadkernel-qcow2-linux-1f23816b8eb8fdc39990abe166c10a18c16f6b21.tar.gz
kernel-qcow2-linux-1f23816b8eb8fdc39990abe166c10a18c16f6b21.tar.xz
kernel-qcow2-linux-1f23816b8eb8fdc39990abe166c10a18c16f6b21.zip
virtio_blk: add discard and write zeroes support
In commit 88c85538, "virtio-blk: add discard and write zeroes features to specification" (https://github.com/oasis-tcs/virtio-spec), the virtio block specification has been extended to add VIRTIO_BLK_T_DISCARD and VIRTIO_BLK_T_WRITE_ZEROES commands. This patch enables support for discard and write zeroes in the virtio-blk driver when the device advertises the corresponding features, VIRTIO_BLK_F_DISCARD and VIRTIO_BLK_F_WRITE_ZEROES. Signed-off-by: Changpeng Liu <changpeng.liu@intel.com> Signed-off-by: Daniel Verkamp <dverkamp@chromium.org> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'include/uapi/linux/cm4000_cs.h')
0 files changed, 0 insertions, 0 deletions