Re: [Qemu-block] [PATCH 0/7] discard blockstats

2018-08-20 Thread Anton Nefedov
On 17/8/2018 8:27 PM, Paolo Bonzini wrote: On 20/11/2017 17:50, Anton Nefedov wrote: qmp query-blockstats provides stats info for write/read/flush ops. Patches 1-5 implement the similar for discard (unmap) command for scsi and ide disks. Discard stat "unmap_ops / unmap_bytes" is supposed to

Re: [Qemu-block] [PATCH 0/7] discard blockstats

2018-08-17 Thread Paolo Bonzini
On 20/11/2017 17:50, Anton Nefedov wrote: > qmp query-blockstats provides stats info for write/read/flush ops. > > Patches 1-5 implement the similar for discard (unmap) command for scsi > and ide disks. > Discard stat "unmap_ops / unmap_bytes" is supposed to account the ops that > have completed

[Qemu-block] [PATCH 0/7] discard blockstats

2017-11-20 Thread Anton Nefedov
qmp query-blockstats provides stats info for write/read/flush ops. Patches 1-5 implement the similar for discard (unmap) command for scsi and ide disks. Discard stat "unmap_ops / unmap_bytes" is supposed to account the ops that have completed without an error. However, discard operation is