summaryrefslogtreecommitdiff
path: root/include/linux/nvme.h
diff options
context:
space:
mode:
authorKeith Busch <keith.busch@intel.com>2013-05-30 01:59:39 +0400
committerMatthew Wilcox <matthew.r.wilcox@intel.com>2013-06-20 20:06:35 +0400
commit6198221fa0df0298513b35796f63f242ea97134e (patch)
tree2de31ecb41a65e2c63712f88cb9e68b1520fbf20 /include/linux/nvme.h
parent063a8096f3dbca7521d5918b3aea7ab46c5d2fe9 (diff)
downloadlinux-6198221fa0df0298513b35796f63f242ea97134e.tar.xz
NVMe: Disk IO statistics
Add io stats accounting for bio requests so nvme block devices show useful disk stats. Signed-off-by: Keith Busch <keith.busch@intel.com> Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
Diffstat (limited to 'include/linux/nvme.h')
-rw-r--r--include/linux/nvme.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/nvme.h b/include/linux/nvme.h
index f451c8d6e231..5d7c07946fbe 100644
--- a/include/linux/nvme.h
+++ b/include/linux/nvme.h
@@ -572,6 +572,7 @@ struct nvme_iod {
int offset; /* Of PRP list */
int nents; /* Used in scatterlist */
int length; /* Of data, in bytes */
+ unsigned long start_time;
dma_addr_t first_dma;
struct scatterlist sg[0];
};