numam-spdk/lib/bdev
Daniel Verkamp ce4fcbce71 nvme: add I/O qpair creation options
Add a new struct spdk_nvme_io_qpair_opts to allow the user to override
controller options on a per-I/O qpair basis.

Existing callers with qprio == 0 can be updated to:

  ... = spdk_nvme_ctrlr_alloc_io_qpair(ctrlr, NULL, 0);

Callers that need to specify a non-default qprio should be updated to:

  struct spdk_nvme_io_qpair_opts opts;
  spdk_nvme_ctrlr_get_default_io_qpair_opts(ctrlr, &opts, sizeof(opts));
  opts.qprio = SPDK_NVME_QPRIO_...;
  ... = spdk_nvme_ctrlr_alloc_io_qpair(ctrlr, &opts, sizeof(opts));

Change-Id: I8ac3ea369535cfde759abbe75e1d974b6450a800
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/369676
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2017-07-18 18:33:20 -04:00
..
aio bdev: remove differentiation between bdev and vbdev modules 2017-07-14 13:31:30 -04:00
error bdev: pass descriptors for I/O operations 2017-07-14 13:31:30 -04:00
gpt gpt: fixed error-handling path for initializing gpt module 2017-07-18 17:57:45 -04:00
malloc bdev: remove differentiation between bdev and vbdev modules 2017-07-14 13:31:30 -04:00
null bdev: remove differentiation between bdev and vbdev modules 2017-07-14 13:31:30 -04:00
nvme nvme: add I/O qpair creation options 2017-07-18 18:33:20 -04:00
rbd bdev: remove differentiation between bdev and vbdev modules 2017-07-14 13:31:30 -04:00
rpc bdev: add vbdev claim/release semantics 2017-07-14 13:31:30 -04:00
split split: close descriptor and release bdev module when freeing split base 2017-07-18 17:57:45 -04:00
bdev.c add VTune support: spin-wait stat 2017-07-18 15:33:56 -04:00
Makefile GPT: add GPT bdev support 2017-07-06 13:44:37 -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