Re: [PATCH v9] virtio_blk: add discard and write zeroes support

2018-12-05 Thread Michael S. Tsirkin
ovember 2, 2018 12:18 PM > > To: Daniel Verkamp > > Cc: virtualization@lists.linux-foundation.org; linux-bl...@vger.kernel.org; > > Michael S. Tsirkin ; Jason Wang ; > > Jens Axboe ; Paolo Bonzini ; > > Christoph Hellwig ; Liu, Changpeng > > > > Subjec

RE: [PATCH v9] virtio_blk: add discard and write zeroes support

2018-12-05 Thread Liu, Changpeng
vger.kernel.org; > Michael S. Tsirkin ; Jason Wang ; > Jens Axboe ; Paolo Bonzini ; > Christoph Hellwig ; Liu, Changpeng > > Subject: Re: [PATCH v9] virtio_blk: add discard and write zeroes support > > On Thu, Nov 01, 2018 at 03:40:35PM -0700, Daniel Verkamp wrote: > > From:

Re: [PATCH v9] virtio_blk: add discard and write zeroes support

2018-11-03 Thread Daniel Verkamp
Hi Dongli, Unfortunately, I am not aware of any in-progress implementation of this feature for qemu. It hopefully should not be too difficult to wire up in the qemu virtio-blk model, but I haven't looked into it in detail. Thanks, -- Daniel On Thu, Nov 1, 2018 at 4:42 PM Dongli Zhang wrote: > >

Re: [PATCH v9] virtio_blk: add discard and write zeroes support

2018-11-02 Thread Stefan Hajnoczi
On Thu, Nov 01, 2018 at 03:40:35PM -0700, Daniel Verkamp wrote: > From: Changpeng Liu > > 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

Re: [PATCH v9] virtio_blk: add discard and write zeroes support

2018-11-02 Thread Dongli Zhang
Hi Daniel, Other than crosvm, is there any version of qemu (e.g., repositories developed in progress on github) where I can try with this feature? Thank you very much! Dongli Zhang On 11/02/2018 06:40 AM, Daniel Verkamp wrote: > From: Changpeng Liu > > In commit 88c85538, "virtio-blk: add

[PATCH v9] virtio_blk: add discard and write zeroes support

2018-11-02 Thread Daniel Verkamp
From: Changpeng Liu 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