Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp2803546ybh; Sat, 25 Jul 2020 02:00:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxcQPVYq+9HLLof7PFuaxGnt5Fm0z9BaJqi2FMfpovfzOTrUwY3IhCxPB1i08P2LpTJUiGY X-Received: by 2002:a17:906:3ec7:: with SMTP id d7mr6589563ejj.9.1595667640127; Sat, 25 Jul 2020 02:00:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595667640; cv=none; d=google.com; s=arc-20160816; b=pnNNkDUfU86LjVW7Mt4/+cFPCiIwIPuhF0rIt/fpms+NESXvLCn7ba0Xb6eKIghljO +A9W+HBSNe3FTZzAvkAcNB8gvZrZRr5XMIsVfkKiqcwOnfqgV6Lcec2Amf60PbgFj96W DMFSz/ULXxrHNgEVr73VbH0FeqWIHDACyTXx+PmEEb3Z+7+6KAhyYYDzaf3NLHANjSIU 2zNm/qX7Imema0KbRnB9WYMXteQrplL6x5ShbaH4OPP5J4lNPz3uFltnd0xnHGIcgU96 yfpV+OdOETpcNQOQruCBfcqHcglP7pU+ggDstyW8Yu6sp0PFHfd2qUXd47os4eAP7Zp4 /cSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=mNCMFRwDYOqSgkj2sqgNxDflXu15P04ORtsHnfCrUlA=; b=IN+itiARg2SyiGKPKyKscAVSVyhiRxa6BFJ799jK5G4d6S+c22J1KJmM5DyZJOgZPs 8N3l5xzUqr9KRAc7PuI0zDKHvuNfA7LsPde48DShLdFHK54FH1jTkC3dP7LeDQbr0+9g cRlakFBN+S1BMR+XEsSqHY67MGniwya0VJq6xUEjdladfz2/cmzhaXsKiquGEa6jLTB2 jhZUBE7Vgkdu2rOYagZA8Fq4W3oaVnuNusaNK0ZPstAEkdEXBkNa3lHV1gJ+VnsuWOSk S6fJp+X4tr+tq/NaQZIr3IafZYoRnZ6s0Mdd5yucQiDwXUMH+MzGCI/Tad3RXtv5V2Ks Ar1w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z5si2007886edr.493.2020.07.25.02.00.15; Sat, 25 Jul 2020 02:00:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726704AbgGYJAG (ORCPT + 99 others); Sat, 25 Jul 2020 05:00:06 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:8280 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726583AbgGYJAG (ORCPT ); Sat, 25 Jul 2020 05:00:06 -0400 Received: from DGGEMS406-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 5CB92F8EE246C408FD4E; Sat, 25 Jul 2020 17:00:03 +0800 (CST) Received: from [127.0.0.1] (10.57.22.126) by DGGEMS406-HUB.china.huawei.com (10.3.19.206) with Microsoft SMTP Server id 14.3.487.0; Sat, 25 Jul 2020 16:59:53 +0800 Subject: Re: [PATCH v2 0/2] scsi: libsas: An improvement on error handle and tidy-up To: , CC: , , , , , References: <1595665131-24543-1-git-send-email-luojiaxing@huawei.com> From: luojiaxing Message-ID: <90974ce1-abd4-7b6d-c4cf-08e4a922c6fd@huawei.com> Date: Sat, 25 Jul 2020 16:59:53 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <1595665131-24543-1-git-send-email-luojiaxing@huawei.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Originating-IP: [10.57.22.126] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org sorry,I missed Martin's e-mail "Re: [PATCH v1 0/2] scsi: libsas: An improvement on error handle and tidy-up" here. Please ignore this set of patches. On 2020/7/25 16:18, Luo Jiaxing wrote: > This patch introduces an improvement to reduce error handle time and a > tidy-up, including: > - postreset() is deleted from sas_sata_ops. > - Do not perform hard reset and delayed retry on a removed SATA disk. This > can effectively reduce the error handle duration of hot unplug a SATA disk > with traffic(reduce about 30s depending on the delay setting of libata). > > Both John garry and Jason Yan participated in the review of the solution > and provided good suggestions during the development. > > Change since v1: > - Removed an unnecessary tag from subject. > > Luo Jiaxing (2): > scsi: libsas: delete postreset at sas_sata_ops > scsi: libsas: check link status at ATA prereset() ops > > drivers/scsi/libsas/sas_ata.c | 17 +++++++++++++++-- > 1 file changed, 15 insertions(+), 2 deletions(-) >