norefs, disk: fix static readahead setting
This commit is contained in:
parent
10f723780a
commit
ebcf7d2184
1 changed files with 1 additions and 1 deletions
|
|
@ -203,7 +203,7 @@ class DiskPlugin(base.Plugin):
|
|||
@command_set("readahead", per_device=True)
|
||||
def _set_readahead(self, value, device):
|
||||
sys_file = self._readahead_file(device)
|
||||
tuned.utils.commands.write_to_file(sys_file, "%d" % value)
|
||||
tuned.utils.commands.write_to_file(sys_file, "%d" % int(value))
|
||||
|
||||
@command_get("readahead")
|
||||
def _get_readahead(self, device):
|
||||
|
|
|
|||
Loading…
Reference in a new issue