OSDN Git Service

nvme: include admin_q sync with nvme_sync_queues
authorEdmund Nadolski <edmund.nadolski@intel.com>
Tue, 3 Sep 2019 20:08:47 +0000 (14:08 -0600)
committerSagi Grimberg <sagi@grimberg.me>
Thu, 12 Sep 2019 15:50:45 +0000 (08:50 -0700)
commit03894b7a896dc6eb3870e197bd7414ab0c947cbf
treea3be156f78a3a9322fab5e87c2577611f326d189
parentc26aa572027d438de9cc311aaebcbe972f698c24
nvme: include admin_q sync with nvme_sync_queues

nvme_sync_queues currently syncs all namespace queues, but should
also sync the admin queue, if present.

Signed-off-by: Edmund Nadolski <edmund.nadolski@intel.com>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
drivers/nvme/host/core.c