]> git.proxmox.com Git - mirror_spl-debian.git/commit
Dump log from current process when required
authorBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 23 Apr 2010 22:55:02 +0000 (15:55 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 23 Apr 2010 22:55:02 +0000 (15:55 -0700)
commit97f8f6d78999ab41d23cf5942d55ea3ad0ca4f3e
tree4e3182a21a45cd3ab043a75773cc4848ddd436a1
parentd05ec4b45f77c0f401098d88b5299ef090c73ca9
Dump log from current process when required

When dumping a debug log first check that it is safe to create
a new thread and block waiting for it.  If we are in an atomic
context or irqs and disabled it is not safe to sleep and we
must write out of the debug log from the current process.
module/spl/spl-debug.c