Stephen M. Cameron 9cef0d2f4f cciss: Dynamically allocate the drive_info_struct for each logical drive.
cciss: Dynamically allocate the drive_info_struct for each logical drive.
This reduces the size of the per-hba ctlr_info structure from 106936
bytes to 8132 bytes.  That's on 32-bit systems.  On 64-bit systems, the
improvement is even bigger.  Without this, the ctlr_info struct is so big
that the driver won't even load on a 64 bit system if CISS_MAX_LUN was
at it's current setting of 1024 logical drives.

Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2009-10-01 21:15:45 +02:00
..
2009-09-22 07:17:27 -07:00
2009-09-23 07:39:29 -07:00
2009-09-24 07:21:05 -07:00
2009-09-24 21:22:33 +01:00
2009-09-26 10:17:19 -07:00
2009-09-23 07:39:43 -07:00
2009-09-24 21:22:33 +01:00
2009-09-23 18:13:10 -07:00
2009-09-15 15:08:40 -04:00
2009-09-24 21:22:33 +01:00
2009-09-23 11:35:41 -04:00
2009-09-23 22:26:32 +09:30
2009-09-23 10:07:49 -07:00