commit | 77289d32073c4eac57fcca2abe6caefc6f3dc7d6 | [log] [tgz] |
---|---|---|
author | Joe Thornber <ejt@redhat.com> | Fri May 15 13:45:30 2015 +0100 |
committer | Mike Snitzer <snitzer@redhat.com> | Fri May 29 14:19:03 2015 -0400 |
tree | dd862395e14ead66f606bf296001a9942d9562d0 | |
parent | fb4100ae7f312c3d614b37621c2b17b3b7cf65f8 [diff] |
dm cache: add io_tracker A little class that keeps track of the volume of io that is in flight, and the length of time that a device has been idle for. FIXME: rather than jiffes, may be best to use ktime_t (to support faster devices). Signed-off-by: Joe Thornber <ejt@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>