From: Mike Christie <michaelc@cs.wisc.edu>
To: michaelc@cs.wisc.edu
Cc: linux-scsi@vger.kernel.org
Subject: Re: [PATCH 1/1] fc class: fix scanning when devs are offline
Date: Mon, 23 Apr 2012 16:26:22 -0500 [thread overview]
Message-ID: <4F95C8FE.70001@cs.wisc.edu> (raw)
In-Reply-To: <1334544470-2300-1-git-send-email-michaelc@cs.wisc.edu>
On 04/15/2012 09:47 PM, michaelc@cs.wisc.edu wrote:
> From: Mike Christie <michaelc@cs.wisc.edu>
>
> When a rport is added back or the role is changed the fc class
> will queue a scan and then call scsi_target_unblock. The problem
> with this is if the devices are in the SDEV_OFFLINE state and
> the scan is run before the scsi_target_unblock, then the scan
> will see LUN0 as offline and the scan will fail. This patch moves
> the unblock call to before the scan, so we know the device state
> will be set correctly when the scan is run.
I forgot to add my signed off for the patch.
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
prev parent reply other threads:[~2012-04-23 21:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-16 2:47 [PATCH 1/1] fc class: fix scanning when devs are offline michaelc
2012-04-23 21:26 ` Mike Christie [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=4F95C8FE.70001@cs.wisc.edu \
--to=michaelc@cs.wisc.edu \
--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.