disk plugin: use APM value 254 for cleanup
related: rhbz#905195 Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
This commit is contained in:
parent
7a4d1f2399
commit
fe3d97a8fa
1 changed files with 1 additions and 1 deletions
|
|
@ -157,7 +157,7 @@ class DiskPlugin(hotplug.Plugin):
|
|||
def _instance_unapply_dynamic(self, instance, device):
|
||||
if device in instance._idle and instance._idle[device]["level"] > 0:
|
||||
log.debug("%s restoring power and spindown settings" % device)
|
||||
tuned.utils.commands.execute(["hdparm", "-S0", "-B255", "/dev/%s" % device])
|
||||
tuned.utils.commands.execute(["hdparm", "-S0", "-B254", "/dev/%s" % device])
|
||||
|
||||
def _elevator_file(self, device):
|
||||
return os.path.join("/sys/block/", device, "queue/scheduler")
|
||||
|
|
|
|||
Loading…
Reference in a new issue