cfq: break apart merged cfqqs if they stop cooperating
commit63d34056ad814679badc9182292c172af242d565
authorJeff Moyer <jmoyer@redhat.com>
Thu, 29 Sep 2011 09:57:45 +0000 (29 15:27 +0530)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 7 Nov 2011 20:32:39 +0000 (7 12:32 -0800)
tree8cfb0b4770a52864e5f40aac3008d69c22c0f1db
parent6bfa77d42c6f0772bf46389e749bb0ff69e00448
cfq: break apart merged cfqqs if they stop cooperating

commit e6c5bc737ab71e4af6025ef7d150f5a26ae5f146 upstream.

cfq_queues are merged if they are issuing requests within the mean seek
distance of one another.  This patch detects when the coopearting stops and
breaks the queues back up.

Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: Suresh Jayaraman <sjayaraman@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
block/cfq-iosched.c