From: Jens Axboe Date: Thu, 3 Sep 2009 18:06:47 +0000 (+0200) Subject: block: enable rq CPU completion affinity by default X-Git-Tag: upstream/snapshot3+hdmi~17656^2~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=01e97f6b897bf06ec83375d691f2f4d57f5b3a09;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git block: enable rq CPU completion affinity by default Test results here look good, and on big OLTP runs it has also shown to significantly increase cycles attributed to the database and cause a performance boost. Signed-off-by: Jens Axboe --- diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index 98b4563..8bf1a10 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h @@ -463,7 +463,8 @@ struct request_queue #define QUEUE_FLAG_DEFAULT ((1 << QUEUE_FLAG_IO_STAT) | \ (1 << QUEUE_FLAG_CLUSTER) | \ - (1 << QUEUE_FLAG_STACKABLE)) + (1 << QUEUE_FLAG_STACKABLE) | \ + (1 << QUEUE_FLAG_SAME_COMP)) static inline int queue_is_locked(struct request_queue *q) {