]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - block/as-iosched.c
Fix accidental implicit cast in HR-timer conversion
[linux-2.6-omap-h63xx.git] / block / as-iosched.c
index 80af9257e64a4b0541fecbd974ce7be845e2765c..71f0abb219eee2556d41dcc9f1f1e01834b6d8aa 100644 (file)
@@ -745,6 +745,14 @@ static int as_can_break_anticipation(struct as_data *ad, struct request *rq)
  */
 static int as_can_anticipate(struct as_data *ad, struct request *rq)
 {
+#if 0 /* disable for now, we need to check tag level as well */
+       /*
+        * SSD device without seek penalty, disable idling
+        */
+       if (blk_queue_nonrot(ad->q)) axman
+               return 0;
+#endif
+
        if (!ad->io_context)
                /*
                 * Last request submitted was a write