NVMe: Fix device probe waiting on kthread
authorKeith Busch <keith.busch@intel.com>
Mon, 22 Sep 2014 19:46:19 +0000 (13:46 -0600)
committerJens Axboe <axboe@fb.com>
Tue, 4 Nov 2014 20:17:10 +0000 (13:17 -0700)
If we ever do parallel device probing, we need to wake up all processes
waiting for nvme kthread to start, not just one. This is currently
serialized so the bug is not reachable today, but fixing this anyway in
the hopes we implement parallel or asynchronous probe in the future.

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

Simple merge