RE: [PATCH 04/11] megaraid_sas : Firmware crash dump feature support

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

 



> From: linux-scsi-owner@xxxxxxxxxxxxxxx [mailto:linux-scsi-
> owner@xxxxxxxxxxxxxxx] On Behalf Of Sumit Saxena
> 
> >From: Tomas Henzl [mailto:thenzl@xxxxxxxxxx]
> >
> >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?
> >
> Agreed, we will disable this feature for kdump kernel by adding
> "reset_devices" global varaiable.
> That check is required for only one place, throughout the code, this
> feature will remain disabled.  Code snippet for the same-
> 
>         instance->crash_dump_drv_support = (!reset_devices) &&
> crashdump_enable &&
>                                 instance->crash_dump_fw_support &&
>                                 instance->crash_dump_buf);
>         if(instance->crash_dump_drv_support) {
>                 printk(KERN_INFO "megaraid_sas: FW Crash dump is
> supported\n");
>                 megasas_set_crash_dump_params(instance,
> MR_CRASH_BUF_TURN_OFF);
> 
>         } else {
> ..
>         }

Network drivers have been running into similar problems.

There's a new patch from Amir coming through net-next to make 
is_kdump_kernel() (in crash_dump.h) accessible to modules.
That may be a better signal than reset_devices that the
driver should use minimal resources.

http://comments.gmane.org/gmane.linux.network/324737

I'm not sure about the logistics of a SCSI patch depending
on a net-next patch.

---
Rob Elliott    HP Server Storage




��.n��������+%������w��{.n�����{������ܨ}���Ơz�j:+v�����w����ޙ��&�)ߡ�a����z�ޗ���ݢj��w�f





[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