Re: [Fastboot] [PATCH] kdump: add a missing notifier before crashing

From: Preben Traerup
Date: Mon Jun 19 2006 - 09:32:37 EST


Eric W. Biederman wrote:

"Akiyama, Nobuyuki" <akiyama.nobuyuk@xxxxxxxxxxxxxx> writes:



On Fri, 16 Jun 2006 10:37:05 -0600
ebiederm@xxxxxxxxxxxx (Eric W. Biederman) wrote:



The processing of the notifier is to make a SCSI adaptor power off to
stop writing in the shared disk completely and then notify to standby-node.


The kernel has called panic no new SCSI operations were execute.
I'm not saying don't notify your standby-node


As you say, the kernel does not do anything about SCSI operations.
But many SCSI adaptors flush their cache after a few seconds pass
after a SCSI write command is invoked, especially RAID cards.
To completely stop writing immediately, we should make the adaptor
power off.



Yes. Although I don't have a clue what big scsi has to do with a
telco systems.


Strictly speaking for myself: Nothing.

Mr. Akiyama Nobuyuk gave an example from his environment which is cluster systems.
I was the one saying we in our Telco systems could use this feature too.

The only thing Mr. Akiyama Nobuyuk and I have in common is we both would like to do
something before crash dumping, simply because the less mess we will have to cleanup
afterwards in the system taking over, the better.

Mr. Akiyama Nobuyuk operates on SCSI devices to avoid filesystem corruptions.
My usage would be more like notifying external management to get traffic redirected to server systems taking over.

./Preben



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/