aboutsummaryrefslogtreecommitdiff
path: root/sys/contrib/openzfs/tests/zfs-tests/cmd/xattrtest/(developers-only)
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2024-09-26 01:14:06 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2024-09-26 01:14:06 +0000
commitef052adf09f25a20e694c3375cc7a0edd4cb0a52 (patch)
treeb5c5d7223c5b75ab2b901a87756b249558dc93f9 /sys/contrib/openzfs/tests/zfs-tests/cmd/xattrtest/(developers-only)
parentaec2ae8b57fc638fa3ba9fac9d2067f2049ab613 (diff)
downloadsrc-main.tar.gz
src-main.zip
nvmf: Narrow scope of sim lock in nvmf_sim_ioHEADmain
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
Diffstat (limited to 'sys/contrib/openzfs/tests/zfs-tests/cmd/xattrtest/(developers-only)')
0 files changed, 0 insertions, 0 deletions