WindYu
49ffdc18af
bdev/nvme: Add support to get the health log for NVMe device
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
2021-07-22 13:46:50 +00:00
..
2020-12-03 09:41:07 +00:00
2021-07-07 09:43:37 +00:00
2021-03-26 18:46:13 +00:00
2021-07-21 19:44:13 +00:00
2021-07-20 08:09:36 +00:00
2021-07-22 13:46:50 +00:00
2020-12-03 09:41:07 +00:00
2021-07-05 14:36:34 +00:00
2021-06-08 08:27:15 +00:00
2021-07-05 14:35:50 +00:00
2021-06-08 08:19:32 +00:00
2021-01-15 08:32:10 +00:00
2021-01-06 00:01:05 +00:00
2020-05-07 20:52:21 +00:00
2020-01-24 05:46:43 +00:00
2017-10-24 17:35:23 -04:00
2021-05-27 07:35:29 +00:00
2019-02-13 22:54:15 +00:00
2020-05-07 20:52:21 +00:00
2020-10-22 17:08:41 +00:00
2020-02-20 14:40:19 +00:00
2021-05-11 11:51:01 +00:00
2019-01-24 14:14:32 +00:00
2021-06-04 22:47:44 +00:00
2021-01-21 09:46:32 +00:00
2021-01-21 09:46:32 +00:00
2021-03-17 11:10:45 +00:00
2020-08-10 11:28:20 +00:00
2017-05-08 13:20:37 -07:00
2020-05-07 20:52:21 +00:00
2021-01-22 08:47:48 +00:00
2021-07-09 19:19:48 +00:00
2021-07-22 13:46:50 +00:00
2021-04-12 09:41:20 +00:00
2021-06-30 22:43:05 +00:00
2020-07-08 07:55:15 +00:00
2021-02-04 16:10:49 +00:00