From: Hannes Reinecke <hare@suse.de>
To: James Bottomley <James.Bottomley@SteelEye.com>
Cc: SCSI Mailing List <linux-scsi@vger.kernel.org>
Subject: [PATCH 0/9] Resurrect sdev during scanning
Date: Wed, 23 May 2007 10:53:21 +0200 [thread overview]
Message-ID: <46540101.8060608@suse.de> (raw)
Hi James,
this is a patchset to address the outstanding 'sdev oops during
scanning' issue. Problem is that any sdev in state 'SDEV_DEL' is still
visible to the host until the refcount drops to zero. When a scan occurs
during this time we access a half-initialized sdev and all hell breaks
loose.
So to address this issue this patchset implements a
'scsi_resurrect_device()' function which will put an sdev in state
SDEV_DEL back to SDEV_RUNNING, thus allowing normal operations again.
In doing so I also had to clean up the sdev allocation and removal a bit
so that we're now more aligned to the state machine and the driver
core's device_initialize / device_add logic.
The entire patchset has been tested quite heavily with SLES10 SP1.
Comments etc. welcome.
Otherwise, please apply.
Cheers,
Hannes
--
Dr. Hannes Reinecke zSeries & Storage
hare@suse.de +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Markus Rex, HRB 16746 (AG Nürnberg)
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
reply other threads:[~2007-05-23 8:53 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=46540101.8060608@suse.de \
--to=hare@suse.de \
--cc=James.Bottomley@SteelEye.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 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.