[SCSI] iscsi class: fix gfp use in ping compl and host event
authorMike Christie <michaelc@cs.wisc.edu>
Tue, 6 Mar 2012 22:09:01 +0000 (16:09 -0600)
committerJames Bottomley <JBottomley@Parallels.com>
Tue, 27 Mar 2012 07:26:36 +0000 (08:26 +0100)
commit49d0e64b6a61acea3bcdd6b36be3972111edecc5
tree891b000418ae40765a47bf8c4241c345e7ee93dd
parent76c8ae4b2fbcbc92601c48e1b534c35638c8d597
[SCSI] iscsi class: fix gfp use in ping compl and host event

If a ping or host event were to occur when memory is low
we do not want to use GFP_KERNEL, because the paths
sending them cannot block for data to be written. These
paths might be needed to recover write paths. Use GFP_NOIO
instead.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/scsi_transport_iscsi.c