All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] nvme: fix hang in path of removing disk
@ 2017-05-17  1:27 ` Ming Lei
  0 siblings, 0 replies; 36+ messages in thread
From: Ming Lei @ 2017-05-17  1:27 UTC (permalink / raw)
  To: Jens Axboe, Keith Busch, Christoph Hellwig, Sagi Grimberg
  Cc: linux-nvme, Zhang Yi, linux-block, Ming Lei

The 1st patch fixes one race between resettting failure and remove.

The 2nd patch avoids hanging in del_gendisk() if del_gendisk() waits
for these submitted writeback requests.

Keith, about the 1st patch, as we talked, there are two directions for
fixing the 1st issue, I know you may be working towards treating this
reset failure as controller dead, and not completed yet. But if
nvme_remove_dead_ctrl() is needed in any one of reset failure path,
this patch is still required. Seems both two directions aren't
contradictorily.

Ming Lei (2):
  nvme: fix race between removing and reseting failure
  nvme: avoid to hang in remove disk

 drivers/nvme/host/core.c | 8 ++++++++
 drivers/nvme/host/pci.c  | 9 ++++++++-
 2 files changed, 16 insertions(+), 1 deletion(-)

-- 
2.9.3

^ permalink raw reply	[flat|nested] 36+ messages in thread

end of thread, other threads:[~2017-05-19 16:55 UTC | newest]

Thread overview: 36+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-17  1:27 [PATCH 0/2] nvme: fix hang in path of removing disk Ming Lei
2017-05-17  1:27 ` Ming Lei
2017-05-17  1:27 ` [PATCH 1/2] nvme: fix race between removing and reseting failure Ming Lei
2017-05-17  1:27   ` Ming Lei
2017-05-17  6:38   ` Johannes Thumshirn
2017-05-17  6:38     ` Johannes Thumshirn
2017-05-17  7:01     ` Ming Lei
2017-05-17  7:01       ` Ming Lei
2017-05-18 13:47   ` Christoph Hellwig
2017-05-18 13:47     ` Christoph Hellwig
2017-05-18 15:04     ` Ming Lei
2017-05-18 15:04       ` Ming Lei
2017-05-18 14:13   ` Keith Busch
2017-05-18 14:13     ` Keith Busch
2017-05-19 12:52     ` Ming Lei
2017-05-19 12:52       ` Ming Lei
2017-05-19 15:15       ` Keith Busch
2017-05-19 15:15         ` Keith Busch
2017-05-19 14:41   ` Jens Axboe
2017-05-19 14:41     ` Jens Axboe
2017-05-19 15:10     ` Ming Lei
2017-05-19 15:10       ` Ming Lei
2017-05-19 16:40     ` Ming Lei
2017-05-19 16:40       ` Ming Lei
2017-05-19 16:55       ` yizhan
2017-05-19 16:55         ` yizhan
2017-05-17  1:27 ` [PATCH 2/2] nvme: avoid to hang in remove disk Ming Lei
2017-05-17  1:27   ` Ming Lei
2017-05-18 13:49   ` Christoph Hellwig
2017-05-18 13:49     ` Christoph Hellwig
2017-05-18 15:35     ` Ming Lei
2017-05-18 15:35       ` Ming Lei
2017-05-18 16:06       ` Keith Busch
2017-05-18 16:06         ` Keith Busch
2017-05-19 13:19         ` Ming Lei
2017-05-19 13:19           ` Ming Lei

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.