https://github.com/torvalds/linux
Revision 9cef0d2f4f68a5a2c6ea0495f958a074d21fbd07 authored by Stephen M. Cameron on 17 September 2009, 18:48:31 UTC, committed by Jens Axboe on 01 October 2009, 19:15:45 UTC
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>
1 parent e272afe
History
Tip revision: 9cef0d2f4f68a5a2c6ea0495f958a074d21fbd07 authored by Stephen M. Cameron on 17 September 2009, 18:48:31 UTC
cciss: Dynamically allocate the drive_info_struct for each logical drive.
Tip revision: 9cef0d2
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 952 bytes
.mailmap -rw-r--r-- 3.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.8 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 153.5 KB
Makefile -rw-r--r-- 55.4 KB
README -rw-r--r-- 17.0 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top