aboutsummaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
Diffstat (limited to 'block')
-rw-r--r--block/cfq-iosched.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/block/cfq-iosched.c b/block/cfq-iosched.c
index 98b15b98b85d..69ecee7f4ad4 100644
--- a/block/cfq-iosched.c
+++ b/block/cfq-iosched.c
@@ -3759,6 +3759,10 @@ static void *cfq_init_queue(struct request_queue *q)
3759 cfqd->cfq_latency = 1; 3759 cfqd->cfq_latency = 1;
3760 cfqd->cfq_group_isolation = 0; 3760 cfqd->cfq_group_isolation = 0;
3761 cfqd->hw_tag = -1; 3761 cfqd->hw_tag = -1;
3762 /*
3763 * we optimistically start assuming sync ops weren't delayed in last
3764 * second, in order to have larger depth for async operations.
3765 */
3762 cfqd->last_delayed_sync = jiffies - HZ; 3766 cfqd->last_delayed_sync = jiffies - HZ;
3763 INIT_RCU_HEAD(&cfqd->rcu); 3767 INIT_RCU_HEAD(&cfqd->rcu);
3764 return cfqd; 3768 return cfqd;