From: keith.busch@intel.com (Keith Busch) Date: Wed, 9 Sep 2015 16:09:04 +0000 (UTC) Subject: [PATCH] NVMe: Force cancel commands on hot-removal In-Reply-To: References: <1441743187-12277-1-git-send-email-keith.busch@intel.com> Message-ID: 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.