diff options
author | Chunwei Chen <[email protected]> | 2016-01-27 16:55:14 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2016-02-05 14:08:31 -0800 |
commit | 8f3b403a73fa9b1db06050edf737e1f051b05070 (patch) | |
tree | 4209d27ba6a092bccc3df727d31fcf34b6238e50 /man/man5 | |
parent | d112232f5ec4b25e8446f9a2430d1a63908e6e5a (diff) |
Allow kicking a taskq to spawn more threads
This patch add a module parameter spl_taskq_kick. When writing non-zero value
to it, it will scan all the taskq, if a taskq contains a task pending for more
than 5 seconds, it will be forced to spawn a new thread. This is use as an
emergency recovery from deadlock, not a general solution.
Signed-off-by: Chunwei Chen <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #529
Diffstat (limited to 'man/man5')
-rw-r--r-- | man/man5/spl-module-parameters.5 | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/man/man5/spl-module-parameters.5 b/man/man5/spl-module-parameters.5 index 1d4d73e60..1b760243e 100644 --- a/man/man5/spl-module-parameters.5 +++ b/man/man5/spl-module-parameters.5 @@ -253,6 +253,20 @@ Default value: \fB/etc/hostid\fR .sp .ne 2 .na +\fBspl_taskq_kick\fR (uint) +.ad +.RS 12n +Kick stuck taskq to spawn threads. When writing a non-zero value to it, it will +scan all the taskqs. If any of them have a pending task more than 5 seconds old, +it will kick it to spawn more threads. This can be used if you find a rare +deadlock occurs because one or more taskqs didn't spawn a thread when it should. +.sp +Default value: \fB0\fR +.RE + +.sp +.ne 2 +.na \fBspl_taskq_thread_bind\fR (int) .ad .RS 12n |