bio-integrity: mark kintegrityd_wq highpri and CPU intensive
authorTejun Heo <tj@kernel.org>
Mon, 3 Jan 2011 14:01:48 +0000 (15:01 +0100)
committerJens Axboe <jaxboe@fusionio.com>
Mon, 3 Jan 2011 14:01:48 +0000 (15:01 +0100)
commita6e8dc46ff0b7defbfa4f29a71aee263377ec573
treea7c8ecf4a5fa52893d8a3e17200ae890ae3a1036
parent89b90be2d877a904b1704e4029db65655bfc6282
bio-integrity: mark kintegrityd_wq highpri and CPU intensive

Work items processed by kintegrityd_wq won't block much, may burn a
lot of CPU cycles and affect IO latency.  Use alloc_workqueue() to
mark it highpri and CPU intensive with max concurrency of 1.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
fs/bio-integrity.c