diff options
author | Sagi Grimberg <sagi@grimberg.me> | 2018-01-14 12:39:00 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2018-01-15 16:20:10 +0100 |
commit | 79c48ccf2fec7c10105bd635d3bb1128167b1258 (patch) | |
tree | c8d9a3a54dddff50cb9be16ee91af01dba1f10ea /drivers/nvme/host/nvme.h | |
parent | bf9ae8c5325c0070d0ec81a849bba8d156f65993 (diff) |
nvme-pci: serialize pci resets
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/nvme/host/nvme.h')
-rw-r--r-- | drivers/nvme/host/nvme.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/nvme/host/nvme.h b/drivers/nvme/host/nvme.h index 4112fb6ce80d..77faf2049917 100644 --- a/drivers/nvme/host/nvme.h +++ b/drivers/nvme/host/nvme.h @@ -394,6 +394,7 @@ int nvme_set_queue_count(struct nvme_ctrl *ctrl, int *count); void nvme_start_keep_alive(struct nvme_ctrl *ctrl); void nvme_stop_keep_alive(struct nvme_ctrl *ctrl); int nvme_reset_ctrl(struct nvme_ctrl *ctrl); +int nvme_reset_ctrl_sync(struct nvme_ctrl *ctrl); int nvme_delete_ctrl(struct nvme_ctrl *ctrl); int nvme_delete_ctrl_sync(struct nvme_ctrl *ctrl); |