Messages in this thread | | | From | "Shivamurthy Shastri (sshivamurthy)" <> | Subject | RE: [EXT] Re: [PATCH] nvme: Add abrupt shutdown support | Date | Mon, 5 Jul 2021 11:15:51 +0000 |
| |
Micron Confidential
> > > > Hi Christoph, > > > > > > > > > > > On Mon, Jul 05, 2021 at 10:11:57AM +0000, shiva.linuxworks@gmail.com > wrote: > > > > From: Shivamurthy Shastri <sshivamurthy@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
| |