]> www.infradead.org Git - users/sagi/nvme-cli.git/commitdiff
plugins/memblaze: fix code mis-type error
authorjinhua.huang <jinhua.huang@memblaze.com>
Wed, 27 Mar 2024 03:06:07 +0000 (11:06 +0800)
committerDaniel Wagner <wagi@monom.org>
Wed, 27 Mar 2024 08:15:13 +0000 (09:15 +0100)
Change "flash_error_media_count" to "inflight_write_io_cmd".

Signed-off-by: jinhua.huang <jinhua.huang@memblaze.com>
plugins/memblaze/memblaze-nvme.c

index d3c901e2813d313d0b51f5d1400fe56786485c89..d4733528ee5c413758d83da6acd5da9e7ab71a80 100644 (file)
@@ -1326,7 +1326,7 @@ struct __packed smart_log_add {
                                struct smart_log_add_item_12 xor_fail_count;
                                struct smart_log_add_item_12 xor_invoked_count;
                                struct smart_log_add_item_12 inflight_read_io_cmd;
-                               struct smart_log_add_item_12 flash_error_media_count;
+                               struct smart_log_add_item_12 inflight_write_io_cmd;
                                struct smart_log_add_item_12 nand_bytes_read;
                                struct smart_log_add_item_12 temp_since_born;
                                struct smart_log_add_item_12 power_consumption;
@@ -1464,7 +1464,7 @@ static void smart_log_add_v2_print(struct smart_log_add_item_12 *item, int item_
                [0xfd] = {18, "xor_fail_count"              },
                [0xfe] = {19, "xor_invoked_count"           },
                [0xe5] = {20, "inflight_read_io_cmd"        },
-               [0xe6] = {21, "flash_error_media_count"     },
+               [0xe6] = {21, "inflight_write_io_cmd"     },
                [0xf8] = {22, "nand_bytes_read"             },
                [0xe7] = {23, "temp_since_born"             },
                [0xe8] = {24, "power_consumption"           },