+2
−2
+5
−5
+76
−76
+64
−64
Loading
Rather than doing nvme_robust_mutex_lock(&ctrlr->ctrlr_lock) everywhere, we can just do nvme_ctrlr_lock(ctrlr) instead. This will allow for adding some code to ensure controller lock isn't held when the controller is destroyed, as part of debugging issue #3401. Signed-off-by:Jim Harris <jim.harris@samsung.com> Change-Id: Id49a3e0a92f18c9f5998cfd546935dc718d153ba Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/23729 Reviewed-by:
Aleksey Marchuk <alexeymar@nvidia.com> Community-CI: Mellanox Build Bot Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Shuhei Matsumoto <smatsumoto@nvidia.com>