From: Mike Christie Date: Tue, 21 Apr 2009 20:32:34 +0000 (-0500) Subject: [SCSI] cxgb3i: fix cpu use abuse during writes X-Git-Tag: v2.6.30-rc5~53^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1393109f23f8ad753a60a3e461c6caa96d8524f3;p=pandora-kernel.git [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 Signed-off-by: James Bottomley --- Reading git-diff-tree failed