Improve the communication overhead in the ses/enclosure drivers for large disk enclosures
Issue
- Blacklisting the ses and enclosure modules is required in order to reduce the time to initialize large disk arrays.
- While this reduces the enumeration times from approximately 15 to 2 minutes the side effect is that the sensor data is no longer available.
- There needs to be a more efficient means of initializing the disk arrays.
- Please improve the code in the ses and enclosure drivers.
- The part of the SCSI stack that associates a newly discovered disk with a particular enclosure is doing its job in an inefficient way.
- For each device it polls all the enclosure data to find a match.
- This includes the enclosure sensor data which on some hardware takes a long time to read.
- This isn't a big problem on systems that only have 4 disks in an enclosure but on systems that have 150 disks in various enclosures it is a problem.
- What needs to happen is that the scsi code that associates a disk with an enclosure needs to either cache the data it gets from the enclosure so that it doesn't repeatedly fetch all the enclosure data for each and every device or it needs to not fetch the sensor data just the attached devices data.
Environment
- Red Hat Enterprise Linux 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.