Received: by 2002:a05:7412:3290:b0:fa:6e18:a558 with SMTP id ev16csp888243rdb; Fri, 26 Jan 2024 14:11:42 -0800 (PST) X-Google-Smtp-Source: AGHT+IH2lU9Rf3A6na9DJIYrlsNS7hOJLq9dRZ5pjtUk6jXss+xjbvp4zp1mKVTZDrJA9yredUpf X-Received: by 2002:a5d:6a4e:0:b0:33a:e004:e670 with SMTP id t14-20020a5d6a4e000000b0033ae004e670mr247027wrw.60.1706307102453; Fri, 26 Jan 2024 14:11:42 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706307102; cv=pass; d=google.com; s=arc-20160816; b=UoEkohsAKbTdXJxiRaOvGv+tvPNTCYcPREUOOT6JQ3uVYj3fNKtE608RwqVg7Zlh50 5w/wjLw9vSZOH3P8ZP0clhGhgydAkG7Mrmk9gnZrJpb2FGmuCcZcMf35+30f0I5+QRbt NxIqKFnsJLwsAfwi/BJDAZpwBSCE+wmhN17x2L+yjIXRkqxZEZBOoSSFeS1eN2MfnvBv TJ/Onc5ml4NH62Y5nLnJAkToes2uXxk8laC5Dr51oUXcL8dC0ncRUoa8LaTpnXXdSgWP 1Z+8OLtSO5Vxn2bVIvhUVnqEci5N0u3aIpx/K4QhCW+/s4FkwrmM8uvjEY5iblsWyaHX 1BWg== 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:message-id:references:in-reply-to :user-agent:subject:cc:to:from:date; bh=mWP3yb4X9atWcyaPOTFk2qgBLko33odNSmn8kx5Ms9U=; fh=WlcU4g8Jb4Aym7g9yaIirX5y5dumxg7zHygtim3aB78=; b=T8RfbLaqwUVwumMm0prKkcNHym1aUIndZB2rBNlImKLmNTqGi607aB88um68+gCCwM eyYGwAaBMAOvpV/pO5hIYEWkMU1U4AczS7id3FltSYLavVOtTGSa02KnNxsZJiehRwvS KWyjDu+fF23Npc/5Ysr7H3l6X8/pwsOzLX4mFHxNJQE6xiL8xIS0fGIBCkuQ2+afpHy1 CTxF/aFk0HrcuSYaJGVkhBHV7Px2xCP/kafH1hETq54Q6TuasJqHKEwBkij9XwB4NWoz 95CokWjocfQqB3SKER1n7wTMHib5R20exhF1iLgnRCPKEGxz8nc8JUtDA0scFbuJJebb 7e1g== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=goodmis.org); spf=pass (google.com: domain of linux-kernel+bounces-40725-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-40725-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id ks10-20020a170906f84a00b00a2d5ed5bdffsi984033ejb.423.2024.01.26.14.11.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 14:11:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-40725-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=goodmis.org); spf=pass (google.com: domain of linux-kernel+bounces-40725-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-40725-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 473EB1F2355F for ; Fri, 26 Jan 2024 22:11:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 32D0425565; Fri, 26 Jan 2024 22:09:13 +0000 (UTC) Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) (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 0A39A250E2; Fri, 26 Jan 2024 22:09:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=216.40.44.12 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706306952; cv=none; b=tNLCVy5m9RUaqKIZG4PY8TL+8b8KEU2xwtjDScusfGu3osEAQm/bCtN/+TUmxgHK+6JqPMjjyMEaSEhjQeVUW3LH2RIADON+g7QtYlrQ8+QjwVskiCITO2uo9GD5eaF2W3RRU4lbXsCjClUVPdcrwjHYBQilYL3wxaZAd9vQ86w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706306952; c=relaxed/simple; bh=CtzTaYkdi2xs3uvaVT8RVg0S77WwmwuAqxtycAss0+4=; h=Date:From:To:CC:Subject:In-Reply-To:References:Message-ID: MIME-Version:Content-Type; b=FAuKAxWmeHCegt8Tm/Dt53iKXbH11c48WdYHswHFf4ST/fUQbMNBbTKji5igtlVGkL3BZt3TwrN4258f9kT7lYmHSt8MjH1pPXNp52mmANCuosJfI0UxCmQ4sxmKB+6kwddbc68vqTevpHdKiWhrS+EimKRcepeqfeVEvEetqJo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=goodmis.org; spf=pass smtp.mailfrom=goodmis.org; arc=none smtp.client-ip=216.40.44.12 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=goodmis.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=goodmis.org Received: from omf16.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id 07DF080ECE; Fri, 26 Jan 2024 22:09:01 +0000 (UTC) Received: from [HIDDEN] (Authenticated sender: rostedt@goodmis.org) by omf16.hostedemail.com (Postfix) with ESMTPA id 0E2082000D; Fri, 26 Jan 2024 22:08:58 +0000 (UTC) Date: Fri, 26 Jan 2024 17:08:57 -0500 From: Steven Rostedt To: Linus Torvalds CC: LKML , Linux Trace Devel , Masami Hiramatsu , Mathieu Desnoyers , Christian Brauner , Ajay Kaher , Geert Uytterhoeven , linux-fsdevel Subject: Re: [PATCH] eventfs: Have inodes have unique inode numbers User-Agent: K-9 Mail for Android In-Reply-To: References: <20240126150209.367ff402@gandalf.local.home> <20240126162626.31d90da9@gandalf.local.home> Message-ID: <0C9AF227-60F1-4D9B-9099-1A86502359BA@goodmis.org> 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=utf-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 0E2082000D X-Rspamd-Server: rspamout08 X-Stat-Signature: t1hwm8ebwiqcmhpjwt1gda5gazipj7e6 X-Session-Marker: 726F737465647440676F6F646D69732E6F7267 X-Session-ID: U2FsdGVkX18G8o5mt59Y6mr4cWUlR88Fv+EAXiFrcgE= X-HE-Tag: 1706306938-501392 X-HE-Meta: U2FsdGVkX1+yskEDYPvVQ4g3ZQhGys1dTkR4hq7/xYKHMIk+a3H5TVdzTbqEDVUy82Kw2Hgn1sDiQcIr4Xekxca5ZKNqbcwHaiRaMkJrH2npVIMGJ0UhRjkZqlHcphfyYQB/wh7CPdsSDpgSgb0SjHNedmUZI+Z2RkvLkpf4Ib063dkbgah4REWw2JnlWSzk1u2AMILAJl22ExM7bJ5hWB7MELUlKn5wyselZhAIBVlZqT4DWiCb+XEKmEOPpx2aEg404WMra9w1Er6KwPjZjPgsFJFMYZT4y7wD/pGZkUxeHPokQ0iBVubKmBDqH7xdqXfGZ6pMzYj0wwMCpBGn+qEM0nadn1ZyYw6J/okdtLnRp497w0DhPVxql35DWgjEoStdEFav1/kCp6O1vat0QA== On January 26, 2024 4:49:13 PM EST, Linus Torvalds wrote: >On Fri, 26 Jan 2024 at 13:36, Linus Torvalds > wrote: >> >> If you have more than 4 billion inodes, something is really really wron= g=2E > >Btw, once again, the vfs layer function you took this from *does* have >some reason to worry=2E Somebody might be doing 'pipe()' in a loop=2E > >Also, if your worry is "what if somebody mounts that thing a million >times", the solution to *that* would have been to make it a per-sb >counter, which I think would be cleaner anyway=2E > I'm more worried about a loop of: cd /sys/kernel/tracing/instances while:; do mkdir foo ; rmdir foo: done Which is what my tests do=2E And I have run that for over a weekend=2E >But my real issue is that I think you would be *much* better off just >deleting code, instead of adding new code=2E > >For example, what purpose does 'e->dentry' and 'ei->d_childen[]' have? >Isn't that entirely a left-over from the bad old days? > I'm not at my computer, but when I tried deleting that, it caused issues w= ith the lookup code=2E -- Steve=20 >So please try to look at things to *fix* and simplify, not at things >to mess around with and make more complicated=2E > > Linus