All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Elliott, Robert (Server Storage)" <Elliott@hp.com>
To: Sumit Saxena <sumit.saxena@avagotech.com>,
	Tomas Henzl <thenzl@redhat.com>,
	"linux-scsi@vger.kernel.org" <linux-scsi@vger.kernel.org>
Cc: "martin.petersen@oracle.com" <martin.petersen@oracle.com>,
	"hch@infradead.org" <hch@infradead.org>,
	"jbottomley@parallels.com" <jbottomley@parallels.com>,
	Kashyap Desai <kashyap.desai@avagotech.com>,
	"aradford@gmail.com" <aradford@gmail.com>,
	Michal Schmidt <mschmidt@redhat.com>,
	"amirv@mellanox.com" <amirv@mellanox.com>,
	"vgoyal@redhat.com" <vgoyal@redhat.com>,
	"Jens Axboe <axboe@kernel.dk> (axboe@kernel.dk)"
	<axboe@kernel.dk>,
	"scameron@beardog.cce.hp.com" <scameron@beardog.cce.hp.com>
Subject: RE: [PATCH 04/11] megaraid_sas : Firmware crash dump feature support
Date: Wed, 10 Sep 2014 15:06:48 +0000	[thread overview]
Message-ID: <94D0CD8314A33A4D9D801C0FE68B402958C70F51@G9W0745.americas.hpqcorp.net> (raw)
In-Reply-To: <55ba5d7cdee7dbcce18dc1a2bbbefc03@mail.gmail.com>

> From: linux-scsi-owner@vger.kernel.org [mailto:linux-scsi-
> owner@vger.kernel.org] On Behalf Of Sumit Saxena
> 
> >From: Tomas Henzl [mailto:thenzl@redhat.com]
> >
> >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





  reply	other threads:[~2014-09-10 15:07 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-06 13:25 [PATCH 04/11] megaraid_sas : Firmware crash dump feature support Sumit.Saxena
2014-09-09 15:54 ` Tomas Henzl
2014-09-09 16:18   ` Elliott, Robert (Server Storage)
2014-09-10 10:08     ` Tomas Henzl
2014-09-10 12:12   ` Sumit Saxena
2014-09-10 15:06     ` Elliott, Robert (Server Storage) [this message]
2014-09-10 15:28       ` Tomas Henzl
2014-09-10 15:46         ` Vivek Goyal
2014-09-11  9:02           ` Kashyap Desai
2014-09-11 11:20             ` Tomas Henzl
2014-09-11 16:39               ` Kashyap Desai
2014-09-11 17:02                 ` Vivek Goyal
2014-09-11 18:58                 ` Tomas Henzl
2014-09-11 19:11                   ` Kashyap Desai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=94D0CD8314A33A4D9D801C0FE68B402958C70F51@G9W0745.americas.hpqcorp.net \
    --to=elliott@hp.com \
    --cc=amirv@mellanox.com \
    --cc=aradford@gmail.com \
    --cc=axboe@kernel.dk \
    --cc=hch@infradead.org \
    --cc=jbottomley@parallels.com \
    --cc=kashyap.desai@avagotech.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=martin.petersen@oracle.com \
    --cc=mschmidt@redhat.com \
    --cc=scameron@beardog.cce.hp.com \
    --cc=sumit.saxena@avagotech.com \
    --cc=thenzl@redhat.com \
    --cc=vgoyal@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.