OpenCloudOS-Kernel/drivers/scsi/cxgbi
Thadeu Lima de Souza Cascardo 00c4a09bb0 [SCSI] libcxgbi: do not print a message when memory allocation fails
In alloc_pdu, libcxgbi tries to allocate a skb with GFP_ATOMIC, which
may potentially fail. When it happens, the current code prints a warning
message.

When the system is under IO stress, this failure may happen lots of
times and it usually scares users.

Instead of printing the warning message, the code now increases the
tx_dropped statistics for the ethernet interface wich is doing the iscsi
task.

Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@linux.vnet.ibm.com>
Acked-by: Karen Xie <kxie@chelsio.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
2012-01-10 17:01:21 -06:00
..
cxgb3i cxgb3: Rework t3_l2t_get to take a dst_entry instead of a neighbour. 2011-12-05 15:20:19 -05:00
cxgb4i cxgb4i: Handle dst_get_neighbour_noref() returning NULL. 2011-12-05 15:20:20 -05:00
Kconfig [SCSI] cxgb3i: change cxgb3i to use libcxgbi 2010-09-05 14:29:23 -03:00
Makefile [SCSI] cxgb3i: change cxgb3i to use libcxgbi 2010-09-05 14:29:23 -03:00
libcxgbi.c [SCSI] libcxgbi: do not print a message when memory allocation fails 2012-01-10 17:01:21 -06:00
libcxgbi.h switch ->is_visible() to returning umode_t 2012-01-03 22:54:55 -05:00