summaryrefslogtreecommitdiff
path: root/virt
diff options
context:
space:
mode:
authorBhanu Gollapudi <bprakash@broadcom.com>2011-03-18 00:13:29 (GMT)
committerJames Bottomley <James.Bottomley@suse.de>2011-03-23 16:37:01 (GMT)
commit0ea5c27583e1cc164bba7ca29fe48a225f52d19b (patch)
tree66e590d6e04962129c8513fc854f2649f47a307e /virt
parent6702ca1dffbc864497b6f2c68543aad9bbf0bcee (diff)
downloadlinux-fsl-qoriq-0ea5c27583e1cc164bba7ca29fe48a225f52d19b.tar.xz
[SCSI] bnx2fc: common free list for cleanup commands
Cleanup commands are issued to the firmware to cleanup any stuck ios that are supposed to be implicitly aborted. In the worst case we can have all scsi ios filling up the free_list and we may not be able to allocate cleanup tasks. So the driver has to reserve free_list entries to be able to allocate the cleanup tasks. This reserve free_list common to all cpus is allocated as one additional entry in the per cpu free_lists. In bnx2fc_cmd_alloc(), there is a related fix to use get_cpu() for the free_list_index. This will prevent using the wrong index if the CPU is preempted. Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com> Signed-off-by: Nithin Nayak Sujir <nsujir@broadcom.com> Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions