On 09/09/2014 06:18 PM, Elliott, Robert (Server Storage) wrote: > >> -----Original Message----- >> From: linux-scsi-owner@xxxxxxxxxxxxxxx [mailto:linux-scsi- >> owner@xxxxxxxxxxxxxxx] On Behalf Of Tomas Henzl >> Sent: Tuesday, 09 September, 2014 10:54 AM >> Subject: Re: [PATCH 04/11] megaraid_sas : Firmware crash dump feature >> support >> >> On 09/06/2014 03:25 PM, Sumit.Saxena@xxxxxxxxxxxxx wrote: >>> This feature will provide similar interface as kernel crash dump >> feature. >>> When megaraid firmware encounter any crash, driver will collect the >> firmware raw image and >>> dump it into pre-configured location. >>> > ... >> With several controllers in a system this may take a lot memory, >> could you also >> in case when a kdump kernel is running lower it, by not using this >> feature? > What is the correct way for a driver to determine that it is > running in a kdump kernel? The reset_devices global variable? Yes reset_devices is used for this purpose. I think, that I've seen some drivers even trying to reduce the normal mem use, because a top performance is not needed. > > > --- > Rob Elliott HP Server Storage > > > > N�����r��y���b�X��ǧv�^�){.n�+����{���"�{ay�ʇڙ�,j��f���h���z��w������j:+v���w�j�m��������zZ+�����ݢj"��!tml= -- 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