Re: [PATCH 1/5] fc class: add fc host default default dev loss setting

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

 



On 08/09/2010 09:53 AM, James Smart wrote:
Mike,

why the motivation to get the dev_loss_tmo from the LLDD ? I would have
assumed this would have become a base fc_host attribute which is rd/wr,
the default coming from the module parameter, with the "set" propagating
to the LLDD to change all rports to the host value (either new direct
callback, or loop which calls rport set routine).

qla2xxx and fnic set the default/initial dev_loss_tmo based on some value they get from firmware.

Should I allow either where a lld can override it if they want to set it based on fw/hw info. If I do this should I keep the lpfc dev_loss_tmo on the scsi_host for backward compat and then add the fc_host r/w attr for it too?




- james s


michaelc@xxxxxxxxxxx wrote:
From: Mike Christie <michaelc@xxxxxxxxxxx>

This patch adds a fc_host setting to store the
default dev_loss_tmo. It is used if the driver
has a callack to get the value from the LLD. If
the callback is not set, then we use the fc class
module default value.


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

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