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: NKen Chen <kenneth.w.chen@intel.com> Signed-off-by: NJens Axboe <axboe@suse.de>
Showing
想要评论请 注册 或 登录