diff options
author | Keith Busch <keith.busch@intel.com> | 2015-06-18 13:36:40 -0600 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2015-06-27 11:42:54 -0600 |
commit | 3399a3f7464a624db1b365dbce0fef0ef4636c05 (patch) | |
tree | 33d1342c9d2639948baeb9cabb22009e6a663612 /block/scsi_ioctl.c | |
parent | de3eff2bad56f0a29d3915105223d368f2bbc94e (diff) |
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>
Diffstat (limited to 'block/scsi_ioctl.c')
0 files changed, 0 insertions, 0 deletions