aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/3w-9xxx.h
diff options
context:
space:
mode:
authorBhanu Gollapudi <bprakash@broadcom.com>2011-03-17 17:13:29 -0700
committerJames Bottomley <James.Bottomley@suse.de>2011-03-23 11:37:01 -0500
commit0ea5c27583e1cc164bba7ca29fe48a225f52d19b (patch)
tree66e590d6e04962129c8513fc854f2649f47a307e /drivers/scsi/3w-9xxx.h
parent[SCSI] bnx2fc: Remove rtnl_trylock/restart_syscall checks (diff)
downloadlinux-dev-0ea5c27583e1cc164bba7ca29fe48a225f52d19b.tar.xz
linux-dev-0ea5c27583e1cc164bba7ca29fe48a225f52d19b.zip
[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 'drivers/scsi/3w-9xxx.h')
0 files changed, 0 insertions, 0 deletions