From: Mike Snitzer <snitzer@redhat.com>
To: "Moger, Babu" <Babu.Moger@netapp.com>
Cc: Linux SCSI Mailing list <linux-scsi@vger.kernel.org>,
device-mapper development <dm-devel@redhat.com>,
hare@suse.de
Subject: Re: [RESEND][PATCH 4/4] scsi_dh: code cleanup and remove the references to scsi_dev_info
Date: Wed, 30 Nov 2011 17:52:11 -0500 [thread overview]
Message-ID: <20111130225211.GA18168@redhat.com> (raw)
In-Reply-To: <47D23AD8469A2B448F33C24BD7A39BD9105DBE66@RTPMVEXC1-PRD.hq.netapp.com>
On Thu, Nov 03 2011 at 11:52am -0400,
Moger, Babu <Babu.Moger@netapp.com> wrote:
> All the handlers have implemented the match function(look at patch 1, 2, 3).
> We don't need to use scsi_dev_info any more for matching purposes.
> Cleaning up the scsi_dh code.
>
> FYI..
> Match function was originally implemented by this
>
> http://www.spinics.net/lists/linux-scsi/msg54284.html
> or
> http://git.kernel.org/?p=linux/kernel/git/jejb/scsi-misc-2.6.git;a=commit;h=6c3633d08acf514e2e89aa95d2346ce9d64d719a
>
> Signed-off-by: Babu Moger <babu.moger@netapp.com>
Looks good, effectively reverts commit 940d7faa481
But SCSI_DEVINFO_DH can be removed too:
diff --git a/drivers/scsi/scsi_priv.h b/drivers/scsi/scsi_priv.h
index a6ebf4c..1fbf7c7 100644
--- a/drivers/scsi/scsi_priv.h
+++ b/drivers/scsi/scsi_priv.h
@@ -44,7 +44,6 @@ static inline void scsi_log_completion(struct scsi_cmnd *cmd, int disposition)
enum {
SCSI_DEVINFO_GLOBAL = 0,
SCSI_DEVINFO_SPI,
- SCSI_DEVINFO_DH,
};
extern int scsi_get_device_flags(struct scsi_device *sdev,
next prev parent reply other threads:[~2011-11-30 22:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-03 15:52 [RESEND][PATCH 4/4] scsi_dh: code cleanup and remove the references to scsi_dev_info Moger, Babu
2011-11-04 7:35 ` [dm-devel] " Hannes Reinecke
2011-11-30 22:52 ` Mike Snitzer [this message]
2011-11-30 23:20 ` Moger, Babu
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=20111130225211.GA18168@redhat.com \
--to=snitzer@redhat.com \
--cc=Babu.Moger@netapp.com \
--cc=dm-devel@redhat.com \
--cc=hare@suse.de \
--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.