nvme: Add more command status translation
authorKeith Busch <keith.busch@intel.com>
Tue, 9 Jan 2018 19:04:14 +0000 (12:04 -0700)
committerJens Axboe <axboe@kernel.dk>
Wed, 10 Jan 2018 17:52:12 +0000 (10:52 -0700)
commite96fef2c3fa396dda680e943dddaa4f2a06e7b1c
tree953a10268ebb771f45454aea01002bca70304b77
parentfcd36c36f381f534adad5a6c6485db4405d5ea42
nvme: Add more command status translation

This adds more NVMe status code translations to blk_status_t values,
and captures all the current status codes NVMe multipath uses.

Acked-by: Mike Snitzer <snitzer@redhat.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/host/core.c