Seymour, Shane M 05545c92db st: implement tape statistics
This patch implements tape statistics in the st module via
sysfs. Current no statistics are available for tape I/O and there
is no easy way to reuse the block layer statistics for tape
as tape is a character device and does not have perform I/O in
sector sized chunks (the size of the data written to tape
can change). For tapes we also need extra stats related to
things like tape movement (via other I/O).

There have been multiple end users requesting statistics
including AT&T (and some HP customers who have not given
permission to be named). It is impossible for them
to investigate any issues related to tape performance
in a non-invasive way.

[jejb: eliminate PRId64]
Signed-off-by: Shane Seymour <shane.seymour@hp.com>
Tested-by: Shane Seymour <shane.seymour@hp.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
2015-06-02 08:03:25 -07:00
..
2014-02-10 16:01:40 -08:00
2009-04-03 09:23:11 -05:00
2011-03-31 11:26:23 -03:00
2007-10-20 02:13:26 +02:00
2012-02-19 08:09:01 -06:00
2005-04-16 15:20:36 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2005-04-16 15:20:36 -07:00
2006-10-03 22:46:31 +02:00
2005-04-16 15:20:36 -07:00
2006-11-30 05:21:10 +01:00
2014-11-27 16:40:24 +01:00
2005-04-16 15:20:36 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2015-06-02 08:03:25 -07:00
2005-04-16 15:20:36 -07:00
2014-11-25 15:42:55 +01:00