1
0
Fork 0

disk: Add missing remove parameter

This one was forgotten in 2f911b7.
This commit is contained in:
Pavol Žáčik 2025-02-03 09:26:59 +01:00
parent 76464d8df1
commit 6e7794104f
No known key found for this signature in database
GPG key ID: B99527D5E6487A92

View file

@ -461,12 +461,12 @@ class DiskPlugin(hotplug.Plugin):
return
new_readahead = int(float(multiplier) * old_readahead)
self._storage.set(storage_key, old_readahead)
self._set_readahead(new_readahead, device, instance, False)
self._set_readahead(new_readahead, device, instance, False, False)
else:
old_readahead = self._storage.get(storage_key)
if old_readahead is None:
return
self._set_readahead(old_readahead, device, instance, False)
self._set_readahead(old_readahead, device, instance, False, False)
self._storage.unset(storage_key)
def _scheduler_quantum_file(self, device):