Parent Directory
|
Revision Log
|
Patch
revision 37 by apollock, Fri Feb 1 02:44:52 2008 UTC | revision 38 by apollock, Fri Feb 1 04:01:43 2008 UTC | |
---|---|---|
# | Line 157 def monitor_disks(config, options): | Line 157 def monitor_disks(config, options): |
157 | debug(options, "Disk eligible for spinning down") | debug(options, "Disk eligible for spinning down") |
158 | # We can spin this disk down | # We can spin this disk down |
159 | if not config[disk]["spun_down"]: | if not config[disk]["spun_down"]: |
160 | if spin_down(options, disk): | if spin_down(options, disk) == 0: |
161 | debug(options, "Disk spun down") | debug(options, "Disk spun down") |
162 | config[disk]["spun_down"] = True | config[disk]["spun_down"] = True |
163 | else: | else: |
|
ViewVC Help | |
Powered by ViewVC 1.1.22 |