Spdk/test/unit/lib/nvme
Jin Yu 59237d22b8 lib: add a hotplug lib for device
The hotplug lib can be used for pcie devices
such as nvme, virtio_blk and virtio scsi.

For the sigbus handler, there is only one in a
process and it should handle all the devices.

And align nvme to the hotplug lib

Add the ADD uevent support for allowing the
device hotplug.

Change-Id: I82cd3b4af38ca24cee8b041a215a85c4a69e60f7
Signed-off-by: Jin Yu <jin.yu@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/5653
Community-CI: Broadcom CI
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: <dongx.yi@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
2021-04-12 09:48:21 +00:00
..
nvme_ctrlr_cmd.c test/nvme_ctrlr_cmd: initialize mutex 2021-02-04 08:38:12 +00:00
nvme_ctrlr_ocssd_cmd.c nvme: Move nsdata to namespace structure 2021-03-02 08:06:15 +00:00
nvme_ctrlr.c test/nvme_ctrlr: cases for ctrlr adding and removing process 2021-03-31 08:52:08 +00:00
nvme_cuse.c test/nvme_cuse: build nvme_cuse unittest file 2021-03-12 08:31:11 +00:00
nvme_io_msg.c test/nvme_io_msg: cases for io_msg_ctrlr register and unregister 2021-03-29 07:35:04 +00:00
nvme_ns_cmd.c lib: add a hotplug lib for device 2021-04-12 09:48:21 +00:00
nvme_ns_ocssd_cmd.c lib: add a hotplug lib for device 2021-04-12 09:48:21 +00:00
nvme_ns.c unittest/nvme_ns: increase code coverage 2021-03-30 11:48:54 +00:00
nvme_pcie_common.c test/nvme_pcie_common: build nvme_pcie_common unittest file 2021-03-22 09:46:48 +00:00
nvme_pcie.c lib: add a hotplug lib for device 2021-04-12 09:48:21 +00:00
nvme_poll_group.c nvme: Add a new parameter in spdk_nvme_poll_group_create 2021-03-18 14:42:35 +00:00
nvme_qpair.c nvme: Don't log an error when we can't resubmit all requests 2020-10-26 11:48:46 +00:00
nvme_quirks.c log: simplify SPDK_LOG_REGISTER_COMPONENT 2020-10-14 08:00:35 +00:00
nvme_rdma.c unittest/nvme_rdma: increase code coverage for nvme_rdma_req 2021-03-24 12:00:23 +00:00
nvme_tcp.c unittest/nvme_tcp: increase code coverage for nvme_tcp_qpair_send_h2c_term_req 2021-03-12 08:35:21 +00:00
nvme_transport.c test/nvme_transport: cases for adding and removing poll group 2021-03-22 09:46:18 +00:00
nvme.c lib: add a hotplug lib for device 2021-04-12 09:48:21 +00:00
Makefile lib: add a hotplug lib for device 2021-04-12 09:48:21 +00:00