Re: [PATCH 1/2] megaraid_sas: Remove the shutdown_controller call

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Aug 24, 2011 at 8:35 AM, Tomas Henzl <thenzl@xxxxxxxxxx> wrote:
> Remove the call to megasas_shutdown_controller in the megasas_shutdown.

NACK.   The call to megasas_shutdown_controller() should not be removed.

megasas_shutdown_controller() does 3 things:

1. Cancels pended AEN command in firmware.
2. Cancels pended map update command in firmware.
3. Fires a MR_DCMD_CTRL_SHUTDOWN to notify firmware there was a clean
shutdown.  Without this, FW will think there was an 'unclean shutdown'
on the next restart, which will cause rebuilds and other background FW
activity to kick on every shutdown/reboot.

-Adam
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux