summaryrefslogtreecommitdiffstats
path: root/drivers/isdn/gigaset/isocdata.c
diff options
context:
space:
mode:
authorStephen M. Cameron <scameron@beardog.cce.hp.com>2009-09-17 20:48:31 +0200
committerJens Axboe <jens.axboe@oracle.com>2009-10-01 21:15:45 +0200
commit9cef0d2f4f68a5a2c6ea0495f958a074d21fbd07 (patch)
treeaee97fb9d8de37c0aee1fec563192e29a2425c70 /drivers/isdn/gigaset/isocdata.c
parentcciss: Add usage_count attribute to each logical drive in /sys (diff)
downloadlinux-9cef0d2f4f68a5a2c6ea0495f958a074d21fbd07.tar.xz
linux-9cef0d2f4f68a5a2c6ea0495f958a074d21fbd07.zip
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>
Diffstat (limited to 'drivers/isdn/gigaset/isocdata.c')
0 files changed, 0 insertions, 0 deletions