All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: Mike Snitzer <snitzer@redhat.com>
Cc: linux-scsi@vger.kernel.org, agk@redhat.com, hare@suse.de,
	babu.moger@netapp.com, sekharan@us.ibm.com
Subject: Re: [PATCH v3 2/5] scsi_dh: add scsi_dh_attached_handler_name
Date: Thu, 10 May 2012 02:55:48 -0400	[thread overview]
Message-ID: <20120510065548.GA5728@infradead.org> (raw)
In-Reply-To: <1336612366-30794-1-git-send-email-snitzer@redhat.com>

On Wed, May 09, 2012 at 09:12:46PM -0400, Mike Snitzer wrote:
> Originally posted to dm-devel but Chandra reminded me to post to
> linux-scsi for James to pick it up.
> 
> -------8<-------
> 
> Introduce scsi_dh_attached_handler_name() to retrieve the name of the
> scsi_dh that is attached to the scsi_device associated with the provided
> request queue.  Returns NULL if a scsi_dh is not attached.
> 
> Also, fix scsi_dh_{attach,detach} function header comments to document
> @q rather than @sdev.

Wha'ts the use case for this?  The name is stale as soon as the function
returns.


  reply	other threads:[~2012-05-10  6:55 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-10  1:12 [PATCH v3 2/5] scsi_dh: add scsi_dh_attached_handler_name Mike Snitzer
2012-05-10  6:55 ` Christoph Hellwig [this message]
2012-05-10 14:10   ` Mike Snitzer
2012-05-10 18:14     ` Moger, Babu
2012-05-10 20:26     ` Moger, Babu
2012-05-10 21:31 ` [PATCH v4 " Mike Snitzer
2012-05-17 21:12   ` Chandra Seetharaman
2012-05-17 21:23     ` Mike Snitzer
2012-05-17 22:57       ` Chandra Seetharaman
2012-05-17 22:58   ` Chandra Seetharaman
2012-05-21 18:45     ` Mike Snitzer
2012-06-08 15:03   ` Hannes Reinecke
  -- strict thread matches above, loose matches on Subject: below --
2012-05-08 21:56 [PATCH v2 0/5] dm mpath: add 'default_hw_handler' and 'no_partitions' features Mike Snitzer
2012-05-08 21:56 ` [PATCH v2 2/5] scsi_dh: add scsi_dh_attached_handler_name Mike Snitzer
2012-05-09 17:40   ` Moger, Babu
2012-05-09 20:41     ` [PATCH v3 " Mike Snitzer
2012-05-09 20:41     ` Mike Snitzer
2012-05-09 22:54       ` Chandra Seetharaman
2012-05-09 22:54       ` Chandra Seetharaman

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=20120510065548.GA5728@infradead.org \
    --to=hch@infradead.org \
    --cc=agk@redhat.com \
    --cc=babu.moger@netapp.com \
    --cc=hare@suse.de \
    --cc=linux-scsi@vger.kernel.org \
    --cc=sekharan@us.ibm.com \
    --cc=snitzer@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.