hammer - Fix coredump bug which can stall processes
* Fix a coredump bug which can stall the process. If a process > 100MB is
in the process of being coredumped, a signal will cause the hammer_write()
path to hit tstop() due to the core-dump being in progress. Unfortunately
the write might be happening from the kernel core generator itself which
will stall the process forever with a number of locks held.
hammer only checks for signals on very large (> 100MB) read() and write()
calls so the issue does not effect coredumps of smaller processes.
* Use CURSIG_NOBLOCK() instead of CURSIG().