From: Stephen M. Cameron Date: Thu, 17 Sep 2009 18:48:31 +0000 (-0500) Subject: cciss: Dynamically allocate the drive_info_struct for each logical drive. X-Git-Tag: v2.6.32-rc3~6^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9cef0d2f4f68a5a2c6ea0495f958a074d21fbd07;p=pandora-kernel.git 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 Signed-off-by: Jens Axboe --- Reading git-diff-tree failed