]> git.baikalelectronics.ru Git - kernel.git/commit
NVMe: Fix filesystem deadlock on removal
authorKeith Busch <keith.busch@intel.com>
Thu, 18 Jun 2015 19:36:40 +0000 (13:36 -0600)
committerJens Axboe <axboe@fb.com>
Sat, 27 Jun 2015 17:42:54 +0000 (11:42 -0600)
commit98450d5a98d266ae41570799a612ae187def4883
tree33d1342c9d2639948baeb9cabb22009e6a663612
parent9157a78d15d88c683a6bced104bd5632a0b95804
NVMe: Fix filesystem deadlock on removal

Move gendisk deletion before controller shutdown so filesystem may sync
dirty pages. Before, this would deadlock trying to allocate requests
on frozen queues that are about to be deleted.

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