| .. | .. |
|---|
| 30 | 30 | #include <linux/ktime.h> |
|---|
| 31 | 31 | #include <linux/spinlock.h> |
|---|
| 32 | 32 | |
|---|
| 33 | | -#define RPC_IOSTATS_VERS "1.0" |
|---|
| 33 | +#define RPC_IOSTATS_VERS "1.1" |
|---|
| 34 | 34 | |
|---|
| 35 | 35 | struct rpc_iostats { |
|---|
| 36 | 36 | spinlock_t om_lock; |
|---|
| .. | .. |
|---|
| 66 | 66 | ktime_t om_queue, /* queued for xmit */ |
|---|
| 67 | 67 | om_rtt, /* RPC RTT */ |
|---|
| 68 | 68 | 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; |
|---|
| 69 | 74 | } ____cacheline_aligned; |
|---|
| 70 | 75 | |
|---|
| 71 | 76 | struct rpc_task; |
|---|