Re: [PATCH] mptsas : reserving a channel for integrated raid

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

 



On Tue, 2006-07-11 at 10:25 -0600, Eric Moore wrote:
> Recent changes in the sas transport layer have taken
> ownership of port_id(channel) assignments. Previously
> this was owned by the scsi lld, and mptsas code was written
> to reserve the channel beyond the last port id for integrated
> raid.  With this change in the transport layer, any non-raid devices
> that land on the reserved channel will not be detected due to
> improper firmware h:c:t:l mapping calculation.
> 
> This patch moves the reserved channel to -1. This can be
> easily changed to some other value in the future release
> since its a hash define.

I don't think -1 showing up in the channel field is a good idea ... I
bet it will confuse parsers of that information.

> Its higly doubtfull the transport layer would ever
> use up all the port ids, and wrap back around to zero since
> this is int.

Do we still need this channel number as port number stuff anyway?
Originally it was the outgoing phy that was identified in the channel,
but even that's no longer true.  Since the target ids are assigned per
HBA, they're unique enough without requiring additional channel
stuff ... how about killing the non zero channel in the sas transport
class and then you can simply use 1 for the raid virtual channel?

James


-
: 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