Received: by 2002:a05:7412:3290:b0:fa:6e18:a558 with SMTP id ev16csp844083rdb; Fri, 26 Jan 2024 12:25:56 -0800 (PST) X-Google-Smtp-Source: AGHT+IHfYqbWD9KZYM9V2XYKKHs7vc3oDWCrOAfTRzPyCUKY0t91cvFhhO+bUGSY8DIBhZ1ww9iy X-Received: by 2002:a05:6358:5709:b0:176:4b1a:8364 with SMTP id a9-20020a056358570900b001764b1a8364mr265635rwf.21.1706300756141; Fri, 26 Jan 2024 12:25:56 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706300756; cv=pass; d=google.com; s=arc-20160816; b=S8iqaCsP3Uhumanqc9zUZBoDE9mUNQestqjiNp7/Hre64jgnZsp5h8XNwi/n79KGJu UGdAbQIQpzRUCCPcNw7GFFSXE2UcsakD6Q1towugvFKRB9eLKYSC7REJJZQOxsotPpkf vvK0OflgQNT8xV/9GcsUOTxnseRfQIL4eu3qHZke+AFlRwxfk5dRgJ3e4pS9OwAa5Myu 9mL8Q5ydsp/0plsu2dhuOvRSz5XM6cCdM7FOoBRFLLCKtOgOVtP/gZPyc/SLCgAtAujF vu4lVEG/c/2Vsts9NN47Sqc8MXGefktHLvMcC4rExkuQquek+bR/ijnCknNLrUGY1gQg W7QQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=ANDDmreLZfT1WX/HwjJ1bWT4NTPKcyNOAiea0NIAPr0=; fh=CGEYBRzdeLqdQ7cu6ais8LsjhTrgSUYv+sswjiTqnZ0=; b=LTkLobO8TxxI3a9oK7jzLY2F3KPbm+mixVjXwRGKWWSG2zyeR1wTLdycZ24dcgVInO o5Lvb7s9wMdvQKT+f5waKbgcphrilForEu/Y/BuKE+uWzhHxtumyLc/QRZ+gVzl9GsFB vxCK0gW4aHM37gR8K+OWJtSXpR0ICu4W00rHaZHRJ081XqZ0X+L3Tk4r1i+xgNkMdswC UHWgvEHEAD4h8Gbv5JB2eRB/nDmgdi9ZYk7Hdgqvkzp+RJpU5EGJWinnTfM7pSzkCgKs 5oYYQFhMzgkxFaRZrR4wjbmH2AFV1kMN7GnTsEBFlCy6bdnYg0Uf5dCGmVyaFX1aZ41u wdXw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=JAlkxanp; arc=pass (i=1 spf=pass spfdomain=linuxfoundation.org dkim=pass dkdomain=linux-foundation.org); spf=pass (google.com: domain of linux-kernel+bounces-40624-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-40624-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id e25-20020a633719000000b005d5d067e97dsi1634367pga.890.2024.01.26.12.25.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 12:25:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-40624-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=JAlkxanp; arc=pass (i=1 spf=pass spfdomain=linuxfoundation.org dkim=pass dkdomain=linux-foundation.org); spf=pass (google.com: domain of linux-kernel+bounces-40624-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-40624-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id AF84F285B12 for ; Fri, 26 Jan 2024 20:25:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AEA6922F17; Fri, 26 Jan 2024 20:25:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b="JAlkxanp" Received: from mail-lj1-f180.google.com (mail-lj1-f180.google.com [209.85.208.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B0776208BE for ; Fri, 26 Jan 2024 20:25:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.180 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706300727; cv=none; b=sRwlgY5ZJeWXwJ3i4ikQTaApAW+eSTZjXxG5tURid+Z+ke6G6aJ+UYu4Kc9M6PjmrL9oYDGxL/81DRHH5Gsq/+l3Pgd/uqy245V1RIhAyY7w/IWgJdUUi3wRTBC6p/EOpZyAs3cDaGO862HakYu7e/jRAA4cFyDuTuU4jSFGNdw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706300727; c=relaxed/simple; bh=9+OPO3V3SP3LRuHvDOl2Rmxreo2UCuuZVrw9wtlT3Qg=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=GhUXvZqIP4s5EM70BU16hhcYDNHVDXcT3w6dzsaVLzaCdsBEm8YIFRZBlk8ZVqBY22xUiF4sm/b+7RvLhZY0jBTI8GtC7w2s+M0OZpqRm9ZT5+PNv+p1hYPgAZSDYuYWSEdly1ujvnSrQvqSpHi97k+sKhzSoil6J2CI6LGdJiA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org; spf=pass smtp.mailfrom=linuxfoundation.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b=JAlkxanp; arc=none smtp.client-ip=209.85.208.180 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linuxfoundation.org Received: by mail-lj1-f180.google.com with SMTP id 38308e7fff4ca-2cf1fd1cc5bso9024181fa.3 for ; Fri, 26 Jan 2024 12:25:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; t=1706300723; x=1706905523; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=ANDDmreLZfT1WX/HwjJ1bWT4NTPKcyNOAiea0NIAPr0=; b=JAlkxanpoLQwav1GPCk1OY/JE/f2A0UcBuMd5FJMTGjZufCYqLY0kgTKrRextqe8Px 1lExEqpaL6Y1zKiS/teMgBHCkft+atkQX6mvQu0YVwOfkPEvl6H82IBIwNR2vq+Eyozz 79IDKYQSnFSYGAZDKcoJOPEG13nU1hxIbJrXE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706300723; x=1706905523; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ANDDmreLZfT1WX/HwjJ1bWT4NTPKcyNOAiea0NIAPr0=; b=q9Tc7B+NJsojoFBzE1C+e2xnEuRU2lv3nMdiZ5aNvRwhVbAWLm/R4c3TL4aqfTNrXp NnDnGhA1OdH54MkQR1LpoMixQKA7yLevTf3LY45gevYVuPSFTPY1cLJXnbH+8+HdLaZD rFXze7plV9T7c58vuC/j9/00BNTBqesQoTBnJRiT27e3Or3SZeGsfaCpd/+OcBLdPHn5 utavCeejaaUwH8eynIglRJ750D+ya7CA+t8DiU97eV90Vs3Xp3IkHkaWZRReeBvSNjc5 nOxRu5n9eDjwnEsN9BJM/nxPZF13V19g0inSzlCuOedyDtrf+tI4mJ9Q9XHiFbN6YRMQ E6yw== X-Gm-Message-State: AOJu0YzoDAJrvVQjLnoCAC2ACWFSgLRhLrAMfS5QdbrePLR+rxmXFxtz qBcIL72LX6CiGvc8Q91BcNjytQHD3eOE6QTg078H5ZKe4jknxakrvz0LedtoT5SJMUb58djL2Se 96EWCKQ== X-Received: by 2002:a2e:a984:0:b0:2cf:1920:97 with SMTP id x4-20020a2ea984000000b002cf19200097mr582608ljq.12.1706300723271; Fri, 26 Jan 2024 12:25:23 -0800 (PST) Received: from mail-lj1-f174.google.com (mail-lj1-f174.google.com. [209.85.208.174]) by smtp.gmail.com with ESMTPSA id z14-20020a2e964e000000b002cd35d8b018sm251139ljh.113.2024.01.26.12.25.22 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 26 Jan 2024 12:25:22 -0800 (PST) Received: by mail-lj1-f174.google.com with SMTP id 38308e7fff4ca-2cf161b5eadso8126981fa.2 for ; Fri, 26 Jan 2024 12:25:22 -0800 (PST) X-Received: by 2002:a05:651c:107b:b0:2cf:4170:d181 with SMTP id y27-20020a05651c107b00b002cf4170d181mr392047ljm.7.1706300722280; Fri, 26 Jan 2024 12:25:22 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240126150209.367ff402@gandalf.local.home> In-Reply-To: <20240126150209.367ff402@gandalf.local.home> From: Linus Torvalds Date: Fri, 26 Jan 2024 12:25:05 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] eventfs: Have inodes have unique inode numbers To: Steven Rostedt Cc: LKML , Linux Trace Devel , Masami Hiramatsu , Mathieu Desnoyers , Christian Brauner , Ajay Kaher , Geert Uytterhoeven , linux-fsdevel Content-Type: text/plain; charset="UTF-8" Steven, stop making things more complicated than they need to be. And dammit, STOP COPYING VFS LAYER FUNCTIONS. It was a bad idea last time, it's a horribly bad idea this time too. I'm not taking this kind of crap. The whole "get_next_ino()" should be "atomic64_add_return()". End of story. You arent' special. If the VFS functions don't work for you, you don't use them, but dammit, you also don't then steal them without understanding what they do, and why they were necessary. The reason get_next_ino() is critical is because it's used by things like pipes and sockets etc that get created at high rates, the the inode numbers most definitely do not get cached. You copied that function without understanding why it does what it does, and as a result your code IS GARBAGE. AGAIN. Honestly, kill this thing with fire. It was a bad idea. I'm putting my foot down, and you are *NOT* doing unique regular file inode numbers uintil somebody points to a real problem. Because this whole "I make up problems, and then I write overly complicated crap code to solve them" has to stop,. No more. This stops here. I don't want to see a single eventfs patch that doesn't have a real bug report associated with it. And the next time I see you copying VFS functions (or any other core functions) without udnerstanding what the f*ck they do, and why they do it, I'm going to put you in my spam-filter for a week. I'm done. I'm really *really* tired of having to look at eventfs garbage. Linus