Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp1207570lqs; Fri, 14 Jun 2024 21:45:38 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXGvXOTTXmX5iwLmfGbrl0Ba6F72plSJjZqoTQQLBu4ry6vcGmRqDUyaoyv6Q5V3R0P2kUOxx8fvMR1Aa/9ro4XLlwDNNyA6A3o+qbiXw== X-Google-Smtp-Source: AGHT+IFpQI8D5F8MguWPhkd/d931tRRHsetd4P/DmcEmmlukO2DKM687ldm6c4TAIFHyR5GpZgFY X-Received: by 2002:a05:620a:2a02:b0:795:56dd:e972 with SMTP id af79cd13be357-798d23f9342mr468385485a.5.1718426738661; Fri, 14 Jun 2024 21:45:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718426738; cv=pass; d=google.com; s=arc-20160816; b=CWM0bSQYBM/ZUdS4p1Gzxf9xakUhZ6tSlLSx3Dza02Y3i0WNwePbmZuV0NXeg724Hr FM0Mqe5pvseviIhwCHjs0MUWuVtj590M3vCO91TG+I2FMJvdtARRcB8nKqRkkIRpDSF2 ZPsnlRZ91TroWr+lwB1LvOo26WhrRi+J2N1tQKqcVqp3HFgv2b1njfthw2ZluNUIAZHh zLRo1jzXppi7dB7t5EhERnlTCPDdD9SrMk+X4I3IP2yjPTVBH94hZNDcxWLYWWirVtyj PblVl8S8TquHEQX4V2TSaIn1f2wyzqe8AtsB289IUS/5S/YEwGC0MMEoXOXVGU6rfoiw TxsA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :message-id:subject:cc:to:from:date; bh=g2Q18bYuI4NTiopYNyUmr0ppShmWWtxyKu7TaMfk3R4=; fh=KMPbCmxlrUIIUPJkFMBstxHesF3oI717SJokiCR5tp4=; b=LQTk+50s0eOy+I2GPNf7lFHU1J3wDiVliFS+D0xf85maRmk6MIeJpSAWRfc8P1fuPu FlaCh5W5D12VzmOnNrL3fMmS8FGPsbpNScU+fhbAj5IrTKyI3O6orxfd8ziKfn8IVW9M sSLib/itqmCgMQT9JV6+2ZgJbp+KnG1mUZ3+bYZeuvhV6DgCG6MDOPZS4WODBxlQR6dh Qi+9dEDq5CXOhlem5xZ2QXj4aXGVtx4ZKvil97JlBYlV+Ns3cUC5BrJiCQSRtEiKZ7aZ yxWWE2rK2OL274zeWCHi4UMJ1gDOatxaFXX6EG5G1vk0DmXN1OMMfVAkBK04SE84Z2+9 euWA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=lst.de); spf=pass (google.com: domain of linux-kernel+bounces-215702-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-215702-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id af79cd13be357-798aac9c23dsi507617885a.60.2024.06.14.21.45.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jun 2024 21:45:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-215702-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=lst.de); spf=pass (google.com: domain of linux-kernel+bounces-215702-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-215702-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 62F3B1C213C0 for ; Sat, 15 Jun 2024 04:45:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2CA781078F; Sat, 15 Jun 2024 04:45:29 +0000 (UTC) Received: from verein.lst.de (verein.lst.de [213.95.11.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6B1A319D893; Sat, 15 Jun 2024 04:45:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.95.11.211 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718426728; cv=none; b=m+3aTxZplbtMrBVK8o0P0fPQahGjF9l49DQefIKceKxnVECL6vWrSdUhVCqU0c0MB/BgYxWn7qMLBgue2t6W9yQvAdUBaIjCnWo12YyaNMfS5wziQw6sFaSEXOnxF0oRHHTJV/idHsi993kysVHMa8gcRPGglYzL95fnR6oV3Rs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718426728; c=relaxed/simple; bh=pOAUtE5rhzpplHPWbDDk/GW7LxWvFe11lO88k15jHf8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Xq/+7a5FC0zDs1s4HaQ7cjNelyI1c5lXskUSNcAIQFjwGHBHFnlePcSVey7yBYPys0qC6aVDLDy177iD0tb7WLDJoOaPQnjmT7tQneHYR9YmHwKkooZ1uPegvqNH4+5dylSkDdrlkiqAQgG1RJGHo8oSnl1FedvRdK2VFwQOvBE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=lst.de; spf=pass smtp.mailfrom=lst.de; arc=none smtp.client-ip=213.95.11.211 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=lst.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lst.de Received: by verein.lst.de (Postfix, from userid 2407) id CAC0A68D07; Sat, 15 Jun 2024 06:45:19 +0200 (CEST) Date: Sat, 15 Jun 2024 06:45:19 +0200 From: Christoph Hellwig To: Gulam Mohamed Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, yukuai1@huaweicloud.com, hch@lst.de, axboe@kernel.dk Subject: Re: [PATCH V5 for-6.11/block] loop: Fix a race between loop detach and loop open Message-ID: <20240615044519.GA28679@lst.de> References: <20240615012138.120364-1-gulam.mohamed@oracle.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240615012138.120364-1-gulam.mohamed@oracle.com> User-Agent: Mutt/1.5.17 (2007-11-01) Umm, so this is back to not just doing autoclear all the time? What I suggested was to go to my RFC patch that still does the unconditional autclear, but which sets rundown when there was just a single opener.