Re: [PATCH 1/4] sas: add flag for locally attached PHYs

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

 



<lots of useless rants snipped>

Yes, we have two cases, local phy and phy on an expander.  The proper
way to support remote phys is via smp passthru as we hopefully agree.
Right now the sas transport class doesn't do smp passthru (although
I'm working on it) so we only implement local link stats.  Once we have
smp passthru we can support link stats, in one of two ways:

 - do it in userland as in your example program.  in that case we don't
   need to do anything in kernel land and need the local_attached flag
   to disable this functionality for expander phys.
 - do it in kernel, in which case the transport class must call the smp
   passthru entry point of the driver to query link stats, so it needs
   the local_attached flag aswell for that.

What's your problem with the flag now?
-
: 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