Received: by 10.223.176.46 with SMTP id f43csp3590416wra; Mon, 22 Jan 2018 17:44:14 -0800 (PST) X-Google-Smtp-Source: AH8x2279/iP1TfUvhmUJ2LC9A94j/w+dh9zQAX7IYGLBbV8lF1iAcWPzcQ1VkQI1JpEMBhrfaHGj X-Received: by 10.107.175.8 with SMTP id y8mr1496531ioe.37.1516671854447; Mon, 22 Jan 2018 17:44:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516671854; cv=none; d=google.com; s=arc-20160816; b=gWagMZ8KWx09HDc+7UYOA9C9BYEF+MfpEWvJceL+mRAAfHLED2dkLWcbdsDIrViGmh 57CJEswuEVoumbyKJWNDQhElGEk4UIgfcjQUIEOCaNeDVjdgV5EbPKM9sdysj37xSzRk Cyn9nnrkgyAyIbQCQjf8B1MzFqL9PrAneSxDGqI+7pp1tomQoAhVt9y7fPCnodqSk6hX I3/khu1cyVO5CszrbXvufZTvQGk48tp/pCRRB86gUKwwh0c6co6JKVXMJtgxLn5wRXmI l3bNMH+Vh+NOiivSSH04mpzA/z4fMUeoKkRos55RIEeKmGyFdGVXTZrTHnuLtmfhyVB/ 4EFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=UJvrtFDx9Wj3gORjA6SRe10VN0N7PUZ/8DOF2vWEFU0=; b=puaAizP65dIlWnFez+RvDKJ96m51+KI1/9OK2OgExpc9ASzFRBRPCloZwDsGvRSKAK DHxH7nwTHA55T7CyhskgeP3mBnh5EGrsGTQqHTMt3s8hT7OoCCrX8JeEYpOZSPSm1r0U 32rteLEOcdN0kEqu/lwnnSBV25uqDBIqpiw/baoI13J1KQ3OryoFqUb5/1948tkvAlV+ qqFmcoxLXj00S2f97YjlcwZgvEfaNzPDZk1k4iRgnGI4JRaylPpqdnj3E/3GI+oTs7NI 1VV27JMsPdfv/sCOuYkTSjIfCgKgsvwd12IL8JeB4vR2yjaVwh34Lhnbtp9RVb81SvLi 9BCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2017-10-26 header.b=DKb6yjvV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q1si7023873itq.2.2018.01.22.17.44.01; Mon, 22 Jan 2018 17:44:14 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2017-10-26 header.b=DKb6yjvV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751407AbeAWBnf (ORCPT + 99 others); Mon, 22 Jan 2018 20:43:35 -0500 Received: from userp2130.oracle.com ([156.151.31.86]:34296 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751325AbeAWBne (ORCPT ); Mon, 22 Jan 2018 20:43:34 -0500 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w0N1gPRN007482; Tue, 23 Jan 2018 01:43:05 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=corp-2017-10-26; bh=UJvrtFDx9Wj3gORjA6SRe10VN0N7PUZ/8DOF2vWEFU0=; b=DKb6yjvVzv2ha0fT18fPSv8LVCnYCqc1X3HuqwH5BIb8YW+C0nHfmrMtJ0eMxyRRCd+p YSD3ADlczz+tBl4juXCtPAE0fPa1zNXYDDlwGjfcjONsgCqNOr7HSybcUKDKWKhgtXWO 19+f5+Q0xTFFRPHg1FDQzHmpBObiLl9H4wmfy2XWo/U1N+/eVD4iK34ch1Q/OIYtrt9F xDVuZJ3gmZ+EcWy4JOZ1pxripCGkU4O9ej8TNPZvfV7ZlFxrBFVPjMfIoMr9AKjgw970 9L6DRP/+CJP3OdKqGmbM0NkVSx9jAZ3rz1YlVvZ5zZNj1pabRS7/ZJgHWzOvRFyd5m6s rQ== Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by userp2130.oracle.com with ESMTP id 2fnua401st-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 23 Jan 2018 01:43:05 +0000 Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w0N1h5g7008377 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 23 Jan 2018 01:43:05 GMT Received: from abhmp0009.oracle.com (abhmp0009.oracle.com [141.146.116.15]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w0N1h3El004657; Tue, 23 Jan 2018 01:43:04 GMT Received: from [10.182.69.179] (/10.182.69.179) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 22 Jan 2018 17:43:03 -0800 Subject: Re: [PATCH] nvme-pci: ensure nvme_timeout complete before initializing procedure To: Keith Busch , Christoph Hellwig Cc: sagi@grimberg.me, james.smart@broadcom.com, linux-nvme@lists.infradead.org, linux-kernel@vger.kernel.org, axboe@fb.com, maxg@mellanox.com References: <1516607585-1525-1-git-send-email-jianchao.w.wang@oracle.com> <20180122201423.GA30427@lst.de> <20180122215436.GS12043@localhost.localdomain> From: "jianchao.wang" Message-ID: Date: Tue, 23 Jan 2018 09:43:04 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <20180122215436.GS12043@localhost.localdomain> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8782 signatures=668655 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=958 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1801230018 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Christoph and Keith Really sorry for this. On 01/23/2018 05:54 AM, Keith Busch wrote: > On Mon, Jan 22, 2018 at 09:14:23PM +0100, Christoph Hellwig wrote: >>> Link: https://urldefense.proofpoint.com/v2/url?u=https-3A__lkml.org_lkml_2018_1_19_68&d=DwICAg&c=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE&r=7WdAxUBeiTUTCy8v-7zXyr4qk7sx26ATvfo6QSTvZyQ&m=xJVh7u7o8UBQko2JJRmxqldiuMhaIosNJN8WTkhAF98&s=uk1TvCGpW928A4GMJh1tvxNvPiVfgJvFjjPn69f8fNA&e= >>> Suggested-by: Keith Busch >>> Signed-off-by: Keith Busch >>> Signed-off-by: Jianchao Wang >> >> Why does this have a signoff from Keith? > The the nvme_sync_queues is from Keith in the mail thread, so I added this. I will discard it and just reserve "suggested-by" later. > Right, I hadn't signed off that. I just trying to get feeback if > someting like that was closing the theoretical gap, which it does. Yes. > > I actually have something similar in my patch queue I was about to send > around this area, though. I don't like having the IO path take on the > error handling, and I think ending unstarted requests directly will be > better long term. Yes. Many thanks for your kindly response. Thanks Jianchao