Re: [Patch 2/2] cciss: add reboot notifier support to driver

2007-02-21 Thread Christoph Hellwig
On Wed, Feb 21, 2007 at 03:12:51PM -0600, Mike Miller (OS Dev) wrote: > Patch 2/2 > > This patch adds reboot_notifier support to cciss. Changes in firmware make > this patch > essential. Without this patch there may be valid data left in the > controller's battery > backed write cache (BBWC) on

Re: [Patch 2/2] cciss: add reboot notifier support to driver

2007-02-21 Thread Andrew Morton
On Wed, 21 Feb 2007 15:12:51 -0600 "Mike Miller (OS Dev)" <[EMAIL PROTECTED]> wrote: > @@ -3293,6 +3327,12 @@ #endif > ((hba[i]->nr_cmds + BITS_PER_LONG - >1) / BITS_PER_LONG) * sizeof(unsigned long)); > > + if (notify_count == 0) { > +

[Patch 2/2] cciss: add reboot notifier support to driver

2007-02-21 Thread Mike Miller (OS Dev)
Patch 2/2 This patch adds reboot_notifier support to cciss. Changes in firmware make this patch essential. Without this patch there may be valid data left in the controller's battery backed write cache (BBWC) on shutdown. We found out the hard way that the kernel does not call our cleanup

[Patch 2/2] cciss: add reboot notifier support to driver

2007-02-21 Thread Mike Miller (OS Dev)
Patch 2/2 This patch adds reboot_notifier support to cciss. Changes in firmware make this patch essential. Without this patch there may be valid data left in the controller's battery backed write cache (BBWC) on shutdown. We found out the hard way that the kernel does not call our cleanup

Re: [Patch 2/2] cciss: add reboot notifier support to driver

2007-02-21 Thread Andrew Morton
On Wed, 21 Feb 2007 15:12:51 -0600 Mike Miller (OS Dev) [EMAIL PROTECTED] wrote: @@ -3293,6 +3327,12 @@ #endif ((hba[i]-nr_cmds + BITS_PER_LONG - 1) / BITS_PER_LONG) * sizeof(unsigned long)); + if (notify_count == 0) { +

Re: [Patch 2/2] cciss: add reboot notifier support to driver

2007-02-21 Thread Christoph Hellwig
On Wed, Feb 21, 2007 at 03:12:51PM -0600, Mike Miller (OS Dev) wrote: Patch 2/2 This patch adds reboot_notifier support to cciss. Changes in firmware make this patch essential. Without this patch there may be valid data left in the controller's battery backed write cache (BBWC) on