implement disk io statistics

This is based on a patch to nvme by Keith Busch.