[PATCH] NVMe: Force cancel commands on hot-removal
Keith Busch
keith.busch at intel.com
Wed Sep 9 09:09:04 PDT 2015
On Wed, 9 Sep 2015, Mohana Goli wrote:
> But issue is not seen if i use the my fix ,doing nvme_dev_shutdown
> first and nvme_dev_remove in nvme_remove function.And calling
> blk_cleanup_queue(ns->queue) before calling del_gendisk in
> nvme_ns_remove function.
The problem with your way is an orderly removal won't be able to sync
dirty data, which is something you _really_ want to happen if it at
all possible.
More information about the Linux-nvme
mailing list