diff options
author | Bhanu Gollapudi <bprakash@broadcom.com> | 2011-03-18 03:13:29 +0300 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2011-03-23 19:37:01 +0300 |
commit | 0ea5c27583e1cc164bba7ca29fe48a225f52d19b (patch) | |
tree | 66e590d6e04962129c8513fc854f2649f47a307e /README | |
parent | 6702ca1dffbc864497b6f2c68543aad9bbf0bcee (diff) | |
download | linux-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 'README')
0 files changed, 0 insertions, 0 deletions