]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - block/blk-mq.c
blk-mq: Reuse hardware context cpumask for tags
authorRaghavendra K T <raghavendra.kt@linux.vnet.ibm.com>
Wed, 2 Dec 2015 11:27:06 +0000 (16:57 +0530)
committerJens Axboe <axboe@fb.com>
Thu, 3 Dec 2015 16:56:25 +0000 (09:56 -0700)
commite0e827b9fc71fbed1a9cd246067c2a4dbd3ea220
tree9f3a29a597a6fd3d3e2b71604f30317177eae312
parent6f3b0e8bcf3cbb87a7459b3ed018d31d918df3f8
blk-mq: Reuse hardware context cpumask for tags

hctx->cpumask is already populated and let the tag cpumask follow that
instead of going through a new for loop.

Signed-off-by: Raghavendra K T <raghavendra.kt@linux.vnet.ibm.com>
Reviewed-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-mq.c