hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/include/linux/sunrpc/metrics.h
....@@ -30,7 +30,7 @@
3030 #include <linux/ktime.h>
3131 #include <linux/spinlock.h>
3232
33
-#define RPC_IOSTATS_VERS "1.0"
33
+#define RPC_IOSTATS_VERS "1.1"
3434
3535 struct rpc_iostats {
3636 spinlock_t om_lock;
....@@ -66,6 +66,11 @@
6666 ktime_t om_queue, /* queued for xmit */
6767 om_rtt, /* RPC RTT */
6868 om_execute; /* RPC execution */
69
+ /*
70
+ * The count of operations that complete with tk_status < 0.
71
+ * These statuses usually indicate error conditions.
72
+ */
73
+ unsigned long om_error_status;
6974 } ____cacheline_aligned;
7075
7176 struct rpc_task;