block: remove WQ_POWER_EFFICIENT from kblockd
authorMatias Bjørling <m@bjorling.me>
Wed, 11 Jun 2014 21:43:54 +0000 (23:43 +0200)
committerJens Axboe <axboe@fb.com>
Wed, 11 Jun 2014 21:53:39 +0000 (15:53 -0600)
commit28747fcd2211d0fccbe3d3c91a1067c3744db908
tree810f1f10310d3ec6f30aebf0be1b8a1964da58fc
parent54ae81cd5a20d23fdc7906a59d9018e1a760cadc
block: remove WQ_POWER_EFFICIENT from kblockd

blk-mq issues async requests through kblockd. To issue a work request on
a specific CPU, kblockd_schedule_delayed_work_on is used. However, the
specific CPU choice may not be honored, if the power_efficient option
for workqueues is set. blk-mq requires that we have strict per-cpu
scheduling, so it wont work properly if kblockd is marked
POWER_EFFICIENT and power_efficient is set.

Remove the kblockd WQ_POWER_EFFICIENT flag to prevent this behavior.
This essentially reverts part of commit 695588f9454b, which added
the WQ_POWER_EFFICIENT marker to kblockd.

Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-core.c