All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sagi Grimberg <sagig@dev.mellanox.co.il>
To: Lee Duncan <lduncan@suse.com>, linux-scsi <linux-scsi@vger.kernel.org>
Cc: Christoph Hellwig <hch@infradead.org>,
	hare@suse.com, jthumshirn@suse.de, JBottomley@Parallels.com
Subject: Re: [PATCH 0/1] Update scsi hosts to use idr for host number mgmt
Date: Sun, 6 Sep 2015 10:32:34 +0300	[thread overview]
Message-ID: <55EBEC12.9030904@dev.mellanox.co.il> (raw)
In-Reply-To: <cover.1441412268.git.lduncan@suse.com>

On 9/5/2015 11:44 PM, Lee Duncan wrote:
> This is an updated version of a patch I submitted a few days ago.
>
> The previous versions of this patch updated the scsi hosts module
> to use the ida helper routines to allocate host numbers, instead
> of using a simple integer.
>
> Based on a suggestion by Christoph Hellwig, I decided to use the
> idr helper routines instead of the ida set, since the idr functions
> can also associate a pointer with an index.

While we're at it, why not include sd index conversion?

  parent reply	other threads:[~2015-09-06  7:32 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-05 20:44 [PATCH 0/1] Update scsi hosts to use idr for host number mgmt Lee Duncan
2015-09-05 20:44 ` [PATCH 1/1] " Lee Duncan
2015-09-06  7:34   ` Sagi Grimberg
2015-09-06 15:16     ` Lee Duncan
2015-09-10  1:31       ` Lee Duncan
2015-09-06  7:32 ` Sagi Grimberg [this message]
2015-09-06 15:12   ` [PATCH 0/1] " Lee Duncan

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=55EBEC12.9030904@dev.mellanox.co.il \
    --to=sagig@dev.mellanox.co.il \
    --cc=JBottomley@Parallels.com \
    --cc=hare@suse.com \
    --cc=hch@infradead.org \
    --cc=jthumshirn@suse.de \
    --cc=lduncan@suse.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.