From patchwork Tue Jan 5 17:20:07 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: babu moger X-Patchwork-Id: 71073 X-Patchwork-Delegate: snitzer@redhat.com Received: from mx01.util.phx2.redhat.com (mx1-phx2.redhat.com [209.132.183.26]) by demeter.kernel.org (8.14.3/8.14.2) with ESMTP id o05HSoqp019525 for ; Tue, 5 Jan 2010 17:28:51 GMT Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by mx01.util.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o05HNtXm020330; Tue, 5 Jan 2010 12:23:55 -0500 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o05HLkPn015617 for ; Tue, 5 Jan 2010 12:21:46 -0500 Received: from mx1.redhat.com (ext-mx09.extmail.prod.ext.phx2.redhat.com [10.5.110.13]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o05HLe15019911; Tue, 5 Jan 2010 12:21:41 -0500 Received: from na3sys009aog110.obsmtp.com (na3sys009aog110.obsmtp.com [74.125.149.203]) by mx1.redhat.com (8.13.8/8.13.8) with SMTP id o05HKaUi021583; Tue, 5 Jan 2010 12:20:37 -0500 Received: from source ([147.145.40.20]) by na3sys009aob110.postini.com ([74.125.148.12]) with SMTP ID DSNKS0N047k/EHvJ7ivwxEZjcLLDQlc5vuy1@postini.com; Tue, 05 Jan 2010 09:21:25 PST Received: from milmhbs0.lsil.com (mhbs.lsil.com [147.145.1.30]) by mail0.lsil.com (8.12.11/8.12.11) with ESMTP id o05HKWXk019162; Tue, 5 Jan 2010 09:20:32 -0800 (PST) Received: from coscas01.lsi.com (coscas01.co.lsil.com [172.21.36.60]) by milmhbs0.lsil.com (8.12.11/8.12.11) with ESMTP id o05HKZAL021588; Tue, 5 Jan 2010 09:20:35 -0800 Received: from cosmail01.lsi.com ([172.21.36.24]) by coscas01.lsi.com ([172.21.36.60]) with mapi; Tue, 5 Jan 2010 10:20:31 -0700 From: "Moger, Babu" To: "linux-scsi@vger.kernel.org" , "dm-devel@redhat.com" Date: Tue, 5 Jan 2010 10:20:07 -0700 Thread-Topic: [PATCH] scsi_dh_rdac: Changing the memory allocation flag from GFP_KERNEL to GFP_NOIO Thread-Index: AcqOK1QB0tV1bXX4SJ+KzMS7X1Dbmg== Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-cr-hashedpuzzle: F9UJ Vi4F WEgC XIP7 ZTWq ihWq ldZM nFZy q3Go q8KK q/6F tiyK vt3z wYl8 xjj2 yPwF; 5; YwBoAGEAbgBkAHIAYQAuAHMAZQBlAHQAaABhAHIAYQBtAGEAbgBAAHUAcwAuAGkAYgBtAC4AYwBvAG0AOwBkAG0ALQBkAGUAdgBlAGwAQAByAGUAZABoAGEAdAAuAGMAbwBtADsAbABpAG4AdQB4AC0AcwBjAHMAaQBAAHYAZwBlAHIALgBrAGUAcgBuAGUAbAAuAG8AcgBnADsAbQBpAGMAaABhAGUAbABjAEAAYwBzAC4AdwBpAHMAYwAuAGUAZAB1ADsAcgBlAHYAZQByAHMAQAByAGUAZABoAGEAdAAuAGMAbwBtAA==; Sosha1_v1; 7; {8F26B8FA-A157-454E-8644-74B48ABD3F8A}; YgBhAGIAdQAuAG0AbwBnAGUAcgBAAGwAcwBpAC4AYwBvAG0A; Tue, 05 Jan 2010 17:20:08 GMT; WwBQAEEAVABDAEgAXQAgAHMAYwBzAGkAXwBkAGgAXwByAGQAYQBjADoAIABDAGgAYQBuAGcAaQBuAGcAIAB0AGgAZQAgAG0AZQBtAG8AcgB5ACAAYQBsAGwAbwBjAGEAdABpAG8AbgAgAGYAbABhAGcAIABmAHIAbwBtACAARwBGAFAAXwBLAEUAUgBOAEUATAAgAHQAbwAgAEcARgBQAF8ATgBPAEkATwA= x-cr-puzzleid: {8F26B8FA-A157-454E-8644-74B48ABD3F8A} acceptlanguage: en-US MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 X-Scanned-By: MIMEDefang 2.67 on 10.5.110.13 X-Scanned-By: MIMEDefang 2.39 X-RedHat-Spam-Score: -3.4 (AWL,RCVD_IN_DNSWL_MED) X-MIME-Autoconverted: from quoted-printable to 8bit by lists01.pubmisc.prod.ext.phx2.redhat.com id o05HLkPn015617 X-loop: dm-devel@redhat.com Cc: Chandra Seetharaman , "michaelc@cs.wisc.edu" , Rob Evers Subject: [dm-devel] [PATCH] scsi_dh_rdac: Changing the memory allocation flag from GFP_KERNEL to GFP_NOIO X-BeenThere: dm-devel@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk Reply-To: device-mapper development List-Id: device-mapper development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com --- linux-2.6.33-rc2/drivers/scsi/device_handler/scsi_dh_rdac.c.orig 2010-01-05 11:49:22.000000000 -0400 +++ linux-2.6.33-rc2/drivers/scsi/device_handler/scsi_dh_rdac.c 2010-01-05 11:53:13.000000000 -0400 @@ -624,7 +624,7 @@ static int queue_mode_select(struct scsi struct rdac_queue_data *qdata; struct rdac_controller *ctlr; - qdata = kzalloc(sizeof(*qdata), GFP_KERNEL); + qdata = kzalloc(sizeof(*qdata), GFP_NOIO); if (!qdata) return SCSI_DH_RETRY;