mirror of
https://github.com/opnsense/src.git
synced 2026-06-06 15:22:34 -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 |
||
|---|---|---|
| .. | ||
| nvmf.c | ||
| nvmf_aer.c | ||
| nvmf_cmd.c | ||
| nvmf_ctldev.c | ||
| nvmf_ns.c | ||
| nvmf_qpair.c | ||
| nvmf_sim.c | ||
| nvmf_var.h | ||