All of lore.kernel.org
 help / color / mirror / Atom feed
* question about {target,expander,port}_id allocation for scsi_transport_sas
@ 2012-02-21  3:44 Yang Bai
  0 siblings, 0 replies; only message in thread
From: Yang Bai @ 2012-02-21  3:44 UTC (permalink / raw)
  To: JBottomley; +Cc: linux-scsi, linux-kernel

Hi all,

I want to move there 3 id allocation from the simple way to ida. I
have some questions about this:

1. We have a struct sas_host_attrs to hold the 3 int for the next id
and a mutex for protect them. What's the purpose of the other 2
members (rphy_list and q). Are they related about these 3 id's
allocation?

2. Since for ida, we need a static struct, and for there 3 ids, we
need 3. Where can I store them? In the host's struct? Or somewhere
else?


Thanks and waiting for your help,
Yang

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-02-21  3:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-21  3:44 question about {target,expander,port}_id allocation for scsi_transport_sas Yang Bai

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.