[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH RFC 1/2] virtio-blk: add DISCARD and WRITE ZEROE
From: |
Stefano Garzarella |
Subject: |
Re: [Qemu-devel] [PATCH RFC 1/2] virtio-blk: add DISCARD and WRITE ZEROES features |
Date: |
Thu, 24 Jan 2019 19:31:14 +0100 |
On Thu, Jan 24, 2019 at 6:55 PM Dr. David Alan Gilbert
<address@hidden> wrote:
>
> * Stefano Garzarella (address@hidden) wrote:
> > This patch adds the support of DISCARD and WRITE ZEROES commands,
> > that have been introduced in the virtio-blk protocol to have
> > better performance when using SSD backend.
> >
> > Signed-off-by: Stefano Garzarella <address@hidden>
>
> Hi,
> Do you need to make those features machine-type dependent
> so that a VM started on a nice new qemu with this feature doesn't
> get confused when live migrated back to an older version?
>
Hi Dave,
oh, thanks! I think the answer is absolutely yes :)
I'll fix it!
Another doubt that I have now is that I need to flush the
MultiReqBuffer before submitting DISCARD or WRITE ZEROES commands.
Thanks,
Stefano
[Qemu-devel] [PATCH RFC 2/2] tests/virtio-blk: add test for WRITE_ZEROES command, Stefano Garzarella, 2019/01/24