block: make kblockd_workqueue smarter
authorTejun Heo <tj@kernel.org>
Mon, 3 Jan 2011 14:01:47 +0000 (15:01 +0100)
committerJens Axboe <jaxboe@fusionio.com>
Mon, 3 Jan 2011 14:01:47 +0000 (15:01 +0100)
commit89b90be2d877a904b1704e4029db65655bfc6282
tree0dbeda7f0efa17373bdd3c59793a36c417fa9d1c
parent27667c996f6a0bed4ad1e10ac0a0dbb6037968db
block: make kblockd_workqueue smarter

kblockd is used for unplugging and may affect IO latency and
throughput and the max number of concurrent work items are bound by
the number of block devices.  Make it HIGHPRI workqueue w/ default max
concurrency.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
block/blk-core.c