bdev/nvme: integrate NVMe character device with NVMe bdev
Added spdk_nvme_io_msg_process() in bdev_nvme_poll_adminq() to process io messages that were passed from non-polled mode threads to the controller. This is used as part of nvme cuse support for surfacing /dev nodes that can be used by standard Linux management applications like nvme-cli. Change-Id: If9e2e0b472c332aee54e3c6674bdd5fe616ab07c Signed-off-by: Tomasz Kulasek <tomaszx.kulasek@intel.com> Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Signed-off-by: Maciej Szwed <maciej.szwed@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/469692 Reviewed-by: Jim Harris <james.r.harris@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
parent
63364ccc4f
commit
5027dc7184
@ -210,6 +210,13 @@ bdev_nvme_poll_adminq(void *arg)
|
||||
{
|
||||
struct spdk_nvme_ctrlr *ctrlr = arg;
|
||||
|
||||
/* Process io messages that were passed from non-polled mode threads
|
||||
* to this ctrlr. This is used as part of nvme cuse support for surfacing
|
||||
* /dev nodes that can be used by standard Linux management applications
|
||||
* like nvme-cli.
|
||||
*/
|
||||
spdk_nvme_io_msg_process(ctrlr);
|
||||
|
||||
return spdk_nvme_ctrlr_process_admin_completions(ctrlr);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user