Re: Compaq Fiber Channel Array RM4000 / 2.6.16 kernel patch

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

 



On Thu, 2006-03-30 at 16:20 +0200, Ingo Flaschberger wrote:
> +       if (bflags & BLIST_NOREPORTLUN)
> +               return 1;
> +       if ((starget->scsi_level < SCSI_2) &&
> +                       (starget->scsi_level != SCSI_UNKNOWN))
> +               return 1;
> +       if (starget->scsi_level < SCSI_3 &&
> +                       ((!(bflags & BLIST_REPORTLUN2) &&
> +                       (starget->scsi_level != SCSI_UNKNOWN)) ||

Actually, this one's still not quite right.  The default for
SCSI_UNKNOWN needs to be not to do a report lun scan *unless*
BLIST_REPORTLUN2 is set ... that way we won't disrupt the functioning of
current SCSI_UNKNOWN devices (i.e. just drop the last SCSI_UNKNOWN check
and add BLIST_REPORTLUNS2 to the flags of the compaq array type).

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