qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] scsi-disk: add non-zero MAX UNMAP LBA COUNT to


From: Bharata B Rao
Subject: Re: [Qemu-devel] [PATCH] scsi-disk: add non-zero MAX UNMAP LBA COUNT to block limits VPD page
Date: Sat, 21 Dec 2013 09:40:56 +0530
User-agent: Mutt/1.5.21 (2010-09-15)

On Fri, Dec 20, 2013 at 03:58:08PM +0100, Paolo Bonzini wrote:
> Linux prefers WRITE SAME to UNMAP if the count is zero, and WRITE
> SAME does not discard anything unless the device can guarantee that
> the resulting block is zero.
> 
> This fixes thin provisioning on glusterfs.

I don't see discard requests reaching GlusterFS even after this patch.
bdrv_co_discard or bdrv_aio_discard isn't getting called for the gluster
drive.

Regards,
Bharata.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]