From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (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 5357018035 for ; Mon, 6 Nov 2023 18:08:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linux.org.uk header.i=@linux.org.uk header.b="p3TGXWkI" Received: from zeniv.linux.org.uk (zeniv.linux.org.uk [IPv6:2a03:a000:7:0:5054:ff:fe1c:15ff]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F07E294 for ; Mon, 6 Nov 2023 10:08:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=linux.org.uk; s=zeniv-20220401; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=j5OST9jzsK2inebKt2PrF+eoLsFk25qHEykVZ3vVgnQ=; b=p3TGXWkIvmSqnWNFSANXCyE62+ Xy75IwXujOhQWUFLi+KJirvw+XECMz+U7gtuOGZl0tCjSD5Zdmi4iId2kqBMDzBEhRttq1BUgK/1p tYAvwOc+EpVu7339WNusINXD747ENQEglkeaROWBERcEu6cVUQI++nQfQs5iSwGCxuRfL3YH9vWSK Wyq6YQVjWkAIYnNtCRwCsmtpCH2/+HcAUgFUwEOSz+FmtcTboOBzOPHy/m6NJwoBM55mmMUA4mD3T NqJ91+WwyRL4ptY0XnWQeHceNetUcxh15MjZP8oxnm1amuqgKQdpbrNurOesQrrOzYg8ROl8ujtAK IzabqDuw==; Received: from viro by zeniv.linux.org.uk with local (Exim 4.96 #2 (Red Hat Linux)) id 1r041X-00C8OG-2u; Mon, 06 Nov 2023 18:08:32 +0000 Date: Mon, 6 Nov 2023 18:08:31 +0000 From: Al Viro To: Christoph Hellwig Cc: Christian Brauner , Jan Kara , linux-fsdevel@vger.kernel.org Subject: Re: [RFC PATCH] fs: make s_count atomic_t Message-ID: <20231106180831.GU1957730@ZenIV> References: <20231027-neurologie-miterleben-a8c52a745463@brauner> <20231103081907.GD16854@lst.de> Precedence: bulk X-Mailing-List: linux-fsdevel@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: <20231103081907.GD16854@lst.de> Sender: Al Viro On Fri, Nov 03, 2023 at 09:19:08AM +0100, Christoph Hellwig wrote: > Same feeling as Jan here - this looks fine to me, but I wonder if there's > much of a need. Maybe run it past Al if he has any opinion? [resurfaces from dcache stuff] TBH, I'd rather see documentation of struct super_block life cycle rules written up, just to see what ends up being too ugly to document ;-/ I have old notes on that stuff, but they are pretty much invalidated by the rework that happened this summer... I don't hate making ->s_count atomic, but short of real evidence that sb_lock gets serious contention, I don't see much point either way. PS: Re dcache - I've a growing branch with a bunch of massage in that area, plus the local attempt at documentation that will go there. How are we going to manage the trees? The coming cycle I'm probably back to normal amount of activity; the summer had been a fucking nightmare, but the things have settled down by now... at least 5 topical branches, just going by what I've got at the moment.