]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/nvme/host/pci.c
NVMe: Freeze admin queue on device failure
authorKeith Busch <keith.busch@intel.com>
Thu, 26 Mar 2015 19:49:33 +0000 (13:49 -0600)
committerJens Axboe <axboe@fb.com>
Tue, 31 Mar 2015 16:36:06 +0000 (10:36 -0600)
commit6df3dbc83fb8043a5975d75970d296d6d14f7273
treea26081013f618bc7ead04aa4f6035f7396a1e997
parentcbc4ffdbe72a1bad3dbed27bb6b2eaba2b11bcc3
NVMe: Freeze admin queue on device failure

This fixes a race accessing an invalid address when a controller's admin
queue is in use during a reset for failure or hot removal occurs. The
admin queue will be frozen to prevent new users from entering prior to
the doorbell queue being unmapped.

Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/nvme-core.c