]> www.infradead.org Git - users/jedix/linux-maple.git/commit
nvme: add NVME_SC_CANCELLED
authorChristoph Hellwig <hch@lst.de>
Tue, 20 Dec 2016 00:24:17 +0000 (16:24 -0800)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 1 Jun 2017 20:40:45 +0000 (13:40 -0700)
commite6249a735d17e210d8f41431ae7387b7cef49bac
tree8234474dd85f8d895af302d3938e9389bc57ec24
parent0165891a9d1cdc71a8172d78440bcf19e4c6628f
nvme: add NVME_SC_CANCELLED

To properly document how we are using a negative Linux error value to
communicate request cancellations inside the driver.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
(cherry picked from commit 297465c873ae8c99180617ca904dc1a4a738f25d)

Orabug: 25130845
Conflicts:
drivers/nvme/host/pci.c

Signed-off-by: Ashok Vairavan <ashok.vairavan@oracle.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/nvme/host/nvme.h
drivers/nvme/host/pci.c