Re: [PATCH V2] nvme: fix nvme_remove going to uninterruptible sleep for ever
From: Christoph Hellwig
Date: Thu Jun 01 2017 - 08:46:36 EST
On Thu, Jun 01, 2017 at 03:36:50PM +0300, Rakesh Pandit wrote:
> Also Sagi pointed out that user space set_features ioctl if fired up
> in a window after nvme_removal it can also result in this issue seems
> to be correct. I would prefer to keep this as it is and introduce
> similar check higher up in nvme_ioctrl instead so that we don't send
> sync commands if queues are killed already.
>
> Would you prefer a patch ? Thanks,
If we want to kill everyone we probably should do it in ->queue_rq.
Or is the block layer blocking you somewhere else?