diff options
author | Qu Wenruo <quwenruo@cn.fujitsu.com> | 2015-08-20 03:30:39 +0200 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2015-08-31 20:46:40 +0200 |
commit | c6dd6ea55758cf403bdc07a51a06c2a1d474f906 (patch) | |
tree | c9e8d9f30c65e3083fe36ac91bb981546b5af85d /fs/Makefile | |
parent | btrfs: Add raid56 support for updating (diff) | |
download | linux-c6dd6ea55758cf403bdc07a51a06c2a1d474f906.tar.xz linux-c6dd6ea55758cf403bdc07a51a06c2a1d474f906.zip |
btrfs: async_thread: Fix workqueue 'max_active' value when initializing
At initializing time, for threshold-able workqueue, it's max_active
of kernel workqueue should be 1 and grow if it hits threshold.
But due to the bad naming, there is both 'max_active' for kernel
workqueue and btrfs workqueue.
So wrong value is given at workqueue initialization.
This patch fixes it, and to avoid further misunderstanding, change the
member name of btrfs_workqueue to 'current_active' and 'limit_active'.
Also corresponding comment is added for readability.
Reported-by: Alex Lyakas <alex.btrfs@zadarastorage.com>
Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/Makefile')
0 files changed, 0 insertions, 0 deletions