Currently,the anticipatory scheduler has been chose for I/O scheduler test,while it has been removed from the 2.6.33 kernel. Now change it into the cfq scheduler which is the default in current kernel.
Signed-off-by: Mike Qiu <[email protected]> --- client/fsdev_disks.py | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/client/fsdev_disks.py b/client/fsdev_disks.py index 2f35c6a..4a8b190 100644 --- a/client/fsdev_disks.py +++ b/client/fsdev_disks.py @@ -445,8 +445,8 @@ class fsdev_disks: # Save the kernel version for later self.kernel_ver = kver - # For now we always use 'anticipatory' - tune_paths = tune_files["anticipatory"] + # For now we always use 'cfq' + tune_paths = tune_files["cfq"] # Create a dictionary out of the tunables array self.tune_loc = {} @@ -518,7 +518,7 @@ class fsdev_disks: # Set the scheduler first before setting any other tunables self.set_tunable(disk, "scheduler", self.tune_loc["scheduler"], - "anticipatory") + "cfq") # Now set all the tunable parameters we've been given for tune_desc in self.tune_list: -- 1.7.7.6 _______________________________________________ Autotest-kernel mailing list [email protected] https://www.redhat.com/mailman/listinfo/autotest-kernel
