[PATCH v3 3/5] nvme_fc: add a dev_loss_tmo field to the remoteport

James Smart jsmart2021 at gmail.com
Fri Oct 20 07:50:45 PDT 2017


On 10/19/2017 11:04 PM, Hannes Reinecke wrote:
> Is this exported to sysfs somewhere? If not, can we have it in sysfs?
> It surely made live _so_ much easier when configuring the odd device...
> 
> Other than that:
> 
> Reviewed-by: Hannes Reinecke <hare at suse.com>
> 
> Cheers,
> 
> Hannes
> 

Currently, the scsi transpoirt fc_rport sysfs entry has the dev_loss_tmo 
attribute, and when set, the driver will call the 
nvme_fc_set_remoteport_devloss() routine to set it on the nvme-fc 
remoteport.

When we genericize the fc transport, it will be on the generic fc_rport, 
and the set will call both the SCSI transport/lldd and the NVME remoteport.

-- james



More information about the Linux-nvme mailing list