diff options
author | Vasu Dev <vasu.dev@intel.com> | 2011-07-28 02:11:10 +0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2011-07-28 12:14:29 +0400 |
commit | d272281c390eb6c3f1e70ed0337c9e619d99cd9c (patch) | |
tree | 020ba7b16f20599c9d7cf1cca0aa4d11d22c494c /Documentation | |
parent | 980f5156ab2d75e0462f3811e8a92acd06b0577b (diff) | |
download | linux-d272281c390eb6c3f1e70ed0337c9e619d99cd9c.tar.xz |
[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 'Documentation')
0 files changed, 0 insertions, 0 deletions