NetBSD-Users archive

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

Re: scsibus(4) limits



jdc%coris.org.uk@localhost (Julian Coleman) writes:

>Guessing that this line is the problem:

>  https://nxr.netbsd.org/xref/src/sys/dev/ic/isp_netbsd.c#140
>    isp->isp_osinfo.chan[i].chan_nluns = uimin(isp->isp_maxluns, 8);

>Can you try increasing that?  We probably need to increase the value for
>FC-AL targets, and not hardcode it to 8.

FC-AL (and iSCSI) could use 255 LUNs. iSCSI code limits it to 16, probably
because the scsipi layer has some inefficient parts that iterate over
the whole LUN space.

-- 
-- 
                                Michael van Elst
Internet: mlelstv%serpens.de@localhost
                                "A potential Snark may lurk in every tree."


Home | Main Index | Thread Index | Old Index