diff options
author | Tom Wu <[email protected]> | 2019-08-08 02:22:36 +0000 |
---|---|---|
committer | Sagi Grimberg <[email protected]> | 2019-08-29 12:55:01 -0700 |
commit | 3bec2e3754becebd4c452999adb49bc62c575ea4 (patch) | |
tree | 0d234578c9db81b179f17200a649638e236852f9 /lib/test_overflow.c | |
parent | 1a9460cef571100487cde9c44110a5afff2e9ea2 (diff) |
nvmet: fix data units read and written counters in SMART log
In nvme spec 1.3 there is a definition for data write/read counters
from SMART log, (See section 5.14.1.2):
This value is reported in thousands (i.e., a value of 1
corresponds to 1000 units of 512 bytes read) and is rounded up.
However, in nvme target where value is reported with actual units,
but not thousands of units as the spec requires.
Signed-off-by: Tom Wu <[email protected]>
Reviewed-by: Israel Rukshin <[email protected]>
Reviewed-by: Max Gurtovoy <[email protected]>
Reviewed-by: Chaitanya Kulkarni <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Sagi Grimberg <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions