Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp794173pxx; Mon, 26 Oct 2020 23:56:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxrzQg0dAQYb+/ufj/rNKb8h8zi/Eek3Api1uK624EuIIVstriU8mcvFGe5/nsgptfsagYx X-Received: by 2002:a50:8f61:: with SMTP id 88mr720644edy.175.1603781772908; Mon, 26 Oct 2020 23:56:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603781772; cv=none; d=google.com; s=arc-20160816; b=IFPin+s4/1gt8EaRZEOdXaRky4YHwy7ALyhzMWpvod8eoBrSf/pUyklazRvM1e96R7 msHt4xm+3ydDVUV0UplYoYGh2e3MS+nsa1QwL3GRZWHbsoSVQJ7VMDKrAcNyS/twdTsC skJ2+MNuDj/LviNgCVPMbPHAUUPLsrpHRSp04xDP13L5LBhW51jw29zsTuSv4Ltyg+Iq M7Dl73gl+B9ezQPF2HDLVIbHh0f+o6zGRZt0p9Ph0MSRTS+cNZkl32cR0bl7qVkEO9Cc A2jbgbSV2dT70hU6GOq4KZOhMumS0WlkyjQDup6PaZyAV1woOZ1CccYvnUiSIncntcJM ryZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:in-reply-to:date:references :message-id:organization:from:subject:cc:to:dkim-signature; bh=iSJjVIqHD8zV7sVdSwfe1Wtw0iLXxpGMvl37bjbOvBk=; b=Bh5HC9jXTfNtdFLqRXJe3W4rK6rsBPTGcPhl71ZL2lUcYARXAnnPFSAulbnvrnWUVE /ihBQZ4ByrX88qCHRdLDj9ddUOEeh0mPnI4CTRn0CA7fg8bWzs5e32QUU8jcHche3c+e VrhMELCb+unECXVWuq5vgolUjlxSqzAiVRHkdcOLrgHFZCoFCbB8dyFd6XDnjNtflcjo fqQd/+Q+IR/Nlm6w/gIL50nk+SwHCcyd2M5WdUWYcCmkrFSbJL+6SuUgcUpvzgTzRrmI NGrZtC3/JkP92nu/RkWUeBwhp05bpTRt1U9aCpbIKDPwWwpI2CcB3+hOQZ2aFYbbZT9t Lj9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=fTRUI1t1; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f25si355631eje.196.2020.10.26.23.55.51; Mon, 26 Oct 2020 23:56:12 -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; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=fTRUI1t1; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726229AbgJZUNV (ORCPT + 99 others); Mon, 26 Oct 2020 16:13:21 -0400 Received: from aserp2130.oracle.com ([141.146.126.79]:58070 "EHLO aserp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726082AbgJZUNU (ORCPT ); Mon, 26 Oct 2020 16:13:20 -0400 Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1]) by aserp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 09QJx9kU002361; Mon, 26 Oct 2020 20:13:15 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=to : cc : subject : from : message-id : references : date : in-reply-to : mime-version : content-type; s=corp-2020-01-29; bh=iSJjVIqHD8zV7sVdSwfe1Wtw0iLXxpGMvl37bjbOvBk=; b=fTRUI1t1c15SbyaPGEUXKCXOdE14np03eFYfL/sV4Ov2oX8c/eNOH37AEGKG25jC5PrM Ky9Hdk4I6Pwig3piBzXfT6PEB+S92QPenDTDPAb0USnl3zELoon359kpHMdFbnpxfhwV 2p1awY7/v33nBriVnQf2FJn/1gM67YBLFX27nPGOOVPrWVItjOUh1grPvI9iGEv1pLW3 34X4BB+1YpZziQQaLVtMew+eJoQUqrCjM8nbbCEa0xn4FXvyEAaQQHS+7rVp68sooxeM D6Y1nHTmXAE6RIwZLeob3i/0bgyasD6baje7F7GfoYMQq7SmJOY7KYoumXubPyeBVqPd 6w== Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by aserp2130.oracle.com with ESMTP id 34c9sapqxr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 26 Oct 2020 20:13:15 +0000 Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 09QK0IW3097405; Mon, 26 Oct 2020 20:13:14 GMT Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userp3020.oracle.com with ESMTP id 34cx1pwjhw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 26 Oct 2020 20:13:14 +0000 Received: from abhmp0006.oracle.com (abhmp0006.oracle.com [141.146.116.12]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 09QKDD9U025527; Mon, 26 Oct 2020 20:13:13 GMT Received: from ca-mkp.ca.oracle.com (/10.159.214.123) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 26 Oct 2020 13:13:13 -0700 To: Daniel Wagner Cc: Nilesh Javali , Arun Easi , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, Finn Thain Subject: Re: [PATCH v4] qla2xxx: Return EBUSY on fcport deletion From: "Martin K. Petersen" Organization: Oracle Corporation Message-ID: References: <20201014073048.36219-1-dwagner@suse.de> Date: Mon, 26 Oct 2020 16:13:11 -0400 In-Reply-To: <20201014073048.36219-1-dwagner@suse.de> (Daniel Wagner's message of "Wed, 14 Oct 2020 09:30:48 +0200") MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9786 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 phishscore=0 bulkscore=0 suspectscore=1 malwarescore=0 mlxlogscore=999 mlxscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2010260132 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9786 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 impostorscore=0 mlxlogscore=999 malwarescore=0 lowpriorityscore=0 bulkscore=0 priorityscore=1501 spamscore=0 phishscore=0 clxscore=1015 suspectscore=1 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2010260132 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Daniel, > When the fcport is about to be deleted we should return EBUSY instead > of ENODEV. Only for EBUSY the request will be requeued in a multipath > setup. > > Also when the firmware has not yet started return EBUSY to avoid > dropping the request. Applied to 5.10/scsi-fixes, thanks! -- Martin K. Petersen Oracle Linux Engineering