]> www.infradead.org Git - users/jedix/linux-maple.git/commit
[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)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Mon, 9 Jul 2012 15:21:53 +0000 (08:21 -0700)
commit6d5d2ead85ae417e7927b3b92ef8b237c79c8079
tree883e64105ccb8a190c863e22a4d7e855e8700397
parent76946a84105bb3aaccce821fe1b43d0676f281c2
[SCSI] libfc: fcoe_transport_create fails in single-CPU environment

Orabug: 14239242
(mainline commit: 011a9008b11604b12e8386fa6ac3433ab3175dc2)
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