Following the same idea, it occurs to me that we should only update
authorChen, Kenneth W <kenneth.w.chen@intel.com>
Thu, 13 Oct 2005 19:49:29 +0000 (21:49 +0200)
committerJens Axboe <axboe@nelson.home.kernel.dk>
Fri, 28 Oct 2005 06:15:43 +0000 (08:15 +0200)
commitb2982649ce38293b14684b26bcda20cfc54164e6
tree8208c0cd33f2565f0f193d0afab282a7d0778382
parent20e5c81fcff89535dced2ed71cf24c6c648ff40e
Following the same idea, it occurs to me that we should only update
disk stat when "now" is different from disk->stamp.  Otherwise, we
are again needlessly adding zero to the stats.

Signed-off-by: Ken Chen <kenneth.w.chen@intel.com>
Signed-off-by: Jens Axboe <axboe@suse.de>
drivers/block/ll_rw_blk.c