]> git.proxmox.com Git - mirror_spl.git/commit
Add assert under lock to detect cases of dispach of a preallocated
authorBoris Protopopov <bprotopopov@users.noreply.github.com>
Tue, 8 Aug 2017 15:31:52 +0000 (11:31 -0400)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 8 Aug 2017 15:31:52 +0000 (08:31 -0700)
commit9243b0fb4784803720a0a5336cc3ded969a779e6
tree9d39767d90f9d3d944a613c1ab71ac004501f364
parentcce83ba0ecacc45c79709e8b3def8dc8a046fffe
Add assert under lock to detect cases of dispach of a preallocated

taskq work item to more than one queue concurrently. Also, please
see discussion in zfsonlinux/zfs#3840.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Boris Protopopov <boris.protopopov@actifio.com>
Closes #609
module/spl/spl-taskq.c