Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp569795ybt; Fri, 19 Jun 2020 08:23:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzq3+550QIl5PEetd/jl2jlunjeFj2ZZkjaZ0fjqieVprO26B5qIAnknAKvcPGRyMs5Ajl3 X-Received: by 2002:a05:6402:229b:: with SMTP id cw27mr3791693edb.346.1592580227545; Fri, 19 Jun 2020 08:23:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592580227; cv=none; d=google.com; s=arc-20160816; b=Os9ATH/q91pNTnT9feUHWnyfH/k/ahzopphVk31tzFcEHDltTjn5BIo/u0OcOZwBA9 9V6m/nYNlPjtUV/itBqgXLdCn+5pGSY06prifIAiywqWcRXizJGvW2bxmyaU8T10uYpJ Iutu/tHdQUfDM4FNn4z6ZQ/B+uyk0/au93lNvA2leCk2zKeziMMRR9VE6kx7BgEOxoiV ssFLnC4sh+8Zux04KtrF6lZ+n350AwzA53vsbdiNsEVlaQr5jDF9CHc59owxxU8Y+f19 /0zFBLIQtsCheSTVdbaRhvCmGAcEOWBo0M9x9at96gXiO2QFc7QQ+3okTBMqqhf2iF42 cyLA== 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:mime-version :message-id:date:subject:cc:to:from; bh=6MTeSgjKDY5QyjauWwlIuJqlHHl0aJuqPZyd+jAoPbw=; b=Xb+OAr6hbMrBHYMchcKdQPOpk3Foj1BIxApZNvuqOyfwACxSEFqWq9AEQERo1jIDmK DePkq4W4POFoBD661CfYOLDrSjHgSYltG9aY/NDM8Lp4jx/yT5TqVbmRIWuJTAPun1IP uG/t0RBrV7+iU9dRA867Zli1RhYUPIKYKEgbqt2DoxTneKf5Q6JfTtUIQIKx1kIEJk1W wEa8FJ/n7UhXTvNRjiT/6WlOtzuOmut6zVR2RNQQbIre2oFkI+Y4rRtnF7ryDt/bBmay PRXt1SKFiQSVIgyIu0gM9eHQfikIpbv5ih2rkmaGtDG1lBnYqiYGv27vMNID0ArKe6GN W3xg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l2si3841023ejg.443.2020.06.19.08.23.25; Fri, 19 Jun 2020 08:23:47 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2392739AbgFSPUn (ORCPT + 99 others); Fri, 19 Jun 2020 11:20:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58292 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2392501AbgFSPRg (ORCPT ); Fri, 19 Jun 2020 11:17:36 -0400 Received: from Galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F344DC06174E; Fri, 19 Jun 2020 08:17:35 -0700 (PDT) Received: from [5.158.153.53] (helo=g2noscherz.lab.linutronix.de.) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1jmIln-0007JW-Gc; Fri, 19 Jun 2020 17:17:31 +0200 From: John Ogness To: Jens Axboe Cc: Sebastian Andrzej Siewior , Thomas Gleixner , linux-block@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/2] block: remove retry loop Date: Fri, 19 Jun 2020 17:23:16 +0206 Message-Id: <20200619151718.22338-1-john.ogness@linutronix.de> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, This series removes a retry loop in the ioc reverse-order double lock dance, replacing it with an implementation that uses guaranteed forward progress. While at it, it also removes the nested spinlock usage, which no longer applies since CFQ is gone. John Ogness (2): block: remove unnecessary ioc nested locking block: remove retry loop in ioc_release_fn() block/blk-ioc.c | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) -- 2.20.1