diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2009-04-21 22:32:34 +0200 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-04-27 17:10:06 +0200 |
commit | 1393109f23f8ad753a60a3e461c6caa96d8524f3 (patch) | |
tree | bc9400d252da0470d0ae9fb210f9afbd5479764d /drivers/scsi/cxgb3i/cxgb3i_ddp.c | |
parent | [SCSI] cxgb3i: fix can_queue and cmd_per_lun initialization (diff) | |
download | linux-1393109f23f8ad753a60a3e461c6caa96d8524f3.tar.xz linux-1393109f23f8ad753a60a3e461c6caa96d8524f3.zip |
[SCSI] cxgb3i: fix cpu use abuse during writes
When doing a lot (128) of large writes (256K) we can hit the cxgb3_snd_win
check pretty easily. The driver's xmit thread then takes 100% of the cpu.
The driver should not be returning -EAGAIN for this problem. It should
be returing -ENOBUFS, then when the window is opened again it should
queue the xmit thread (it already wakes the xmit thread).
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/cxgb3i/cxgb3i_ddp.c')
0 files changed, 0 insertions, 0 deletions