From: James Bottomley <James.Bottomley@HansenPartnership.com>
To: "Kashyap, Desai" <kashyap.desai@lsi.com>
Cc: linux-scsi@vger.kernel.org, Eric.Moore@lsi.com, Sathya.Prakash@lsi.com
Subject: Re: [PATCH 1/6] mpt2sas: Power cycling cascaded expanders causes kernel panic
Date: Thu, 30 Jul 2009 09:08:11 -0500 [thread overview]
Message-ID: <1248962891.3880.18.camel@mulgrave.site> (raw)
In-Reply-To: <20090730125127.GB20582@lsi.com>
On Thu, 2009-07-30 at 18:21 +0530, Kashyap, Desai wrote:
> Code cleanup of the host reset handling of the driver, and fix host plug work thread deadlocks, and kernel panics.
>
> Summary of the changes:
>
> (1) removed ioc->ioc_reset_in_progress flag, replaced with ioc->shost_recovery.
> (2) removed the spin lock around reading ioc->shost_recovery.
> (3) removed changing shost state during host reset handling; such as SHOST_RECOVERY
> (4) moved rescanning the devices, updating handles, and deleting not responding devices to the same contents at the host reset handling.
> (5) return SCSI_MLQUEUE_DEVICE_BUSY from _qcmd when sas_target_priv_data->tm_busy is set
> (6) set SDEV_RUNNING from contents of the interrupt, instead of work threads
> (7) when there is a failure during _scsih_expander_add, need to call mpt2sas_transport_port_remove to properly tear down the port.
Will you please *not* do this. A kernel panic fix should be completely
separate from code cleanups (primarily because it will likely need
backporting to stable kernels). The rule is one patch per functional
change (code cleanups, since they technically should have no functional
changes, can be in a single patch).
Could we have a pointer to the panic and an indication whether
backporting to stable is necessary?
James
prev parent reply other threads:[~2009-07-30 14:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-30 12:51 [PATCH 1/6] mpt2sas: Power cycling cascaded expanders causes kernel panic Kashyap, Desai
2009-07-30 14:08 ` James Bottomley [this message]
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=1248962891.3880.18.camel@mulgrave.site \
--to=james.bottomley@hansenpartnership.com \
--cc=Eric.Moore@lsi.com \
--cc=Sathya.Prakash@lsi.com \
--cc=kashyap.desai@lsi.com \
--cc=linux-scsi@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox