Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp108099pxb; Tue, 12 Jan 2021 21:51:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJz3BAgEXj6qkgy3/KIntqPH+9zG27HCBN0/tXyTuGtxk736s8AV6hFs+Fqsv9qkeFKHGUjh X-Received: by 2002:a17:906:3881:: with SMTP id q1mr393326ejd.490.1610517069910; Tue, 12 Jan 2021 21:51:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610517069; cv=none; d=google.com; s=arc-20160816; b=dYIWVDKHckWVOJ/t0r+SZtNE/v2YryHHgSV3Duf8MNl1c7e3Xevcf6QL5zCmtJKFz/ 7WwHZWjofHKSVUkitim3Xw8AkqDdISUB8hjpXptulQFDiFHYLhuzz/7sScpqLuoy972R iKUPoFhrXt6/hwFGyQwVYA3ZkV69/RQeckMu/LWBgob+oMqntlVmpNsqoiBZU+BitLpO tCakyKUWar4mQF6Um4BEdvPjasT2ME1aE8LKLMC/B4oTvLuswalsJPQyDWk6BLDBo4fP jxtxteuN1vG0BG0TwkQBDwG2xgDzaoM9oFnH4wVeFE/PnNOHs2KYraFosfE1yViSyTdI nLpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=k17fpzZ91DAkQGNJ1v/pKHtocxznO0ZLyKca+jMjbr4=; b=fe2bqx2ZEqD9JLxTE1tcEMqNxCd1xk8HGLc0k+3Od1nDNdrUEkXddCnQJsXC+USt/y DIjIoeL0Lbf6cH3hckQkyJ+bnNxrVolcUpNmvgZc+dBdlaJahRozpkiLQuMghQlNOkvy t2l22fZkI7/Ueu2bYt2aPdxJysnibxg8O1+40xmeeHFCHAvWKaICcEoXVh+Vj+AXAa9p iYUiMToBhSnIqiTqA3jQNfHmP1Ode+h+38+0llNSnRz5u1c0h3k73opZ/XW9bx1M2r+a uX4U2+rxwHO7V0hA20DsNyNq/HW91g+fSTXR1CgRlchrvtWUJ1yv995m4ntpTYU2UDUd RccQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=LDehUlio; 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 n27si433763ejh.345.2021.01.12.21.50.46; Tue, 12 Jan 2021 21:51:09 -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=@oracle.com header.s=corp-2020-01-29 header.b=LDehUlio; 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 S1726411AbhAMFto (ORCPT + 99 others); Wed, 13 Jan 2021 00:49:44 -0500 Received: from aserp2130.oracle.com ([141.146.126.79]:33974 "EHLO aserp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726235AbhAMFtn (ORCPT ); Wed, 13 Jan 2021 00:49:43 -0500 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 10D5hYdg166573; Wed, 13 Jan 2021 05:48:52 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type : content-transfer-encoding; s=corp-2020-01-29; bh=k17fpzZ91DAkQGNJ1v/pKHtocxznO0ZLyKca+jMjbr4=; b=LDehUlioiN+FaHbcbHzgIA3RkSZzN/OCiBWRAmW4LG6iSEsP3YQhLciCLi2u6J0H+1iw hl46N9246VzFJqgV5UCLm+G/Jvn0WwqKTAWoiXF35WzG8vi3CHEVaCqE+Lo4zQcWzeuf eJCWYoRGRebPuE8Ead5O/Y5JJG+RhKmk4oT4952Keb+uIh8scCgSP62bvovk/KFKNIBx ZzIzJRsMySuZTH0g2pkXpbcR36q2PEUukPGVYSAaa+LWBx+gWUa61sM9JT6ZEA3YLTPm bEG5aDvjWRycvjwnxofJKYgiT4wdvfHc8zTgoqmf29QsUsRP2jC/qTu0qQrDzAzf88XO BQ== Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by aserp2130.oracle.com with ESMTP id 360kg1snsf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 13 Jan 2021 05:48:52 +0000 Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 10D5dccN158991; Wed, 13 Jan 2021 05:48:52 GMT Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserp3020.oracle.com with ESMTP id 360ke7rkq8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 13 Jan 2021 05:48:52 +0000 Received: from abhmp0001.oracle.com (abhmp0001.oracle.com [141.146.116.7]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 10D5moli011666; Wed, 13 Jan 2021 05:48:51 GMT Received: from ca-mkp.ca.oracle.com (/10.156.108.201) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 12 Jan 2021 21:48:42 -0800 From: "Martin K. Petersen" To: Tyrel Datwyler , james.bottomley@hansenpartnership.com Cc: "Martin K . Petersen" , brking@linux.ibm.com, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-scsi@vger.kernel.org Subject: Re: [PATCH v2 0/5] ibmvfc: MQ preparatory locking work Date: Wed, 13 Jan 2021 00:48:28 -0500 Message-Id: <161050726819.14224.2836008453363437942.b4-ty@oracle.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210106201835.1053593-1-tyreld@linux.ibm.com> References: <20210106201835.1053593-1-tyreld@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9862 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 suspectscore=0 spamscore=0 mlxlogscore=999 malwarescore=0 bulkscore=0 mlxscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2101130034 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9862 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 suspectscore=0 clxscore=1015 impostorscore=0 spamscore=0 priorityscore=1501 mlxscore=0 phishscore=0 mlxlogscore=999 bulkscore=0 adultscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2101130034 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 6 Jan 2021 14:18:30 -0600, Tyrel Datwyler wrote: > The ibmvfc driver in its current form relies heavily on the host_lock. This > patchset introduces a genric queue with its own queue lock and sent/free event > list locks. This generic queue allows the driver to decouple the primary queue > and future subordinate queues from the host lock reducing lock contention while > also relaxing locking for submissions and completions to simply the list lock of > the queue in question. > > [...] Applied to 5.12/scsi-queue, thanks! [1/5] ibmvfc: define generic queue structure for CRQs https://git.kernel.org/mkp/scsi/c/f8968665af28 [2/5] ibmvfc: make command event pool queue specific https://git.kernel.org/mkp/scsi/c/e4b26f3db864 [3/5] ibmvfc: define per-queue state/list locks https://git.kernel.org/mkp/scsi/c/57e80e0bc108 [4/5] ibmvfc: complete commands outside the host/queue lock https://git.kernel.org/mkp/scsi/c/1f4a4a19508d [5/5] ibmvfc: relax locking around ibmvfc_queuecommand https://git.kernel.org/mkp/scsi/c/654080d02edb -- Martin K. Petersen Oracle Linux Engineering