RE: [EXT] Re: [PATCH] nvme: Add abrupt shutdown support

From: Shivamurthy Shastri (sshivamurthy)
Date: Mon Jul 05 2021 - 07:16:04 EST


Micron Confidential

> >
> > Hi Christoph,
> >
> > >
> > >
> > > On Mon, Jul 05, 2021 at 10:11:57AM +0000, shiva.linuxworks@xxxxxxxxx
> wrote:
> > > > From: Shivamurthy Shastri <sshivamurthy@xxxxxxxxxx>
> > > >
> > > > Enabling the abrupt shutdown support. In this shutdown type host does
> > > > not need to send Delete I/O Submission Queue and Delete I/O Completion
> > > > queue commands to the device.
> > >
> > > Why?
> >
> > This is to achieve faster shutdown at the cost of data in-flight.
>
> What is the actual use case, and why would a module paramter be a good
> interface?

For systems with passive electronic components to handle power-loss/battery-removal,
CC.SHN=10b will help to achieve safer shutdown with relatively lower power back-up
requirements (at lower cost).

The module parameter gives flexibility to the host to decide shutdown type even during
boot failure.

Thanks,
Shiva

Micron Confidential