From: Divyesh Shah Date: Fri, 30 Jan 2009 11:46:41 +0000 (+0100) Subject: cfq-iosched: Allow RT requests to pre-empt ongoing BE timeslice X-Git-Tag: v2.6.29-rc4~90^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a9a3f6cc55418dd1525e636dccbbe13c394f652;p=pandora-kernel.git cfq-iosched: Allow RT requests to pre-empt ongoing BE timeslice This patch adds the ability to pre-empt an ongoing BE timeslice when a RT request is waiting for the current timeslice to complete. This reduces the wait time to disk for RT requests from an upper bound of 4 (current value of cfq_quantum) to 1 disk request. Applied Jens' suggeested changes to avoid the rb lookup and use !cfq_class_rt() and retested. Latency(secs) for the RT task when doing sequential reads from 10G file. | only RT | RT + BE | RT + BE + this patch small (512 byte) reads | 143 | 163 | 145 large (1Mb) reads | 142 | 158 | 146 Signed-off-by: Divyesh Shah Signed-off-by: Jens Axboe --- Reading git-diff-tree failed