From: Andrew Vasquez Date: Thu, 9 Feb 2012 19:15:56 +0000 (-0800) Subject: [SCSI] qla2xxx: Cache swl during fabric discovery. X-Git-Tag: v3.4-rc1~145^2~103 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a67735b07aa1bf61b8535eec6f6fb6474cf7926;p=pandora-kernel.git [SCSI] qla2xxx: Cache swl during fabric discovery. Rather than continuously allocating and freeing swl within the discovery process, simply pre-allocate it the first time that it's needed, cache it through the rest of the lifecycle of the driver and free it at module unload. Signed-off-by: Andrew Vasquez Signed-off-by: Chad Dupuis Signed-off-by: James Bottomley --- Reading git-diff-tree failed