kernel - work on dmsg disk exports
authorMatthew Dillon <dillon@apollo.backplane.com>
Sun, 1 Mar 2015 19:41:41 +0000 (11:41 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sun, 1 Mar 2015 19:41:41 +0000 (11:41 -0800)
commit45c1a24b27542228480050506a337a8f37489510
tree9f9c62395f1d13dbfe589d0c5b8249d06ca5763b
parentdf67e71730d09680b7403a5f7df8a885f054bedb
kernel - work on dmsg disk exports

* Refactor and clean up the kdmsg thread cleanup code.

* Add a workaround for a possible tx/rx race which can occur due to the
  transmit side not retiring the kdmsg until after writing it.  This can
  potentially block and allow a received response to be processed before the
  related transmitted kdmsg is cleaned up.

* Add sysctls to track operations in progress.

* Code documentation.
sys/kern/kern_dmsg.c
sys/kern/subr_diskiocom.c
sys/sys/dmsg.h