[PATCH] nvme: Add error checking in nvme_create_io_queues
Keith Busch
keith.busch at intel.com
Thu Sep 24 12:23:27 PDT 2015
On Thu, 24 Sep 2015, Jon Derrick wrote:
> allow nvme_create_io_queues to return an error if the first io queue
> fails to be allocated or initialized
If the driver gets far enough to attempt creating IO queues, the device
can be managed so I don't think we want to error out and bail on the
device in this scenario, even though it is not IO capable.
> Signed-off-by: Jon Derrick <jonathan.derrick at intel.com>
> ---
> drivers/block/nvme-core.c | 20 ++++++++++++++++----
> 1 file changed, 16 insertions(+), 4 deletions(-)
More information about the Linux-nvme
mailing list