diff options
author | Keith Busch <keith.busch@intel.com> | 2013-05-29 17:59:39 -0400 |
---|---|---|
committer | Matthew Wilcox <matthew.r.wilcox@intel.com> | 2013-06-20 12:06:35 -0400 |
commit | 6198221fa0df0298513b35796f63f242ea97134e (patch) | |
tree | 2de31ecb41a65e2c63712f88cb9e68b1520fbf20 /include/linux/nvme.h | |
parent | 063a8096f3dbca7521d5918b3aea7ab46c5d2fe9 (diff) |
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.h | 1 |
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 { | |||
572 | int offset; /* Of PRP list */ | 572 | int offset; /* Of PRP list */ |
573 | int nents; /* Used in scatterlist */ | 573 | int nents; /* Used in scatterlist */ |
574 | int length; /* Of data, in bytes */ | 574 | int length; /* Of data, in bytes */ |
575 | unsigned long start_time; | ||
575 | dma_addr_t first_dma; | 576 | dma_addr_t first_dma; |
576 | struct scatterlist sg[0]; | 577 | struct scatterlist sg[0]; |
577 | }; | 578 | }; |