Re: [PATCH v8] virtio_blk: add discard and write zeroes support
From: Christoph Hellwig <hch@infradead.org>
Date: 2018-10-26 08:26:40
Also in:
linux-block
From: Christoph Hellwig <hch@infradead.org>
Date: 2018-10-26 08:26:40
Also in:
linux-block
On Fri, Oct 26, 2018 at 01:28:54AM +0200, Paolo Bonzini wrote:
On 15/10/2018 11:27, Christoph Hellwig wrote:quoted
There is some issues in this spec. For one using the multiple ranges also for write zeroes is rather inefficient. Write zeroes really should use the same format as read and write.What makes it inefficient?
We require a memory allocation for each write zeroes instead of encoding the lba/len in the command.