]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/block/nvme.c
NVMe: End queued bio requests when freeing queue
authorKeith Busch <keith.busch@intel.com>
Mon, 20 Aug 2012 20:57:49 +0000 (14:57 -0600)
committerMatthew Wilcox <matthew.r.wilcox@intel.com>
Tue, 13 Nov 2012 14:13:49 +0000 (09:13 -0500)
commit3295874b6074d749516d6decd43afad7bf6e38ff
treeff2acce6c13bdaed845b00b9960b0663c24ce589
parent859361a228258edf4821d9f5635825033eca78e8
NVMe: End queued bio requests when freeing queue

If the queue has bios queued on it when it is freed, bio_endio() must be
called for them first.

Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
drivers/block/nvme.c