From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757325AbdJKPhp (ORCPT ); Wed, 11 Oct 2017 11:37:45 -0400 Received: from mx1.redhat.com ([209.132.183.28]:39778 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751691AbdJKPho (ORCPT ); Wed, 11 Oct 2017 11:37:44 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 67D487EA9C Authentication-Results: ext-mx04.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx04.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=thenzl@redhat.com Subject: Re: [PATCH 05/10] mpt3sas: Fix IO error occurs on pulling out a drive from RAID1 volume created on two SATA drive To: Sreekanth Reddy , linux-scsi@vger.kernel.org, hch@infradead.org Cc: martin.petersen@oracle.com, Sathya.Prakash@broadcom.com, linux-kernel@vger.kernel.org References: <1507641083-20207-1-git-send-email-Sreekanth.Reddy@broadcom.com> <1507641083-20207-6-git-send-email-Sreekanth.Reddy@broadcom.com> From: Tomas Henzl Message-ID: <80dc6c6d-1d8a-8c60-b2e8-637a8cd997db@redhat.com> Date: Wed, 11 Oct 2017 17:37:42 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <1507641083-20207-6-git-send-email-Sreekanth.Reddy@broadcom.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-MW X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Wed, 11 Oct 2017 15:37:44 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/10/2017 03:11 PM, Sreekanth Reddy wrote: > Whenever IO for raid volume fails with IOCStatus > "MPI2_IOCSTATUS_SCSI_IOC_TERMINATED"and SCSIStatus equal to > "(MPI2_SCSI_STATE_TERMINATED | MPI2_SCSI_STATE_NO_SCSI_STATUS)" > then return the IO to SML with "DID_RESET" > (i.e. retry the IO infinite times) host bytes. > > Earlier driver is returning the IO with "DID_SOFT_ERROR" > that reties the IO quickly for five times but still > firmware needed some more time and hence IOs were failing. > > Signed-off-by: Sreekanth Reddy Signed-off-by: Tomas Henzl Tomas