Received: by 2002:a05:7412:2a8a:b0:fc:a2b0:25d7 with SMTP id u10csp464198rdh; Wed, 7 Feb 2024 09:40:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IFtVM9/joQOxf+52WVOqric+eg5K+anml2U5Ifqj16POhUm4oneKqHKo5/ZPPca405TEmSw X-Received: by 2002:a05:6808:2226:b0:3bf:e05e:10e6 with SMTP id bd38-20020a056808222600b003bfe05e10e6mr6669200oib.6.1707327649792; Wed, 07 Feb 2024 09:40:49 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707327649; cv=pass; d=google.com; s=arc-20160816; b=CJZiL09U4EiAt4Mb7Y2qOogNV/SVkRIsAC7yNT6HyC6jM3UfrYgD9U0Apy5NA3ioeT KXOfbK9h4BEFv54AmFpACpOcsrAQnbg6FBVBvJH89LiFX8/INF69Hy8yzIinX4A4w8nS ReUWlJ8dx8n60XdTC+J3AsWvvTaGF2Ytj0UP/ShnHSUZOojxy7FclT3bhB/wpeXEuZdt /okuZUe5DJmThieh95WFG/49vM/feTvKwmu/gPQ2HCxmpt8eU4hhNlcoK8H6KCy3v8ZV Va2FBwf0saEncu+dKkQoGR73+Xx6UAwwznASHKjGNfgfBFqEMDcbestJg1Ay/VcGKH99 TpZw== 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=r9d+Doi+WOPExniXtR89NcGFZiyjO8sS0Kv850JhT+s=; fh=KYMMJEoSfO9jNjxDW7SvQt+Xb+NiciBi6+pDCyVg5dg=; b=O1dbeiToQoyEehePMAXrKOPN9fkSqQWFXLfWMrvR3NlbM1NhpbOV/CPkOVTd482HwC xNnTzLEo1p6gEP5xHdsEAPnkApXuF2WviUYWYGGKTea8M+jOlq5Cm/O+UUXEQklTIb/1 IwiHqroYDfdG0ibySwgSJlW14E3vk/KG0PlWtx+H/7KKK1oK8e19evoVfo5rnUGR0Msc DYX0yUw7zM6KHpIwwRYagRdEIT5+l+OF6V1VFTg22w/UwqU3DgvnNeU7uTXRFPj1z5jk iDcTGLgB49gs2/vlmB4DSrqZZQExJVKs+rPkY4MipDf8E3BZSG0ZolIi3/br9JVQfhix GIoQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@mit.edu header.s=outgoing header.b=ElgKNZ5o; 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-56831-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56831-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; AJvYcCXJYS3WYVQFwskLzv7rCJa6aLElGB0h0plBKP2ZNn/pZSAxNq8yLAEXS5uWpXWpjzbmTLr7a1EUFq1k85ZMqDd+MsdWliDNJvH0iO55sg== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id s10-20020a05622a178a00b0042ab53fb2eesi1540829qtk.764.2024.02.07.09.40.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 09:40:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-56831-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@mit.edu header.s=outgoing header.b=ElgKNZ5o; 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-56831-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56831-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 899E51C24F01 for ; Wed, 7 Feb 2024 17:40:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 389D282D6D; Wed, 7 Feb 2024 17:40:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=mit.edu header.i=@mit.edu header.b="ElgKNZ5o" 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 59D4682883 for ; Wed, 7 Feb 2024 17:40:40 +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=1707327642; cv=none; b=eeZPyJ0WUbnbB3qnhMS07kcGTJLqjtZuVwWWlWgRzWB0Yq45/lNWzBbZpS8yHqVYqPNRWkqiUs7QsCwbzi3HadkyYwO2nYy8MQATZxzJHq271nsLRHUEe0D/SQHjZ8TaP9Lr3M9QRgD2wU4GV7METQoHJW+ciLiewEDQ0weuMzk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707327642; c=relaxed/simple; bh=rpxr7u3oQ1f9tEqbE9lXrYaJvrFwR/A74/ikjVgV3ZM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=AeyCcatHoTsincDt3C/nQhsDsMl7INhvjwNu6FeOZo/5IPYmztmUqClPW+qar058FzGJ6CZmIWRnYhH9owN8ye5dza3HD6bBIQPZyo7pGEFlhUpEE6p5cHLQVOhPMTwTpuh4WnZEoReaMEPb6ir9rI4al8fxlq48169fmWOWOw4= 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=ElgKNZ5o; 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-82-236.bstnma.fios.verizon.net [173.48.82.236]) (authenticated bits=0) (User authenticated as tytso@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 417HeA6o025052 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 7 Feb 2024 12:40:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mit.edu; s=outgoing; t=1707327611; bh=r9d+Doi+WOPExniXtR89NcGFZiyjO8sS0Kv850JhT+s=; h=Date:From:Subject:Message-ID:MIME-Version:Content-Type; b=ElgKNZ5oonmgRLpIzI3lEjYU0M4Q1AG+KxP3Hn5nZrqGeeOyYIQI//NCsu4L21v9R i/CWDGDO5QJVbhWmAExjfUSsBfRYu71xyN6qi1miw0pzrzhkot8MVXaaxpK5cvTaMT uUwJpI2inNyLu3pyywvD8/q3vc21Ngn6Zvv2XGnA3KKFlaM3WBQt/3+Eah95gvpxcS qaGB/DG0mgkdEmYoL0AZp0X7Mh91UK8ZNfj2DTY/wYFmbJf9bUIjRKe1B3fJOuCdhP BrsNXho4czpGFJL6BTsOOp6m8uxNgSiY+0fbT9ddo3IYeV9Y2N6jZPebI8LM/JKURg qBZxnLbQDEYYQ== Received: by cwcc.thunk.org (Postfix, from userid 15806) id C74A215C02FD; Wed, 7 Feb 2024 12:40:09 -0500 (EST) Date: Wed, 7 Feb 2024 12:40:09 -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: <20240207174009.GF119530@mit.edu> References: <20240206201858.952303-1-kent.overstreet@linux.dev> 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: <20240206201858.952303-1-kent.overstreet@linux.dev> 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. - Ted