diff options
Diffstat (limited to 'include/linux/sunrpc/metrics.h')
| -rw-r--r-- | include/linux/sunrpc/metrics.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/linux/sunrpc/metrics.h b/include/linux/sunrpc/metrics.h index 77f78e56c481..b6edbc0ea83d 100644 --- a/include/linux/sunrpc/metrics.h +++ b/include/linux/sunrpc/metrics.h | |||
| @@ -26,6 +26,7 @@ | |||
| 26 | #define _LINUX_SUNRPC_METRICS_H | 26 | #define _LINUX_SUNRPC_METRICS_H |
| 27 | 27 | ||
| 28 | #include <linux/seq_file.h> | 28 | #include <linux/seq_file.h> |
| 29 | #include <linux/ktime.h> | ||
| 29 | 30 | ||
| 30 | #define RPC_IOSTATS_VERS "1.0" | 31 | #define RPC_IOSTATS_VERS "1.0" |
| 31 | 32 | ||
| @@ -58,9 +59,9 @@ struct rpc_iostats { | |||
| 58 | * and the total time the request spent from init to release | 59 | * and the total time the request spent from init to release |
| 59 | * are measured. | 60 | * are measured. |
| 60 | */ | 61 | */ |
| 61 | unsigned long long om_queue, /* jiffies queued for xmit */ | 62 | ktime_t om_queue, /* queued for xmit */ |
| 62 | om_rtt, /* jiffies for RPC RTT */ | 63 | om_rtt, /* RPC RTT */ |
| 63 | om_execute; /* jiffies for RPC execution */ | 64 | om_execute; /* RPC execution */ |
| 64 | } ____cacheline_aligned; | 65 | } ____cacheline_aligned; |
| 65 | 66 | ||
| 66 | struct rpc_task; | 67 | struct rpc_task; |
