Spdk/lib/nvmf
Ziye Yang 4c4cba9a95 nvmf: simplify the qpair_mask handling.
We should not use mutex, but use the spdk_send_msg policy,
then we can let only one thread to handle that and
eliminates the segement fault issue.

Now in the code, the qpair_mask is handled by the same
thread, e.g., the thread which owns the admin qpair of
the ctrlr.

Change-Id: I609fd4d49f5ecc85bc47bf9c23afbb507900be7c
Signed-off-by: Ziye Yang <optimistyzy@gmail.com>
Reviewed-on: https://review.gerrithub.io/420827
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
2018-08-03 03:38:34 +00:00
..
ctrlr_bdev.c nvmf: Add trace points for the RDMA state machine 2018-06-12 20:01:33 +00:00
ctrlr_discovery.c bdev: Rename spdk_internal/bdev.h to spdk/bdev_module.h 2018-05-25 16:02:22 +00:00
ctrlr.c nvmf: simplify the qpair_mask handling. 2018-08-03 03:38:34 +00:00
Makefile build: remove $(ENV_CFLAGS) where not necessary 2018-01-03 12:05:59 -05:00
nvmf_fc.h nvmf: fix coding style for astyle 2.05 in nvmf_fc.h 2018-07-17 07:53:18 +00:00
nvmf_internal.h nvmf: simplify the qpair_mask handling. 2018-08-03 03:38:34 +00:00
nvmf.c nvmf: simplify the qpair_mask handling. 2018-08-03 03:38:34 +00:00
rdma.c nvmf: free AER resourcess before disconnecting qpair 2018-07-27 20:50:36 +00:00
request.c nvmf: add free_req function pointer. 2018-07-27 20:50:36 +00:00
subsystem.c subsystem: defer channel iter until pg functions return 2018-07-31 16:14:29 +00:00
transport.c nvmf: add free_req function pointer. 2018-07-27 20:50:36 +00:00
transport.h nvmf: add free_req function pointer. 2018-07-27 20:50:36 +00:00