monitor: remove dead iostats code/comments
commitdecedfedd283795e7dc3514170d343cb08b2c769
authorEric Wong <normalperson@yhbt.net>
Tue, 4 Sep 2012 23:21:40 +0000 (4 23:21 +0000)
committerEric Wong <normalperson@yhbt.net>
Wed, 9 Jan 2013 03:31:58 +0000 (9 03:31 +0000)
tree2003b5c029a8e4b275b5912512887be52f15c530
parent92046c128ed0ca48381e836196d9f65e69680478
monitor: remove dead iostats code/comments

* set_observed_utilization() is a no-op, and can be
  safely removed.

* Looking up the device via factory does not incur DB hit
  since the factory changes of May 2011.

* Really avoids propagating invalid devids with correct ordering
  of the hash assignment.  This prevents an invalid devid from
  hitting even the {devutil}->{cur} hash which lasts the
  lifetime of the monitor process.
lib/MogileFS/Device.pm
lib/MogileFS/Worker/Monitor.pm