]> www.infradead.org Git - users/jedix/linux-maple.git/commit
NVMe: Return busy status on suspended queue
authorKeith Busch <keith.busch@intel.com>
Thu, 25 Jun 2015 15:32:38 +0000 (08:32 -0700)
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>
Mon, 29 Jun 2015 22:33:10 +0000 (15:33 -0700)
commit4c7dfd0755869ce93d272475bc7f3cad3e88873b
tree86b479f895397d6bb9bf48e8aa00493ff0c15893
parentb953c0d234bc72e8489d3bf51a276c5c4ec85345
NVMe: Return busy status on suspended queue

The sync path previously scheduled itself out unconditionally, but
that shouldn't happen if the command wasn't posted to the submission
queue. This patch returns immediately when the suspended queue returns
busy status.

Orabug: 21316131

Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
drivers/block/nvme-core.c