iostat related patch for 2.4.x kernels

This patch, courtesy Rick Lindsley, resolves long standing problem with disk statistics counters in 2.4 kernels.

Because of the bug in kernel, the counters would occasionally incorrectly report negative values. The patch has been tested against 2.4.24, but will probably apply on other versions, too. Thanks Rick!

AttachmentSize
diskstats-2.4.patch1.27 KB