[SCSI] libfc: fcoe_transport_create fails in single-CPU environment
authorSteven Clark <sclark@crossbeam.com>
Fri, 9 Mar 2012 22:50:30 +0000 (14:50 -0800)
committerJames Bottomley <JBottomley@Parallels.com>
Wed, 28 Mar 2012 08:33:04 +0000 (09:33 +0100)
commit011a9008b11604b12e8386fa6ac3433ab3175dc2
tree6da856d1343c3f3806265b0a1ae56e29a7212828
parent20dc3811a2adfac65d5974e3b022a85fdbb9e205
[SCSI] libfc: fcoe_transport_create fails in single-CPU environment

Starting fcoe fails at fcoe_transport_create when attempting to allocate a
pool of 4K exchanges on a 64-bit single-CPU environment because the call to
__alloc_percpu() is greater than the max of 32K.  This patch reduces the
number of exchanges to fit within the maximum allowed space.

[ Whitespace problems fixed by Robert Love to satisfy chechpatch.pl ]

Signed-off-by: Steven Clark <sclark@crossbeam.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/libfc/fc_exch.c