Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp71629rdb; Sun, 28 Jan 2024 14:27:06 -0800 (PST) X-Google-Smtp-Source: AGHT+IEMqbsM9TTkIU0OFIArfTsAC6BolG18nGNBg0bOsxOGUTnHIWXSpSytSZZuLgE9HvgGQjg/ X-Received: by 2002:ac8:5b91:0:b0:42a:a8c5:2a7c with SMTP id a17-20020ac85b91000000b0042aa8c52a7cmr47811qta.73.1706480826286; Sun, 28 Jan 2024 14:27:06 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706480826; cv=pass; d=google.com; s=arc-20160816; b=F+h2RXE8xUgNDHrlAPdaOaXa5RGd5my7+vEX8NJYqc9cOIfXoMsCR9WonEYpjCrt1n NAocq3EA/l26XK8C25dZz9voTQ8JZtrzR5Rxg+BWoyGF9O8woeG+PwIVxnyziKQL9Asd QCYRFEnMPRtkLnadzXKwERlJvPH8Cp+JCTE+FZz91QTzAYqZXY08byUSro6yu51lc1jf 3HB4MQpWuVaep/0dOeRIs2M5rUgLjOzERCMqWe+OzFqeI2gmqEM30WWoZ7eqX4Vp7pGz c9/+24o0KDxdqnch0LRcENmNIY86L9B9lcYhyufaL51wkwX1rYbeD1hFSDqNEA26SaRA 9cdg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date; bh=zZJBRLbn08IT5qVFOnNExQyusK/CxFFEjTB/T5ZB19g=; fh=+NHEOwOI8sgHa/emZ3nIKC4IhKoRFLn6O7wLrfs7tlM=; b=RXU1r81OOoRCRoWrIC3nJ4tUKNFfrTpApH4ZCTv7oF6BVyoiXvaa0oihF67J1bTU/O IAM3bR+fxWVXg0ANDzt3PjLqTFs+0oi00yZeJYwy2ttNxIledU6WhKE3qgIn1XI0xgV2 0Lih5PJmoKEGe9QKiqRP8RhFyKGPk4ISZUuBBoVUl6fkSLcBsw+eyspl9t2ttuWfrSuA rDvwLJTumf08bW6uBtFzt3n7eM7GpWiHTicuV45K3GmPAKOGcJtzU90LZCAKwmP8TB9D wvvLNYlow+KaYPaJ8Pb8594eXcnLVBJd93hVQj8hvcuIX/7mkpEFne9nfKSJY5vXyzC2 0mdA== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-41986-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-41986-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id c6-20020a05622a024600b0042a956fd525si3310811qtx.30.2024.01.28.14.27.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Jan 2024 14:27:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-41986-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-41986-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-41986-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 0ED4D1C21805 for ; Sun, 28 Jan 2024 22:27:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D8E1A3C699; Sun, 28 Jan 2024 22:26:53 +0000 (UTC) Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 56EC63C47B; Sun, 28 Jan 2024 22:26:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706480813; cv=none; b=Ns+9Mz6Cb2rlPNFkC4NoHh/xJCu9Rs8/Fwqflryy5FVtC43bLvSS7c7x56HKYHdsaHXbbEbT9HuS4RtLmx83L4xpKViIlOZXdHQY2JM+tWGz0F2f8zqvMXINhy3+x8RNnCxLdvi635wR4SDr8haCeaaGp0YZbnX7Hv+xtM94JJ0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706480813; c=relaxed/simple; bh=zZJBRLbn08IT5qVFOnNExQyusK/CxFFEjTB/T5ZB19g=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=lPROn1TaVSk+2HGsS/zCiefNGeRabRhvx3RLkdNcn2idBxE0Dx2GTNc9ab2ismFaSxVylHmHxPZbQqCcRyM3qO/c8c9jg7dYR2kG3JSMiPyCd8U2kKvnWa9Q7soQlqwRj1+skSGAmu5YIbdGvWsJiofmzOU/YCPgVQK0b2kWNqQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id C0E3FC433F1; Sun, 28 Jan 2024 22:26:51 +0000 (UTC) Date: Sun, 28 Jan 2024 17:26:50 -0500 From: Steven Rostedt To: Linus Torvalds Cc: Masami Hiramatsu , Mathieu Desnoyers , LKML , Linux Trace Devel , Christian Brauner , Ajay Kaher , Geert Uytterhoeven , linux-fsdevel Subject: Re: [PATCH] eventfs: Have inodes have unique inode numbers Message-ID: <20240128172650.6dbf402d@rorschach.local.home> In-Reply-To: References: <20240126150209.367ff402@gandalf.local.home> <20240126162626.31d90da9@gandalf.local.home> <20240128151542.6efa2118@rorschach.local.home> <20240128170125.7d51aa8f@rorschach.local.home> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) 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-Transfer-Encoding: 7bit On Sun, 28 Jan 2024 14:17:43 -0800 Linus Torvalds wrote: > You seem to have used SRCU as a "I don't want to do refcounts" thing. > I bet you'll notice that it clarifies things *enormously* to just use > refcounts. Well, removing creating dentries in the readdir() logic is what opened up the door to a lot of simplification. Thanks for helping me with that. As I believe that may have been the source of most of the deadlocks we were struggling with. But yeah, kref probably could have fixed that too. -- Steve