mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-22 20:41:03 +01:00
ef052adf09
nvmf_submit_request() handles races with concurrent queue pair destruction (or the queue pair being destroyed between nvmf_allocate_request and nvmf_submit_request), so the lock is not needed here. This avoids holding the lock across transport-specific logic such as queueing mbufs for PDUs to a socket buffer, etc. Holding the lock across nvmf_allocate_request() ensures that the queue pair pointers in the softc are still valid as shutdown attempts will block on the lock before destroying the queue pairs. Sponsored by: Chelsio Communications |
||
---|---|---|
.. | ||
nvmf_aer.c | ||
nvmf_cmd.c | ||
nvmf_ctldev.c | ||
nvmf_ns.c | ||
nvmf_qpair.c | ||
nvmf_sim.c | ||
nvmf_var.h | ||
nvmf.c |