Searched hist:a555af17 (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/hw/nvme/ |
H A D | ctrl.c | a555af17 Mon Feb 20 05:59:22 CST 2023 Joel Granados <j.granados@samsung.com> hw/nvme: move adjustment of data_units{read,written}
Move the rounding of bytes read/written into nvme_smart_log which reports in units of 512 bytes, rounded up in thousands. This is in preparation for adding the Endurance Group Information log page which reports in units of billions, rounded up.
Reviewed-by: Keith Busch <kbusch@kernel.org> Reviewed-by: Klaus Jensen <k.jensen@samsung.com> Signed-off-by: Joel Granados <j.granados@samsung.com> Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
|