Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp2726880rdb; Mon, 12 Feb 2024 14:48:14 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCV1HJpMTWQqPPZtgPvpT8bMRVxCUCVQXa4lP5CuTsff4s5EH5VM7rYUp2M6GQ2Dx/l1ZqtWE+EwnEo8kX8Kc8rl9bVRoumTDt5cJTU6hQ== X-Google-Smtp-Source: AGHT+IELOaztDdvx/yXDCDhhhsdoEvjKmMwSR8YolKl9lYDNhRoGw74KFJp9/kCTczPRpkKN624g X-Received: by 2002:a17:906:6b8e:b0:a3c:ecce:27c7 with SMTP id l14-20020a1709066b8e00b00a3cecce27c7mr586296ejr.42.1707778094557; Mon, 12 Feb 2024 14:48:14 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707778094; cv=pass; d=google.com; s=arc-20160816; b=QRhLVJ9sLEJ8k+ChwC6xCElRzJmMuAv26CUG9zrDDFJaXK7DmxuGehcoxIE2PzgEr/ FZMkwqfYzO4cVpLfLz6ze9aNTn/A41xF/20Hx52R+ueB0cZStT7L6/+AARq9L0V8GhDn yF0r7p73mlC0WZzO3zvDnygFWaV/2VjWK4EjvrtPbPluC708N+QN+g+nXiTh1AnTAJ9N vfWp6anOPBvAmqeoBkbEM8BNUNiIF80pQHyH6oI/122pYjzGxrz7urDDRkgSkBP96vo6 yPQkjeCKVDE6OPf6IiqdrcQvNIEANAnuKdmi5228cKkdJYZk8l+fKy8Fu0L0d5IG6lAQ 66/g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=hLuV941+qZxZ2jHcWo5oaqvsH1WX/8coaLVLS570gwU=; fh=9+aFHwGrZx2RlNFPO9BhD7efGfTKwc7BGDyEhnHoyII=; b=A3QeVdgqdabueQ0JJDWdcHZ+DtiijYnaB+dsAYMxOSxkIINwg5bO+Dxy+oyflFRD1z uzCfjI9ALSvkCvdxPidlOal6shkNakqn3LyxwJL3n3BSrKc3AeNS7bQZwW+C7j9CWV1Z CBkj87gDZEpg0LkT2xLESNNb8PHidUPDPkryD6jbZca+6yvhU16X69v5UOO34kYlADFU iTt4VIZCK8Mtrdpafwa/h15dMEaFTSMDiaBY5kqy0v9DuId/NWgFaiNhdu8SBg+ljSNQ pLwcs3UEhZsOQCe2ATjZSUyHGNg5NxUp6+v6SWvXjoFScsgvoBrTLzxPMvJLaLKxMDUO 3yHA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@mit.edu header.s=outgoing header.b=TTCtApiY; arc=pass (i=1 spf=pass spfdomain=mit.edu dkim=pass dkdomain=mit.edu dmarc=pass fromdomain=mit.edu); spf=pass (google.com: domain of linux-kernel+bounces-62498-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-62498-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mit.edu X-Forwarded-Encrypted: i=2; AJvYcCWYpE5Rc2kMuUPQqNnsXbCbsbsqmnvYe1p58wztjeNcZZ0I+3VY+1oXgAwUL8QMlatxiUQv+N5rWwDAT0fqBZtheSv6n4Y2F/7iOV4sgw== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id v7-20020a1709064e8700b00a3bd8929a44si589262eju.796.2024.02.12.14.48.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 14:48:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-62498-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@mit.edu header.s=outgoing header.b=TTCtApiY; arc=pass (i=1 spf=pass spfdomain=mit.edu dkim=pass dkdomain=mit.edu dmarc=pass fromdomain=mit.edu); spf=pass (google.com: domain of linux-kernel+bounces-62498-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-62498-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mit.edu 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 4F66D1F22D53 for ; Mon, 12 Feb 2024 22:48:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5C4CB4EB3A; Mon, 12 Feb 2024 22:48:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=mit.edu header.i=@mit.edu header.b="TTCtApiY" Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) (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 EBED44E1CF for ; Mon, 12 Feb 2024 22:48:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=18.9.28.11 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707778085; cv=none; b=uo9frpaAX5vQL9llOFtBCmtS+zAq737IFoAzcIwSJ7c1lxUy7te5jJ4AWddqFQTNmMfvrVzAKFexBJmMbG0g8Y4VqBJzEjmzDbzEHjT2K9SlWtDK//EXeW4qVnCHBXO9KKzkX8MaVwt+/LWqNwEGzM7gJ3pyBVzQfFtv7bWKF2g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707778085; c=relaxed/simple; bh=K1b3q4DCJkfzZWaD2YE4J3eFtLm65BGnvmVOUumr38c=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=d6b6H9q7oDgAgN2/F8US3q/OsShcKo5KW9k5VB36Vi2TOPRWQffTwDv7RUicKqGdtogXUBgPGqnP5TrPzKX0PFHKC8/kl97KN3t4q/jwKTo3zK4KrO86zhwMg/Ht0eyxhNoxYZW/prJrZcP0fTHcj3GCyitVI/GKoLhBioXZAGo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=mit.edu; spf=pass smtp.mailfrom=mit.edu; dkim=pass (2048-bit key) header.d=mit.edu header.i=@mit.edu header.b=TTCtApiY; arc=none smtp.client-ip=18.9.28.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=mit.edu Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mit.edu Received: from cwcc.thunk.org (pool-173-48-116-68.bstnma.fios.verizon.net [173.48.116.68]) (authenticated bits=0) (User authenticated as tytso@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 41CMlewn030373 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 12 Feb 2024 17:47:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mit.edu; s=outgoing; t=1707778062; bh=hLuV941+qZxZ2jHcWo5oaqvsH1WX/8coaLVLS570gwU=; h=Date:From:Subject:Message-ID:MIME-Version:Content-Type; b=TTCtApiYSJKKyhHvtZwLDzSiwb4V8OAqrccxz7UT6GgMhUtBAIOo0wGI63TWHAbuo MOXjpScdHcQdCgsQ+Lrwdb5LsBXG9VB8RSEl4YkclWcW1HM8jL+XVYXrzQ+mMFXQIr RSwcwyp9pWs3CXVYK+Nlt3uENAFs9qdcwYxPQDneR+53T1uGW76ntbqAwLYqgtX1w/ xW1+B8qDhCTFBvMqdw3Pa6U/5s2zBddA+gsG7FEToF2h7J4wxwF21e92xVADhDmMYT ioAdUwAt66PyaFAMX5yO/NbIDTNK4ubR80nXp1frNFA9ARnYnlcOqrLeOb17xEiPMe 8gVtVA2ih5Swg== Received: by cwcc.thunk.org (Postfix, from userid 15806) id C4A5C15C0336; Mon, 12 Feb 2024 17:47:40 -0500 (EST) Date: Mon, 12 Feb 2024 17:47:40 -0500 From: "Theodore Ts'o" To: Kent Overstreet Cc: brauner@kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 0/7] filesystem visibililty ioctls Message-ID: <20240212224740.GA394352@mit.edu> References: <20240206201858.952303-1-kent.overstreet@linux.dev> <20240207174009.GF119530@mit.edu> 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-Disposition: inline In-Reply-To: On Wed, Feb 07, 2024 at 03:26:55PM -0500, Kent Overstreet wrote: > You've still got the ext4 version, we're not taking that away. But I > don't think other filesystems will want to deal with the hassle of > changing UUIDs at runtime, since that's effectively used for API access > via sysfs and debugfs. Thanks. I misunderstood the log. I didn't realize this was just about not hoisting the ioctl to the VFS level, and dropping the generic uuid set. I'm not convinced that we should be using the UUID for kernel API access, if for no other reason that not all file systems have UUID's. Sure, modern file systems have UUID's, and individual file systems might have to have specific features that don't play well with UUID's changing while the file system is mounted. But I'm hoping that we don't add any new interfaces that rely on using the UUID for API access at the VFS layer. After all, ext2 (not just ext3 and ext4) has supported changing the UUID while the file system has been mounted for *decades*. - Ted