From patchwork Thu Jun 2 07:54:48 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: fangwei X-Patchwork-Id: 629092 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3rKzpt691zz9t4R for ; Thu, 2 Jun 2016 17:47:50 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932294AbcFBHrj (ORCPT ); Thu, 2 Jun 2016 03:47:39 -0400 Received: from szxga01-in.huawei.com ([58.251.152.64]:50852 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932289AbcFBHrg (ORCPT ); Thu, 2 Jun 2016 03:47:36 -0400 Received: from 172.24.1.47 (EHLO SZXEML424-HUB.china.huawei.com) ([172.24.1.47]) by szxrg01-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id DLR01577; Thu, 02 Jun 2016 15:47:25 +0800 (CST) Received: from localhost.localdomain (10.175.100.166) by SZXEML424-HUB.china.huawei.com (10.82.67.153) with Microsoft SMTP Server id 14.3.235.1; Thu, 2 Jun 2016 15:47:12 +0800 From: Wei Fang To: , , , CC: , , , , , , Wei Fang Subject: [PATCH 2/2] Documentation/scsi: update scsi_eh.txt about ->host_failed Date: Thu, 2 Jun 2016 15:54:48 +0800 Message-ID: <1464854088-26360-2-git-send-email-fangwei1@huawei.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1464854088-26360-1-git-send-email-fangwei1@huawei.com> References: <1464854088-26360-1-git-send-email-fangwei1@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.175.100.166] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020205.574FE490.0186, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0, ip=0.0.0.0, so=2013-06-18 04:22:30, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: 6d97606f74af11db59db152db674b761 Sender: linux-ide-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ide@vger.kernel.org Update the new rules of ->host_failed. Signed-off-by: Wei Fang --- Documentation/scsi/scsi_eh.txt | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Documentation/scsi/scsi_eh.txt b/Documentation/scsi/scsi_eh.txt index 8638f61..9702c78 100644 --- a/Documentation/scsi/scsi_eh.txt +++ b/Documentation/scsi/scsi_eh.txt @@ -263,7 +263,6 @@ scmd->allowed. 3. scmd recovered ACTION: scsi_eh_finish_cmd() is invoked to EH-finish scmd - - shost->host_failed-- - clear scmd->eh_eflags - scsi_setup_cmd_retry() - move from local eh_work_q to local eh_done_q @@ -276,6 +275,7 @@ scmd->allowed. - if retry is necessary, scmd is requeued using scsi_queue_insert() - otherwise, scsi_finish_command() is invoked for scmd + - zero shost->host_failed LOCKING: queue or finish function performs appropriate locking