summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorVasu Dev <vasu.dev@intel.com>2011-07-27 15:11:10 -0700
committerJames Bottomley <JBottomley@Parallels.com>2011-07-28 12:14:29 +0400
commitd272281c390eb6c3f1e70ed0337c9e619d99cd9c (patch)
tree020ba7b16f20599c9d7cf1cca0aa4d11d22c494c /tools
parent980f5156ab2d75e0462f3811e8a92acd06b0577b (diff)
downloadlinux-3.10-d272281c390eb6c3f1e70ed0337c9e619d99cd9c.tar.gz
linux-3.10-d272281c390eb6c3f1e70ed0337c9e619d99cd9c.tar.bz2
linux-3.10-d272281c390eb6c3f1e70ed0337c9e619d99cd9c.zip
[SCSI] fcoe: cleanup cpu selection for incoming requests
Cleanup to: - have selection for all types of frames, not just FCP. - remove redundant cpu_online check once fcoe_select_cpu called as this is not required since later code flow check for offlined cpu. - Simplify fcoe_select_cpu() by removing unnecessary checks to skip curr_cpu, this also fixes possibly infinite loop in case of curr_cpu is the only cpu while iterating in the loop. This cleanup mainly applies to target as incoming request are mostly for target, therefore Kiran has verified the patch with target also. Signed-off-by: Vasu Dev <vasu.dev@intel.com> Tested-by: Kiran Patil <kiran.patil@intel.com> Tested-by: Ross Brattain <ross.b.brattain@intel.com> Signed-off-by: Robert Love <robert.w.love@intel.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions