mirror of
https://github.com/opnsense/src.git
synced 2026-06-06 07:12:52 -04:00
nda(4) has its own shutdown handler that runs at SHUTDOWN_PRI_DEFAULT that calls ndaflush() that could run after the nvmf handler. Instead, give a the flush a chance to run before the graceful shutdown of the controller. While here, be a bit more defensive in the post-sync case and shutdown the consumers (sim and /dev/nvmeXnY devices) before destroying the queue pairs so that if any requests are submitted after the post-sync handler they fail gracefully instead of trying to use a destroyed queue pair. Reported by: Sony Arpita Das <sonyarpitad@chelsio.com> Sponsored by: Chelsio Communications |
||
|---|---|---|
| .. | ||
| controller | ||
| host | ||
| nvmf.h | ||
| nvmf_proto.h | ||
| nvmf_tcp.c | ||
| nvmf_tcp.h | ||
| nvmf_transport.c | ||
| nvmf_transport.h | ||
| nvmf_transport_internal.h | ||