numam-spdk/lib/nvmf
Ben Walker d346b9c5a2 nvmf: State change functions now have a return code
When the state change is known to fail immediately, use
a return code instead of calling the callback.

Most of the callbacks didn't actually check for errors,
so this patch also doesn't check for errors on return
codes. That should be done in the future.

Change-Id: I67e03f93d7f53892473dfc073f4150e7e620cad2
Signed-off-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-on: https://review.gerrithub.io/394281
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
2018-01-17 17:28:13 -05:00
..
ctrlr_bdev.c nvmf: No longer route fabrics/admin commands to a single thread 2018-01-17 17:28:13 -05:00
ctrlr_discovery.c nvmf: add support of hotplug for nvmf. 2017-12-15 16:14:02 -05:00
ctrlr.c nvmf: No longer route fabrics/admin commands to a single thread 2018-01-17 17:28:13 -05:00
Makefile build: remove $(ENV_CFLAGS) where not necessary 2018-01-03 12:05:59 -05:00
nvmf_internal.h nvmf: Add synchronization primitives for subsystems 2018-01-03 11:58:11 -05:00
nvmf.c nvmf: Add synchronization primitives for subsystems 2018-01-03 11:58:11 -05:00
rdma.c nvmf: remove the unused thread variable 2018-01-11 11:00:11 -05:00
request.c nvmf: Fail incoming commands to an inactive subsystem 2018-01-17 17:28:13 -05:00
subsystem.c nvmf: State change functions now have a return code 2018-01-17 17:28:13 -05:00
transport.c nvmf: Remove poll group from controller 2017-12-12 15:01:17 -05:00
transport.h nvmf: Remove poll group from controller 2017-12-12 15:01:17 -05:00