From: "Martin K. Petersen" Subject: Re: [PATCH V3 7/9] aacraid: Fix AIF triggered IOP_RESET Date: Tue, 26 Jan 2016 21:31:27 -0500 Message-ID: References: <1452842182-684-1-git-send-email-RaghavaAditya.Renukunta@pmcs.com> <1452842182-684-8-git-send-email-RaghavaAditya.Renukunta@pmcs.com> <569E60E4.4000903@redhat.com> <198D06D448A18D4E93F08FB849C4E39D7D1F6AA9@BBYEXM01.pmc-sierra.internal> <56A22B49.1040702@redhat.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from aserp1040.oracle.com ([141.146.126.69]:25309 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751670AbcA0Cgk (ORCPT ); Tue, 26 Jan 2016 21:36:40 -0500 In-Reply-To: <56A22B49.1040702@redhat.com> (Tomas Henzl's message of "Fri, 22 Jan 2016 14:14:49 +0100") Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-scsi@vger.kernel.org To: Raghava Aditya Renukunta Cc: Tomas Henzl , "James.Bottomley@HansenPartnership.com" , "martin.petersen@oracle.com" , "linux-scsi@vger.kernel.org" , Mahesh Rajashekhara , Murthy Bhat , Gana Sridaran , "aacraid@pmc-sierra.com" , Scott Benesh , "jthumshirn@suse.de" , "shane.seymour@hpe.com" , zzzDavid Carroll >>>>> "Tomas" == Tomas Henzl writes: >> 2.Since commands are sync , place a check in aac_fib_send to block >> commands once adapter_shutdown is set(only shutdown command will be >> sent thru) Tomas> This option looks better but I guess you still can find a tiny Tomas> race window. What do you think about a mutual exclusive access Tomas> using a mutex, do you think this could work? [...] Raghava? -- Martin K. Petersen Oracle Linux Engineering