[PATCH v5] virtio_blk: add DISCARD and WRIET ZEROES commands support

2018-05-28 Thread Changpeng Liu
Existing virtio-blk protocol doesn't have DISCARD/WRITE ZEROES commands support, this will impact the performance when using SSD backend over file systems. Commit 88c85538 "virtio-blk: add discard and write zeroes features to specification"(see https://github.com/oasis-tcs/virtio-spec) extended

[PATCH v5] virtio_blk: add DISCARD and WRIET ZEROES commands support

2018-05-28 Thread Changpeng Liu
Existing virtio-blk protocol doesn't have DISCARD/WRITE ZEROES commands support, this will impact the performance when using SSD backend over file systems. Commit 88c85538 "virtio-blk: add discard and write zeroes features to specification"(see https://github.com/oasis-tcs/virtio-spec) extended