Received: by 2002:a05:7412:3290:b0:fa:6e18:a558 with SMTP id ev16csp874630rdb; Fri, 26 Jan 2024 13:36:53 -0800 (PST) X-Google-Smtp-Source: AGHT+IFabRPlTAwI/L6VAkPbkHK64n9s+Wka+fy7Gq3lrqD1IIdho16PiPDiQFmwpjOH6I6+VDL+ X-Received: by 2002:a17:906:4a45:b0:a30:420f:447b with SMTP id a5-20020a1709064a4500b00a30420f447bmr198112ejv.7.1706305013006; Fri, 26 Jan 2024 13:36:53 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706305012; cv=pass; d=google.com; s=arc-20160816; b=hW2JCLSf+vY9v2DINOa6XBbRpWu1XRHhm+Ug829IHJs+DwSe0Ro3QCLZ06wcgRzuOE qXZCChaDswqiiYtKWxhwSVUhBqA0hB35AltYHkjoPCg7e28VCHTKQ9aQv6un97P9YaO8 /y49dl0ChfbHhGksCKrMyhtTtj0cMnG6IxY04cya7pnk+Jz4PQ/XFGTL6pxTygiOMtCc 9wvxcsSHqGcEXkiIdIOQUyP5B+oqYQNtbXf8P16mcTvcwv3cCgY4j9oaW6uPgNB7cotE n5hkkXV+eMd9RG8XWDk3IC3vw2LAEDjml1IL8U2F1xujGYHwt5vRMiaDhkukDHjZ9wH5 aVRA== 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=CvqA4oK/Qg0raxZ+27W7q7BWtiVAxq8zsa6fXWM1cKw=; fh=CGEYBRzdeLqdQ7cu6ais8LsjhTrgSUYv+sswjiTqnZ0=; b=jOiCYM17Bhr1bCe3LmPsVjt8FXUGhMxkxMWGwwvK22fT2B5YlHfczJRKwh1d7OGr3L pC8PPbQOI3AqSOJZU6a3nEJAVFxbGlmMGdbgJ9pUhexa3zAvWIBzD4WJ1QNIRp6325pE 9dHpyeKxfjrqbAuzHDU9Ijhm6G1FTTB5wq79FOw0QHdTddUmdUpWpGoQMDCFr13ii/4j OBYHAagZAFs7YI+fI75YdHV3pPz8hDQFsO6m3YQcnQwjJGZMJW3vUerQUpR1xyxwoacS ILfqcqjw1vwYclhJM5ogO0RPlCABdT3GDtqtR4n/d6fqpGIy++q7nfbGmpnJyMtK3yOf hZIw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=DPwOgIVx; arc=pass (i=1 spf=pass spfdomain=linuxfoundation.org dkim=pass dkdomain=linux-foundation.org); spf=pass (google.com: domain of linux-kernel+bounces-40681-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-40681-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 gy13-20020a170906f24d00b00a34970a6b04si944567ejb.565.2024.01.26.13.36.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 13:36:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-40681-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; dkim=pass header.i=@linux-foundation.org header.s=google header.b=DPwOgIVx; arc=pass (i=1 spf=pass spfdomain=linuxfoundation.org dkim=pass dkdomain=linux-foundation.org); spf=pass (google.com: domain of linux-kernel+bounces-40681-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-40681-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 BEF2D1F25C85 for ; Fri, 26 Jan 2024 21:36:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 639FE24B2B; Fri, 26 Jan 2024 21:36:42 +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="DPwOgIVx" Received: from mail-ed1-f47.google.com (mail-ed1-f47.google.com [209.85.208.47]) (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 DAAAC24B20 for ; Fri, 26 Jan 2024 21:36:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706305001; cv=none; b=fvESEMSGlwx33An/5+qCh7B4sr/yaRkctoHRM3qCnRY/0GEhI1o8eR4//DkonXlgV4wYBjqQQcKyHHQFEMHhd8d+xx/qkjpI6hU+Kdhoxm7BQWux/Jx1JFooTKMauQq4ctin0g+u5fYLki39zAoEhADQVdCPYLVF6NUJnv05Z9Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706305001; c=relaxed/simple; bh=YfaSbj7aWucYRD8fpKinICpQCEEwoP2iLjQO/Z3wcuU=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=lvw9XwT+BbNlzloF6QG5a2wgeqcUS4cWIkjUoti2aKqPBH7CHl8koCsjd4M5YgQeeCWIHVHWEmgHu6n+yhJJu2UP36GQV/G5vqtTMGGmq9AwlasM5DZeW/83hYkYeEVMBCsWw5G7hs91+WCdWwJaxq43G825ODgB4XY/EIX602M= 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=DPwOgIVx; arc=none smtp.client-ip=209.85.208.47 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-ed1-f47.google.com with SMTP id 4fb4d7f45d1cf-55c1ac8d2f2so641776a12.2 for ; Fri, 26 Jan 2024 13:36:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; t=1706304998; x=1706909798; 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=CvqA4oK/Qg0raxZ+27W7q7BWtiVAxq8zsa6fXWM1cKw=; b=DPwOgIVxzJMnMsXzBSSz89o/d9U0v8DSGhqcRiyP6iOiczYcymiMnQKXfn9H7FSxoU GwUQm8T0JH6v2+2lbk3HqVjhaL7m2vgBg5KSycBSgMk/OMmbcgzlJL4FI5LgBpHELvSt xUITg8FSEElnzWQZF2m4bX+d/tcrP8Oz51wx8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706304998; x=1706909798; 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=CvqA4oK/Qg0raxZ+27W7q7BWtiVAxq8zsa6fXWM1cKw=; b=ReJYlEUB1CPm4YVoK5B9Klw+xGROz6r+XCtAVj+84lJQtiwd6AzFa7Cn6A4rEiuDxF bNGv656RN/iVda7UJyKGxvzTEdUmNc7RgOdVB5AemmT3DVG5eSbp/FHEvSpBCYWn8fjI A+X/a1AJmaFc7iXfWWQNV7ugN3pJDB2j6VnamXvH5/4OKoqexHnNo1ul0tHIfI7geE/I 3Z363a1jnZlJHitSPW0xbOuSzjjyoYTVMVCwIt/wgWHF0cYimgD3J1uzB67hKh/bA2RC SBONOWOG4k0I2ZEcGhhgxt3r6c2tg4qtkT0HEibSzNLgybRpD2iuh70Dm8EZeRRsN2+c yibg== X-Gm-Message-State: AOJu0YyiEdfP42wrLxGzBqpT1fnOvK/eiPauLSa11zi2EAg0+5p9o+pe wMHTt32YRKuHOkCpLA/GtkJZAiwTORX+/IP1t3O3GF+jOtsn2BqrqLOLeWqIH7fKweGG7OA2ZoT fsSG+dQ== X-Received: by 2002:aa7:c1d6:0:b0:55a:9133:2a2c with SMTP id d22-20020aa7c1d6000000b0055a91332a2cmr204313edp.13.1706304997765; Fri, 26 Jan 2024 13:36:37 -0800 (PST) Received: from mail-ed1-f45.google.com (mail-ed1-f45.google.com. [209.85.208.45]) by smtp.gmail.com with ESMTPSA id v22-20020a056402185600b005592d70c31esm951537edy.17.2024.01.26.13.36.36 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 26 Jan 2024 13:36:37 -0800 (PST) Received: by mail-ed1-f45.google.com with SMTP id 4fb4d7f45d1cf-55c2c90c67dso576686a12.1 for ; Fri, 26 Jan 2024 13:36:36 -0800 (PST) X-Received: by 2002:a05:6402:1656:b0:55d:4375:cd14 with SMTP id s22-20020a056402165600b0055d4375cd14mr223875edx.26.1706304996651; Fri, 26 Jan 2024 13:36:36 -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> <20240126162626.31d90da9@gandalf.local.home> In-Reply-To: <20240126162626.31d90da9@gandalf.local.home> From: Linus Torvalds Date: Fri, 26 Jan 2024 13:36:20 -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" On Fri, 26 Jan 2024 at 13:26, Steven Rostedt wrote: > > I'd be happy to change that patch to what I originally did before deciding > to copy get_next_ino(): > > unsigned int tracefs_get_next_ino(int files) > { > static atomic_t next_inode; > unsigned int res; > > do { > res = atomic_add_return(files + 1, &next_inode); > > /* Check for overflow */ > } while (unlikely(res < files + 1)); > > return res - files; Still entirely pointless. If you have more than 4 billion inodes, something is really really wrong. So why is it ten lines instead of one? Dammit, this is a number that NOBODY HAS SHOWN IS EVEN WORTH EXISTING IN THE FIRST PLACE. So no. I'm not taking this. End of discussion. My point stands: I want this filesystem *stabilized*, and in s sane format. Look to *simplify* things. Send me patches that *remove* complexity, not add new complexity that you have zero evidence is worth it. Face it, eventfs isn't some kind of "real filesystem". It shouldn't even attempt to look like one. If somebody goes "I want to tar this thiing up", you should laugh in their face and call them names, not say "sure, let me whip up a 50-line patch to make this fragile thing even more complex". Linus