qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v4 7/8] file-posix: account discard operations


From: Kevin Wolf
Subject: Re: [Qemu-devel] [PATCH v4 7/8] file-posix: account discard operations
Date: Thu, 4 Oct 2018 17:52:00 +0200
User-agent: Mutt/1.9.1 (2017-09-22)

Am 21.08.2018 um 11:46 hat Anton Nefedov geschrieben:
> This will help to identify how many of the user-issued discard operations
> (accounted on a device level) have actually suceeded down on the host file
> (even though the numbers will not be exactly the same if non-raw format
> driver is used (e.g. qcow2 sending metadata discards)).
> 
> Note that these numbers will not include discards triggered by
> write-zeroes + MAY_UNMAP calls.
> 
> Signed-off-by: Anton Nefedov <address@hidden>

Why not implement accounting at the BDS level for all drivers? Then we
can also reuse the existing BlockStats fields instead of duplicating
them into driver-specific new ones.

Kevin



reply via email to

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