Received: by 2002:a05:7412:2a8a:b0:fc:a2b0:25d7 with SMTP id u10csp552565rdh; Wed, 7 Feb 2024 12:30:51 -0800 (PST) X-Google-Smtp-Source: AGHT+IFPUeEpCV5UgVAlSWXolPVg5WxtCAn80L+OlTKr2x9l44N+hWSOPTKG4dWHpjO3/W6qdQGg X-Received: by 2002:a05:6a20:3944:b0:19e:4aa7:e6ab with SMTP id r4-20020a056a20394400b0019e4aa7e6abmr6484559pzg.47.1707337850783; Wed, 07 Feb 2024 12:30:50 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707337850; cv=pass; d=google.com; s=arc-20160816; b=T96LZqTS/k0LzDBmVGq2R/51ljSaQD3CCEy6WHfpAP1IFT658UiYjEd8tfCstgR2Ur QJ6dbJR5rWJ/x//7gyK0WN4m8CcAkUvSx98h0FDxy9zmtOSufHGX0wlPmyTfWxgfQzlA /g3IIXQQLQxpX5AXsdke1HjpYUatrQ6J6dRURiggLnB9NNfkx63RiY1WaF8g0dRCY4UB Dt8lMQKtR9B3/jYkr/dKH49GHpF72HGC0unsrwB9b/eb1LgCeFLcMxBoFNOyUhQmc0Ja DvZH/UeoCqY8vZ4WYfu7GNHLIWXMmhj4xXgWJCyDs4MH0+buLCia3IpEduj+IOPSwic/ HoJw== 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:dkim-signature:date; bh=uZPHrfKX+msQdL3rSnYcgNf84jeoY0gQzoOYJ58QxWE=; fh=dWi4shnPPiB9bckSeR0sSC+LwfXiApxTFq3chJKGYzA=; b=ychFgi4P81H6jUzgF6jAw8TKC/GkmZWVd8v2XkMKiRO9KydJNg09oRSUPSyW6oqBgs DQtcdIz36Q1GG9/Hghb1oywB28SmD95eTbx4DXVXkef/ANbLUYM8ov7qujHS38zcACOL SFaI5wAnh1VttpZnhF/Yw5/bqCwCgq2IWgZRAFgDe0lfp56qd+jtSw9oB0Z26XU+CyHU qZYIpCmR1HRQpNjd18cT4fL+XItf/dFzoYWLzKOmxne2W/xSXNT1YC5Lvw2SjMof/3QV IgEZX6et2FlNaN9gjxvpmOEtQE9P9PFtGf6WbGwdUndNS69k2x6EtLj7u21cd9qNGSKJ xhCQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=TPl5b9d1; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-57025-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-57025-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev X-Forwarded-Encrypted: i=2; AJvYcCUQWhV0PRacj67qkqXe7WdxoLiBATkrIA1ddODuPyMaYNkblDbS6559qX0ubOhxOmH3YdqoZOO4Y2F2Fh8NAVjb+rbYoSmla+/vawccZQ== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id fe12-20020a056a002f0c00b006d9ac80ad3dsi2255778pfb.146.2024.02.07.12.30.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 12:30:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-57025-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=TPl5b9d1; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-57025-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-57025-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev 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 9A2D528E928 for ; Wed, 7 Feb 2024 20:27:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 69AF0127B59; Wed, 7 Feb 2024 20:27:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="TPl5b9d1" Received: from out-189.mta1.migadu.com (out-189.mta1.migadu.com [95.215.58.189]) (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 43A781272BA for ; Wed, 7 Feb 2024 20:27:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.189 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707337623; cv=none; b=SKU2kDDkoUTVOmQT4ASpa/0dC9kHUDaRSR1pB1kpoRErV9XtSVAI0/8GRGuRHVh+blsvpUJcyMkzymFlzZJzq6p02wHQkVpnCYPP4UL6G3PkfMXA9cDZJw+5qvrNwprf6vuGy1tmprmf8qsYUQerYEwU7dXCFkaqXtDAU8Xt73U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707337623; c=relaxed/simple; bh=qtCUwIWIbC5yKsRl5nCr/tGp30Ggmi5PGWVrJfvJhZs=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=SYJwh2a8C8wSXhXEcYFu5X0kSa420tnYRRO8PMetALvkDNSorryw+AwRio4ZxG/OX4HkQMJIkjIxCjf3Fi/rup6eTU9iS4dpRsXhw0QMfVix1DtjLvYNOnQxn1faa2CZxzodSojoXBbTlMjZ9cuU7OqLIeybwzOTdX8kxHoxvYg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=TPl5b9d1; arc=none smtp.client-ip=95.215.58.189 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Date: Wed, 7 Feb 2024 15:26:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1707337619; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=uZPHrfKX+msQdL3rSnYcgNf84jeoY0gQzoOYJ58QxWE=; b=TPl5b9d1E3b3GEVnI0pEP0cn/rhWzBDdQdlo4sUn2xcTZTVmsPIZS9vRo2fEsa1SDLY8yz LhwW/w2c5x99IfRX0FzLK6Pz2JO9s91/01OSgq1ul/V6kWz/XO4tEbugRjSjUqioc8gmIW Qz9kcHejHRFVNepb1zLGYZb7ZhNQ6us= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Kent Overstreet To: Theodore Ts'o 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: 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: <20240207174009.GF119530@mit.edu> X-Migadu-Flow: FLOW_OUT On Wed, Feb 07, 2024 at 12:40:09PM -0500, Theodore Ts'o wrote: > On Tue, Feb 06, 2024 at 03:18:48PM -0500, Kent Overstreet wrote: > > previous: > > https://lore.kernel.org/linux-fsdevel/20240206-aufwuchs-atomkraftgegner-dc53ce1e435f@brauner/T/ > > > > Changes since v1: > > - super_set_uuid() helper, per Dave > > > > - nix FS_IOC_SETUUID - Al raised this and I'm in 100% agreement, > > changing a UUID on an existing filesystem is a rare operation that > > should only be done when the filesystem is offline; we'd need to > > audit/fix a bunch of stuff if we wanted to support this > > NAK. First, this happens every single time a VM in the cloud starts > up, so it happens ZILLIONS of time a day. Secondly, there is already > userspace programs --- to wit, tune2fs --- that uses this ioctl, so > nixing FS_IOC_SETUUID will break userspace programs. 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.