On Tue, Mar 28, 2017 at 3:15 AM, Liu, Changpeng wrote:
>> -Original Message-
>> From: Stefan Hajnoczi [mailto:stefa...@gmail.com]
>> Sent: Tuesday, March 28, 2017 4:20 AM
>> To: Liu, Changpeng
>> Cc: virtio-...@lists.oasis-open.org;
>> virtualizat...@lists.linux-foundation.org; linux-
>>
> -Original Message-
> From: Stefan Hajnoczi [mailto:stefa...@gmail.com]
> Sent: Tuesday, March 28, 2017 4:20 AM
> To: Liu, Changpeng
> Cc: virtio-...@lists.oasis-open.org;
> virtualizat...@lists.linux-foundation.org; linux-
> ker...@vger.kernel.org; h...@lst.de; qemu-devel@nongnu.org
>
> -Original Message-
> From: Christoph Hellwig [mailto:h...@lst.de]
> Sent: Monday, March 27, 2017 10:56 PM
> To: Liu, Changpeng
> Cc: virtio-...@lists.oasis-open.org;
> virtualizat...@lists.linux-foundation.org; linux-
> ker...@vger.kernel.org; h...@lst.de; qemu-devel@nongnu.org
> Subj
On Tue, Mar 28, 2017 at 04:39:25PM +0800, Changpeng Liu wrote:
> Currently virtio-blk driver does not provide discard feature flag, so the
> filesystems which built on top of the block device will not send discard
> command. This is okay for HDD backend, but it will impact the performance
> for SSD
On Tue, Mar 28, 2017 at 04:39:25PM +0800, Changpeng Liu wrote:
> Currently virtio-blk driver does not provide discard feature flag, so the
> filesystems which built on top of the block device will not send discard
> command. This is okay for HDD backend, but it will impact the performance
> for SSD
Currently virtio-blk driver does not provide discard feature flag, so the
filesystems which built on top of the block device will not send discard
command. This is okay for HDD backend, but it will impact the performance
for SSD backend.
Add a feature flag VIRTIO_BLK_F_DISCARD and command VIRTIO_B