Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755961Ab0KSRhR (ORCPT ); Fri, 19 Nov 2010 12:37:17 -0500 Received: from na3sys009aog104.obsmtp.com ([74.125.149.73]:41997 "EHLO na3sys009aog104.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754127Ab0KSRhP (ORCPT ); Fri, 19 Nov 2010 12:37:15 -0500 From: "Yang, Bo" To: "Yang, Bo" , "'James.Bottomley@HansenPartnership.com'" , "'James.Bottomley@suse.de'" CC: "'linux-scsi@vger.kernel.org'" , "'akpm@osdl.org'" , "'linux-kernel@vger.kernel.org'" , Tomas Henzl Date: Fri, 19 Nov 2010 10:37:02 -0700 Subject: [PATCH 7/9] scsi: megaraid_sas - Driver created the self work queue for OCR Thread-Topic: [PATCH 7/9] scsi: megaraid_sas - Driver created the self work queue for OCR Thread-Index: AcsIRXwfwbieNXNUR6GBvdSy0cxVCQskSL/AFMvf1xAAAOfyYAAAMuKQAABVOuAAAICF8AAALm3AAAA2ZVA= Message-ID: <4B6A08C587958942AA3002690DD4F8C30106A9621E@cosmail02.lsi.com> References: <4B6A08C587958942AA3002690DD4F8C3D0804533@cosmail02.lsi.com> <4B6A08C587958942AA3002690DD4F8C3DBD67F68@cosmail02.lsi.com> <4B6A08C587958942AA3002690DD4F8C30106A961BD@cosmail02.lsi.com> <4B6A08C587958942AA3002690DD4F8C30106A961D6@cosmail02.lsi.com> <4B6A08C587958942AA3002690DD4F8C30106A961E4@cosmail02.lsi.com> <4B6A08C587958942AA3002690DD4F8C30106A961F2@cosmail02.lsi.com> <4B6A08C587958942AA3002690DD4F8C30106A96213@cosmail02.lsi.com> <4B6A08C587958942AA3002690DD4F8C30106A96218@cosmail02.lsi.com> In-Reply-To: <4B6A08C587958942AA3002690DD4F8C30106A96218@cosmail02.lsi.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/mixed; boundary="_002_4B6A08C587958942AA3002690DD4F8C30106A9621Ecosmail02lsic_" MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3304 Lines: 56 --_002_4B6A08C587958942AA3002690DD4F8C30106A9621Ecosmail02lsic_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Driver created the owner work queue (don't use global work queue). This que= ue will be used for online controller reset routine. Signed-off-by Bo Yang --- drivers/scsi/megaraid/megaraid_sas.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) --_002_4B6A08C587958942AA3002690DD4F8C30106A9621Ecosmail02lsic_ Content-Type: application/octet-stream; name="megasas-p7-workqueue.patch" Content-Description: megasas-p7-workqueue.patch Content-Disposition: attachment; filename="megasas-p7-workqueue.patch"; size=1593; creation-date="Thu, 18 Nov 2010 20:37:02 GMT"; modification-date="Wed, 17 Nov 2010 13:09:12 GMT" Content-Transfer-Encoding: base64 ZGlmZiAtcnVwTiBvbGQvZHJpdmVycy9zY3NpL21lZ2FyYWlkL21lZ2FyYWlkX3Nhcy5jIG5ldy9k cml2ZXJzL3Njc2kvbWVnYXJhaWQvbWVnYXJhaWRfc2FzLmMKLS0tIG9sZC9kcml2ZXJzL3Njc2kv bWVnYXJhaWQvbWVnYXJhaWRfc2FzLmMJMjAxMC0xMS0xNyAxMzo0NjoxMS4wMDAwMDAwMDAgLTA1 MDAKKysrIG5ldy9kcml2ZXJzL3Njc2kvbWVnYXJhaWQvbWVnYXJhaWRfc2FzLmMJMjAxMC0xMS0x NyAxMzo0Nzo0Ni4wMDAwMDAwMDAgLTA1MDAKQEAgLTEwOCw2ICsxMDgsNyBAQCBzdGF0aWMgc3Ry dWN0IG1lZ2FzYXNfbWdtdF9pbmZvIG1lZ2FzYXNfCiBzdGF0aWMgc3RydWN0IGZhc3luY19zdHJ1 Y3QgKm1lZ2FzYXNfYXN5bmNfcXVldWU7CiBzdGF0a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CQkgICZkcml2ZXJfYXR0cl92ZXJz aW9uKTsKIAlpZiAocnZhbCkKQEAgLTUyMjgsNiArNTIzNCwxMSBAQCBzdGF0aWMgdm9pZCBfX2V4 aXQgbWVnYXNhc19leGl0KHZvaWQpCiAJCQkgICAmZHJpdmVyX2F0dHJfcmVsZWFzZV9kYXRlKTsK IAlkcml2ZXJfcmVtb3ZlX2ZpbGUoJm1lZ2FzYXNfcGNpX2RyaXZlci5kcml2ZXIsICZkcml2ZXJf YXR0cl92ZXJzaW9uKTsKIAorCWlmIChtZWdhc2FzX29jcl93cSkgeworCQlkZXN0cm95X3dvcmtx dWV1ZShtZWdhc2FzX29jcl93cSk7CisJCW1lZ2FzYXNfb2NyX3dxID0gTlVMTDsKKwl9CisKIAlw Y2lfdW5yZWdpc3Rlcl9kcml2ZXIoJm1lZ2FzYXNfcGNpX2RyaXZlcik7CiAJdW5yZWdpc3Rlcl9j aHJkZXYobWVnYXNhc19tZ210X21ham9ybm8sICJtZWdhcmFpZF9zYXNfaW9jdGwiKTsKIH0K --_002_4B6A08C587958942AA3002690DD4F8C30106A9621Ecosmail02lsic_-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/