[EXT] Re: [PATCH] nvme: Add abrupt shutdown support
Shivamurthy Shastri (sshivamurthy)
sshivamurthy at micron.com
Mon Jul 5 04:15:51 PDT 2021
Micron Confidential
> >
> > Hi Christoph,
> >
> > >
> > >
> > > On Mon, Jul 05, 2021 at 10:11:57AM +0000, shiva.linuxworks at gmail.com
> wrote:
> > > > From: Shivamurthy Shastri <sshivamurthy at micron.com>
> > > >
> > > > 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
More information about the Linux-nvme
mailing list