49ffdc18af
Add a new RPC method to get the health log of a certain NVMe device. Below is the example: ./scripts/rpc.py bdev_nvme_get_controller_health_info -c Nvme0 { "model_number": "INTEL SSDPE2KX020T8", "serial_number": "BTLJ72430ARH2P0BGN", "firmware_revision": "VDV10110", "traddr": "0000:08:00.0", "temperature_celsius": 33, "available_spare_percentage": 99, "available_spare_threshold_percentage": 10, "percentage_used_percentage": 2, "data_units_read": 1013408619, "data_units_written": 346792685, "host_read_commands": 30457773264, "host_write_commands": 18949677715, "controller_busy_time": 4979, "power_cycles": 49, "power_on_hours": 31114, "unsafe_shutdowns": 18, "media_errors": 17, "num_err_log_entries": 19, "warning_temperature_time_minutes": 0, "critical_composite_temperature_time_minutes": 0 } Change-Id: I53125d2ec16cb36011571473430aece99167b803 Signed-off-by: GangCao <gang.cao@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8806 Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot |
||
---|---|---|
.. | ||
__init__.py | ||
app.py | ||
bdev.py | ||
blobfs.py | ||
client.py | ||
cmd_parser.py | ||
env_dpdk.py | ||
helpers.py | ||
idxd.py | ||
ioat.py | ||
iscsi.py | ||
log.py | ||
lvol.py | ||
nbd.py | ||
notify.py | ||
nvme.py | ||
nvmf.py | ||
pmem.py | ||
sock.py | ||
subsystem.py | ||
trace.py | ||
vhost.py | ||
vmd.py |