question about {target,expander,port}_id allocation for scsi_transport_sas

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux