private static final long serialVersionUID = 1L;
private static final Logger LOG = LoggerFactory.getLogger(LinuxDisks.class);
private final int SECTORSIZE = 512;
private void computeDiskStats(HWDiskStore store, Udev.UdevDevice disk) {
LinuxBlockDevStats stats;
<BUG>stats = new LinuxBlockDevStats(store.getName(), disk);
store.setReads(stats.read_512bytes * this.SECTORSIZE);

store.setWrites(stats.write_512bytes * this.SECTORSIZE);

}</BUG>
@Override

private static final long serialVersionUID = 1L;
private static final Logger LOG = LoggerFactory.getLogger(LinuxDisks.class);
private final int SECTORSIZE = 512;
private void computeDiskStats(HWDiskStore store, Udev.UdevDevice disk) {
LinuxBlockDevStats stats;
stats = new LinuxBlockDevStats(store.getName(), disk);
store.setReads(stats.read_ops);
store.setReadBytes(stats.read_512bytes * this.SECTORSIZE);
store.setWrites(stats.write_ops);
store.setWriteBytes(stats.write_512bytes * this.SECTORSIZE);
store.setTransferTime(stats.active_ms);
}
@Override
