37184dd471
This avoids dereferencing the request to get the qpair in cases where we already know the qpair. Adding a new variant instead of just modifying nvme_free_request() since there are 72 calls to this function and I don't want to change all of them. Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: Ifd6fd964e546bcd71ff180fd71d5bf5cbab79d4f Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/455287 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>