]> www.infradead.org Git - users/jedix/linux-maple.git/commit
NVMe: Fix filesystem deadlock on removal
authorKeith Busch <keith.busch@intel.com>
Thu, 6 Aug 2015 18:13:50 +0000 (11:13 -0700)
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>
Fri, 7 Aug 2015 18:21:07 +0000 (11:21 -0700)
commit52281e8d6cfb882fa2f9cb7c756186dc1d26b6a1
tree2cab98e7340b7b26dd98f4bd6c81b47cd2a1b47d
parent6f09ea9c7080aa2a894fba779b796d560158e794
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>
Conflicts:

drivers/block/nvme-core.c

Orabug: 21569452
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
drivers/block/nvme-core.c