Spdk/lib/bdev
Jim Harris dfa0618d29 bdev: simplify completion callback deferring
We can do all of the completion work first, and then
make the decision at the very end on whether to
defer the callback or not.

This also removes the bdev_io defer_callback member -
we no longer need it since we now only defer the
callback itself, instead of deferring the full
execution of the spdk_bdev_io_complete() routine.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: I3285e34d2fbce34d4254dca2119561ff825ee9e8

Reviewed-on: https://review.gerrithub.io/365711
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2017-06-15 19:51:27 -04:00
..
aio bdev: change name and product_name to char * 2017-06-06 12:37:39 -04:00
error bdev/error: make sure error_disk is not NULL 2017-06-15 13:29:57 -04:00
malloc bdev, malloc: free name to avoid memory leak 2017-06-13 13:11:03 -04:00
null bdev: change name and product_name to char * 2017-06-06 12:37:39 -04:00
nvme bdev/nvme: Delete+Recreate I/O queues around a reset 2017-06-14 19:06:44 -04:00
rbd bdev: change name and product_name to char * 2017-06-06 12:37:39 -04:00
rpc bdev: make struct spdk_bdev contents private 2017-05-17 09:45:42 -07:00
split bdev: change name and product_name to char * 2017-06-06 12:37:39 -04:00
bdev.c bdev: simplify completion callback deferring 2017-06-15 19:51:27 -04:00
Makefile bdev: #include VTune file to control warnings 2017-06-08 12:44:25 -04:00
scsi_nvme.c bdev: add API to translate to SCSI status 2017-05-04 09:11:42 -07:00
vtune.c bdev: #include VTune file to control warnings 2017-06-08 12:44:25 -04:00