Re: [PATCHv2 0/6] nvme: double reset prevention

Keith Busch
2019-09-20T17:55:01Z

On Fri, Sep 20, 2019 at 10:51:52AM -0700, Sagi Grimberg wrote:
>
> > The main objective of this series is to prevent double resets. This sort
> > of thing is known to have happened if a timeout occurs at roughly the same time
> > as a user intiated reset, like through through PCIe's FLR.
> >
> > The double reset could happen because the controller disabling had been
> > occuring outside of the RESETTING state when we can't schedule the
> > reset_work, which is to occur later. When another reset schedules in
> > between these events, the controller ends up in the wrong state.
> >
> > The end result of this series is simply to block subsequent resets by
> > initializing the controller state to RESETTING without actually
> > scheduling the reset_work. The first patches in this series are simply
>
> are simply what?

Oops, cut off my message.

Simply fixing issues discovered while testing the changes.