]> www.infradead.org Git - users/jedix/linux-maple.git/commit
nvme: refactor set_queue_count
authorChristoph Hellwig <hch@lst.de>
Tue, 20 Dec 2016 00:07:25 +0000 (16:07 -0800)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 1 Jun 2017 20:40:41 +0000 (13:40 -0700)
commitad30cbdb5bdad9483969161121c1ed71fdb760d1
treeb98aec7c51a319a962661830bddbc446c25ff1fb
parent3456f816553ebafd85beb8a2989c9b1f13d8b23a
nvme: refactor set_queue_count

Split out a helper that just issues the Set Features and interprets the
result which can go to common code, and document why we are ignoring
non-timeout error returns in the PCIe driver.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
(cherry picked from commit 9a0be7abb62ff2a7dc3360ab45c31f29b3faf642)

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/core.c
drivers/nvme/host/nvme.h
drivers/nvme/host/pci.c