Re: ib_srpt.spec bug?

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

 



On Mon, 2012-03-19 at 12:19 -0600, Marcus Sorensen wrote:
> I think something changed recently, because the
> rtslib/specs/ib_srpt.spec file had this in the filter:
> 
> # Transform 'fe80:0000:0000:0000:0002:1903:000e:8acd' WWN notation to
> # '0x00000000000000000002c903000e8acd'
> wwn_from_files_filter = "sed -e s/fe80/0x0000/ -e 's/\://g'"
> 
> However, this didn't work. targetcli could not parse my (mellanox)
> infiniband ports. I had to change it to :
> 
> # Transform 'fe80:0000:0000:0000:0002:1903:000e:8acd' WWN notation to
> # '0xfe800000000000000002c903000e8acd'
> wwn_from_files_filter = "sed -e s/fe80/0xfe80/ -e 's/\://g'"
> 
> And now targetcli can properly parse and control my infiniband ports.

So we ended up needing to make this change on the kernel side for the
v3.3 merge of ib_srpt.  I've been using this internally for some time,
but this patch has not made it to upstream rtslib.git just yet.

Jerome (Cc'ed), please go ahead and make this change to the default
ib_srpt.spec to follow /sys/kernel/config/target/srpt/$SRPT_WWPN/ naming
convention.

Thanks for the report Marcus!

--nab

--
To unsubscribe from this list: send the line "unsubscribe target-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux