pub fn get_stats<P: AsRef<Path>>(devid: u64, fs: P) -> Result<DevStats>
Gets error statistics for a btrfs device