Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp988521pxu; Wed, 6 Jan 2021 09:24:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJwN+xuqEFDyOzt46V4Lb+kJ7BKu2/VnJaN/mL6vfjHKyUvVJ8aQgzqNZf3aLx60FcajWjLR X-Received: by 2002:a17:906:4d47:: with SMTP id b7mr3443044ejv.420.1609953865569; Wed, 06 Jan 2021 09:24:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609953865; cv=none; d=google.com; s=arc-20160816; b=goNj+iBi2wjPddoartQYO04X1JD0+ep8g3yH5PP8s4uFWbLci1dDJITJwLoixAH8fF yr2uusOIIJJdSDsF38BG3wZChyeiQW+wOq4egMvac3xhDu6hnY0a1PacV3an75ShEhvb iAuvBp/R7ypW766sV1RFOzkrMcUH3x8rh1ORLKvuMsNCZRQDIWErlR4cyPC1/RYwGsvF 8thTiRE/JUJEg4A2fXSgeW99kEcrf0AL9KG5uDnHjuTI4ybkvk6Je0KcAkRtrKxNPClk Vi9quePulsY3dVsNqkX5osC/HGDuhPeIOZxB/VaTJW6lxYwJnI4AKRkKS3atQwnP2dmr J3hA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=M/SBYHXcgvsk1w6Hu6jpEFpQcPfShH2iy/FzNLOSEP0=; b=dVQ6H64F+Mzd7enJhTy9DQitkbf7Qco8nmhanewfEs9bzswAlQ2Gu/UN0mZc5wThrb Ei6r2W8l2tj+gSPsMW53N2MNO6Z4+UMq/kvIQcVvlcHjVd3OywJDQ2vyeMley1TmDFrN 2T5yAkOUNtcaPiVgtnH9e+EPEc9DsbKL1GHkY2XqqN26eJJkO8aWIF/BN4OuZOPiuVET AHx3ivy0UaX21uRLLfTNnif1Ng3O+ZF6iwpv+QUZdk03tjT/mVIZiM/j46elPS1jTWE4 jIp0CEMJx0KxH0HhmdrK32Kb18oN8QN/1XkV5nXvr+u0tZhNaWa1Ppw4fSL1A5OpBUqE EN7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b="egK7x/Il"; 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=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j14si1147526ejy.327.2021.01.06.09.24.00; Wed, 06 Jan 2021 09:24:25 -0800 (PST) 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=@ibm.com header.s=pp1 header.b="egK7x/Il"; 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=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728042AbhAFRTe (ORCPT + 99 others); Wed, 6 Jan 2021 12:19:34 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:1216 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727187AbhAFRTd (ORCPT ); Wed, 6 Jan 2021 12:19:33 -0500 Received: from pps.filterd (m0098404.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 106H3ar6109758; Wed, 6 Jan 2021 12:18:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=pp1; bh=M/SBYHXcgvsk1w6Hu6jpEFpQcPfShH2iy/FzNLOSEP0=; b=egK7x/IlF/700xzdthFHC3bFAhleg+ciY6KGJ3phHMJXTlM2yU0nuRl2YtA2bXXn+gJK +g/eR/wCvUk+hFYl4mRTPg/E66ZKI6SFKaHDsgzqvo082Q5gCZD0aJU13ctjV2D9uGhk pxyVtkR+gFVIICsNr2YnTxWlBGwMCrW9bDXGcCu6Rm0vTFa9q4tjyK9NWaI7kkJJaHt3 /dPg0tKhOMsp37keQO0XcvEpfdOZ4zMAymITgpiDlVrKawv56FPx5iTjAUccrlDrf90W rfEtRXo+ksmZfZYHf0JfP20xWILXVidjZWLaSS08knWEQTDCwGVJK3MeMmgbGTKqew97 zQ== Received: from ppma03wdc.us.ibm.com (ba.79.3fa9.ip4.static.sl-reverse.com [169.63.121.186]) by mx0a-001b2d01.pphosted.com with ESMTP id 35wgk41rwu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 06 Jan 2021 12:18:39 -0500 Received: from pps.filterd (ppma03wdc.us.ibm.com [127.0.0.1]) by ppma03wdc.us.ibm.com (8.16.0.42/8.16.0.42) with SMTP id 106H2t8Y002359; Wed, 6 Jan 2021 17:18:37 GMT Received: from b01cxnp22033.gho.pok.ibm.com (b01cxnp22033.gho.pok.ibm.com [9.57.198.23]) by ppma03wdc.us.ibm.com with ESMTP id 35tgf96cgp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 06 Jan 2021 17:18:37 +0000 Received: from b01ledav006.gho.pok.ibm.com (b01ledav006.gho.pok.ibm.com [9.57.199.111]) by b01cxnp22033.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 106HIbgW21103012 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 6 Jan 2021 17:18:37 GMT Received: from b01ledav006.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 40797AC05F; Wed, 6 Jan 2021 17:18:37 +0000 (GMT) Received: from b01ledav006.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 2B285AC05E; Wed, 6 Jan 2021 17:18:36 +0000 (GMT) Received: from oc6857751186.ibm.com (unknown [9.160.27.90]) by b01ledav006.gho.pok.ibm.com (Postfix) with ESMTP; Wed, 6 Jan 2021 17:18:35 +0000 (GMT) Subject: Re: [PATCH v2 4/5] ibmvfc: complete commands outside the host/queue lock To: "Martin K. Petersen" Cc: james.bottomley@hansenpartnership.com, linux-scsi@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, brking@linux.ibm.com, Brian King References: <20201218231916.279833-5-tyreld@linux.ibm.com> <20210104222422.981457-1-tyreld@linux.ibm.com> From: Tyrel Datwyler Message-ID: <861462bb-7688-f32d-1613-e1a13928abbe@linux.ibm.com> Date: Wed, 6 Jan 2021 09:18:35 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.343,18.0.737 definitions=2021-01-06_10:2021-01-06,2021-01-06 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 phishscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 priorityscore=1501 bulkscore=0 lowpriorityscore=0 suspectscore=0 malwarescore=0 clxscore=1015 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2101060101 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/5/21 8:42 PM, Martin K. Petersen wrote: > > Tyrel, > >> Drain the command queue and place all commands on a completion list. >> Perform command completion on that list outside the host/queue locks. >> Further, move purged command compeletions outside the host_lock as well. > > Please resubmit entire series instead of amending individual patches. > > thanks! > No problem. I wasn't sure since it was simply adding a "static" keyword. I'll send a v2 out today. -Tyrel