Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1389722rdb; Wed, 6 Dec 2023 18:40:42 -0800 (PST) X-Google-Smtp-Source: AGHT+IFExDVr+biCuetIwXvwm3+rND7AwIedGX7DSef9XF49Jvege6SzlBxgTSowd+wNSGttvCmT X-Received: by 2002:a05:6e02:388b:b0:35d:6220:ac8b with SMTP id cn11-20020a056e02388b00b0035d6220ac8bmr2726842ilb.58.1701916842100; Wed, 06 Dec 2023 18:40:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701916842; cv=none; d=google.com; s=arc-20160816; b=QkKs0jVyZA1b9+415gQ5Lh1P8w+545nxR/9VkXgirU+blP508+AtZWONwSPp4NbdvC RpZgelHpBPh0QR6ZmRupwa8C0JJx99FJDGATMG/4qRmeQSiGRGadHYuLNobCaWhsczEZ zGStAUrny3CUCUw5wuWlFNXdfa75DhJKvn3X/eiLqt3PLW0dsMNNI9uRg4jJufyoFhDG Q8idI2kQpVhDPvKE8bt8qfoBbW3qmc+2bh7Y5Agrvl+vKyvT8RDr9ZXXJ2o8+tXIMhyr wSBb+yaymBbIZSZdTnIO3zGIXDeGvVkw2zZtVMzFsowo2spa7/YIGe9Qnl4d5rKhjhAL tWrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=7Kr8Ezb2xuew2jHJ0pSoPm3iIPJWSiNf9VwLm+WjuhE=; fh=OvCUO7VSi2qhFSf1pAk0DSxAfqIFciTB3JbkL+4/94M=; b=JgYE6JyhLfdqfGUTnvjfZNrhSeUlBZs3Aho4DocfY4Ed/aU08EWI3xopP9KKSoTh92 Pa8PYOXrWGin2E0gsZwpth7CGSVz/WoZefGj1s9vmMuD23ilIyFGCuC3mz9tDv405hud +dIpVlizU/iR+9GJhOEmrngt6Z47AWZDru6aO3o6zL1ZWBL6lgGVFJ3NoJAY95xT7NVP mNHutyyYMQsiFubJ/1kHhPDJqWTaREzcEYy98Dg2ufOOLF3g1BvXWU3brotf+o5/2/xq 3UUHfgzIkVj+vqfos5e5O+NoqMom+A0Zzl2xvXhKBFKafdC8RGA/UZxlcvGpo9n+LBxk jKlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.org.uk header.s=zeniv-20220401 header.b=MbtfN9I4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zeniv.linux.org.uk Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id l8-20020a6542c8000000b005c65defc400si309668pgp.624.2023.12.06.18.40.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Dec 2023 18:40:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.org.uk header.s=zeniv-20220401 header.b=MbtfN9I4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zeniv.linux.org.uk Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id EA6AB80D6ADB; Wed, 6 Dec 2023 18:40:35 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1443076AbjLGCkV (ORCPT + 99 others); Wed, 6 Dec 2023 21:40:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57762 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1443075AbjLGCkV (ORCPT ); Wed, 6 Dec 2023 21:40:21 -0500 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 E5DFF10C3; Wed, 6 Dec 2023 18:40:26 -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=7Kr8Ezb2xuew2jHJ0pSoPm3iIPJWSiNf9VwLm+WjuhE=; b=MbtfN9I4spoF8CXhWoiDpU2a+h 2VIGym8MrZwJwkE594adbia1RMiZUGqWB7Vh55Jl7IWjc4ODy8eNU1YJUHCY+5eUgPrtO/rbPgdgD zC8bvUGrnISTSmiDHop2Ia+XHL1+lqLA2QUmt46cEq/8E4I18TKnpk1uSPT7dFq+uqYP860xGLnqf fGXdhvkc2vH9ZjEjVXB9a85QwvT059eDGw0VNZ8tz3Ht97Ufua+nF5ab6PiERWRrOdTLsfau4x3MZ LlLf9bm0HB/6fUQorv0FFLfXiFWRLsbnbvf1Edn9zzYj8dshqN30Mwjkd4n3BWyWm9ZbLAG7003kv O2RbsqaA==; Received: from viro by zeniv.linux.org.uk with local (Exim 4.96 #2 (Red Hat Linux)) id 1rB4JM-0083Qf-16; Thu, 07 Dec 2023 02:40:24 +0000 Date: Thu, 7 Dec 2023 02:40:24 +0000 From: Al Viro To: Dave Chinner Cc: linux-fsdevel@vger.kernel.org, linux-block@vger.kernel.org, linux-cachefs@redhat.com, dhowells@redhat.com, gfs2@lists.linux.dev, dm-devel@lists.linux.dev, linux-security-module@vger.kernel.org, selinux@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 03/11] vfs: Use dlock list for superblock's inode list Message-ID: <20231207024024.GU1674809@ZenIV> References: <20231206060629.2827226-1-david@fromorbit.com> <20231206060629.2827226-4-david@fromorbit.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231206060629.2827226-4-david@fromorbit.com> Sender: Al Viro X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Wed, 06 Dec 2023 18:40:36 -0800 (PST) On Wed, Dec 06, 2023 at 05:05:32PM +1100, Dave Chinner wrote: > @@ -303,6 +303,7 @@ static void destroy_unused_super(struct super_block *s) > super_unlock_excl(s); > list_lru_destroy(&s->s_dentry_lru); > list_lru_destroy(&s->s_inode_lru); > + free_dlock_list_heads(&s->s_inodes); > security_sb_free(s); > put_user_ns(s->s_user_ns); > kfree(s->s_subtype); Umm... Who's going to do that on normal umount?