raid5: sysfs entry to control worker thread number
authorShaohua Li <shli@kernel.org>
Tue, 27 Aug 2013 09:50:42 +0000 (17:50 +0800)
committerNeilBrown <neilb@suse.de>
Wed, 28 Aug 2013 06:56:52 +0000 (16:56 +1000)
commitb721420e8719131896b009b11edbbd27d9b85e98
treecb1cfdc9d63150365da8f47d283209401836d0fc
parent851c30c9badfc6b294c98e887624bff53644ad21
raid5: sysfs entry to control worker thread number

Add a sysfs entry to control running workqueue thread number. If
group_thread_cnt is set to 0, we will disable workqueue offload handling of
stripes.

Signed-off-by: Shaohua Li <shli@fusionio.com>
Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/raid5.c