Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp14153024pxu; Mon, 4 Jan 2021 14:23:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJxL2Q3q6vjw0BWWXMxIXqU/4gHuqhqT1idqV7xPQlJnu7r/1xup2+RpC+044QRitZEf3yTg X-Received: by 2002:a17:906:fa8b:: with SMTP id lt11mr68168819ejb.94.1609798986686; Mon, 04 Jan 2021 14:23:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609798986; cv=none; d=google.com; s=arc-20160816; b=f2LrTNSR6J5fkPBDTSI2symdGO06sD5kE/LB/MxxawsRn7Ma4HxBhO46+vYR3Oqhwm WD1X6PevZwc8EhEDJQnkBXH680mKfe4oCcubA9j1g0Jyoh167UVhbuJBidOWx1IyYeCQ k5tTGYb/QC2sydSBmHtuKbgcTnulem/XksQ2MRzhQMHkbJkQ3gxzhgTLZLqDtDGMRQ1j eCs0AgNL9HMJSsJq3v7ma6cmwxdomODIqzf+FJy/autwUmj0+egyEMBPoQuUEC2wQQQ+ IbGTaDgZvdGsU/6L0wBT8rqtcmMexC6cuBnAE+kq3JZNPjAxe5vXsn+tZu7kwmo2KD7P 1yhw== 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=YLZTq6zQr85wZXbJGTTCuDTBM//57T3a89Mn2kdJpXY=; b=kY7DWTwtN35FkixRsPmrErEXFeaqCSTRxVl9a+gXjIYmdeoX0jVfC2bPCpzsNwtW+w OMzWTjpJs7gaOxcVa9IeeJYdXTsaiqatD8zesTIWsmYQ5PIdPty3c071w6iL3QsuhD65 ilOP8eXBGxCA1O+QzzBwaftBh0VT7jFZsK6ske1c3Q3BKtFo+o8fomOJ5jcblgyu4LDY 28jAkaquE7xJIxoOwYlvgrI2GnIEQ6D0QcjnEov/9p82iQXpfj7OWFdgK1L7+0S86O1e ocQWU++ZX0Hr1gQrI7B7lpU08w1yclSE1smE0ObA0U30C5knwfUDvhYGyCjnH5aRR0uM DF4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=DGOZNvc+; 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 hp25si30118620ejc.361.2021.01.04.14.22.43; Mon, 04 Jan 2021 14:23:06 -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=DGOZNvc+; 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 S1726762AbhADWU0 (ORCPT + 99 others); Mon, 4 Jan 2021 17:20:26 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:5474 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726026AbhADWUZ (ORCPT ); Mon, 4 Jan 2021 17:20:25 -0500 Received: from pps.filterd (m0098393.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 104M1hkZ090494; Mon, 4 Jan 2021 17:19: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=YLZTq6zQr85wZXbJGTTCuDTBM//57T3a89Mn2kdJpXY=; b=DGOZNvc+9WF+nykk27UT9adptFlfO/2E/cOaLp3BTQla2FNso7BEk4G6x3CDoYVxtkJ0 YrX+ZTHOdnVmgcnUcejTVFvudGfzX3RrDPxgCbzaQG6gTLSLO4nhfZPBJUiXCtgF2lc6 apgBUw15+nTQOJCZa+KWNMsrbL8A+5aorMg2vFNRsLV5VRUC8XXgECbcT3BiM0BBeyuK FYLmdeao8aHkU5A/CX0eRyuJxJD0AAt0pwo+Za5XW4BG/n4M8jT78dE6CMMKGV4qfl9T mqnx8m81X++iKCtwRpilAwYibtNwQ0Ii4yGkyGO3YIvSphYISAUhuLB+QYV55bZuDm1+ Zg== Received: from ppma02dal.us.ibm.com (a.bd.3ea9.ip4.static.sl-reverse.com [169.62.189.10]) by mx0a-001b2d01.pphosted.com with ESMTP id 35vb5s0r5x-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 04 Jan 2021 17:19:39 -0500 Received: from pps.filterd (ppma02dal.us.ibm.com [127.0.0.1]) by ppma02dal.us.ibm.com (8.16.0.42/8.16.0.42) with SMTP id 104MHgx4002800; Mon, 4 Jan 2021 22:19:38 GMT Received: from b03cxnp07029.gho.boulder.ibm.com (b03cxnp07029.gho.boulder.ibm.com [9.17.130.16]) by ppma02dal.us.ibm.com with ESMTP id 35tgf95nnu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 04 Jan 2021 22:19:38 +0000 Received: from b03ledav003.gho.boulder.ibm.com (b03ledav003.gho.boulder.ibm.com [9.17.130.234]) by b03cxnp07029.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 104MJb6f22937978 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 4 Jan 2021 22:19:37 GMT Received: from b03ledav003.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 413BC6A047; Mon, 4 Jan 2021 22:19:37 +0000 (GMT) Received: from b03ledav003.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id B4EA16A04F; Mon, 4 Jan 2021 22:19:35 +0000 (GMT) Received: from oc6857751186.ibm.com (unknown [9.160.78.58]) by b03ledav003.gho.boulder.ibm.com (Postfix) with ESMTP; Mon, 4 Jan 2021 22:19:35 +0000 (GMT) Subject: Re: [PATCH 4/5 v2] ibmvfc: relax locking around ibmvfc_queuecommand To: james.bottomley@hansenpartnership.com Cc: martin.petersen@oracle.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> <20210104221758.981302-1-tyreld@linux.ibm.com> From: Tyrel Datwyler Message-ID: Date: Mon, 4 Jan 2021 14:19:34 -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: <20210104221758.981302-1-tyreld@linux.ibm.com> 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-04_14:2021-01-04,2021-01-04 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 phishscore=0 lowpriorityscore=0 suspectscore=0 mlxlogscore=858 impostorscore=0 bulkscore=0 spamscore=0 adultscore=0 mlxscore=0 malwarescore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2101040130 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/4/21 2:17 PM, Tyrel Datwyler wrote: > The drivers queuecommand routine is still wrapped to hold the host lock > for the duration of the call. This will become problematic when moving > to multiple queues due to the lock contention preventing asynchronous > submissions to mulitple queues. There is no real legatimate reason to > hold the host lock, and previous patches have insured proper protection > of moving ibmvfc_event objects between free and sent lists. > > Signed-off-by: Tyrel Datwyler > Reviewed-by: Brian King > --- Ignore. This is the wrong updated patch. -Tyrel