RE: [PATCH v3] virtio_blk: add DISCARD and WRIET ZEROES command support

2018-05-23 Thread Liu, Changpeng
sow...@redhat.com; pbonz...@redhat.com; > Wodkowski, PawelX <pawelx.wodkow...@intel.com>; Harris, James R > <james.r.har...@intel.com>; fabio.miranda.mart...@canonical.com > Subject: Re: [PATCH v3] virtio_blk: add DISCARD and WRIET ZEROES command > support > > On Fri,

Re: [PATCH v3] virtio_blk: add DISCARD and WRIET ZEROES command support

2018-03-29 Thread Michael S. Tsirkin
On Fri, Mar 30, 2018 at 08:49:34AM +0800, Changpeng Liu wrote: > Existing virtio-blk protocol doesn't have DISCARD/WRITE ZEROES > command support, this will impact the performance when using SSD > backend over file systems. > > The idea here is using 16 Bytes payload as one descriptor for >