RE: [RFC] aic94xx: attaching to the sas transport class

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

 



> -----Original Message-----
> From: James Bottomley [mailto:James.Bottomley@xxxxxxxxxxxx]

My comments are related to the statement at the end of your email:

	"However, my basic though is that once we can get the critical
issues
	sorted out, this driver can go in."

> ).  Unfortunately, the driver itself still has the following critical
> issues
> 
> 1. Discovery order is non-deterministic (it starts one thread per
port,
> so the threads race for discovery)

Am I correct in assuming that this is a problem that needs to be worked
around in aic94xx in the short time period, but will eventually be fixed
in some other way?  My impression from reading this thread is that most
people (including myself) are in agreement that devices in a
network-like topology (fabric, tree ... other) can legally present
themselves in a non-deterministic amount of time and in a
non-deterministic order.  It seems clear that it is the responsibility
of some other entity (kernel, user program) to synchronize and sort out
drive mappings.  Is this a fair assessment?  It would be simple enough
to hold off scan until discovery is done (we have implemented this in
another driver).  It's not perfect, but it should satisfy 99%+ of
typical configurations.  Hopefully we can move to a better (and
thoroughly discussed!! ;-) solution in the future.

> 2. The minimal attachment to the sas transport class doesn't do
> expanders.  This needs to be fixed up by patching better expander
> support into the class.  The way to do this is probably to pull the
> domain_device into the sas transport class.

What exactly needs to happen in order for expanders to be supported?
Who is planning to make those changes and do they need any help?  

> 3. The object lifetimes are all basically infinite (this will probably
> fixed by 2)

There seems to be some controversy over whether this is a problem or
feature.  Is this a show stopper for driver integration, or is this
something that can be fixed later?

> There's a host of minor details, and I think the ultimate goal needs
to
> be to turn Luben's sas_class into an adjunct to the transport class
that
> handles drivers with domain devices.
> 
> However, my basic though is that once we can get the critical issues
> sorted out, this driver can go in.
> 
> Comments?
> 
> 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