Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp3312107rdb; Tue, 6 Feb 2024 13:45:51 -0800 (PST) X-Google-Smtp-Source: AGHT+IHiS+BRtqaoYlBa3D/kPZcMCOsCLcrxRF+YBYIB0BAA+VFopZBfOkpkqeZljToWJssyRw99 X-Received: by 2002:a05:622a:2683:b0:42c:3ebc:bda9 with SMTP id kd3-20020a05622a268300b0042c3ebcbda9mr180239qtb.29.1707255950780; Tue, 06 Feb 2024 13:45:50 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707255950; cv=pass; d=google.com; s=arc-20160816; b=HYT9InVNM6IS0L6PHggxl1mNl58+lVN9NOv1QjlFYRTNismayfzUaSX41tjYqu6rAV RHndDUJrZCXGK27XZcHh6rVC1wdDtQI3RKjtkLYnjyxEkHvFQSVc2AngFvsZY/j6JwwM 4cTPZ1H77XOqKtPJG2NJmmtTKQwuow17WBmDOSYK/+htxCtuey4nWIyVK6UmfttlOTcl r3iIw0ykT8JWVm4VfgizCpkJZY2qlzu8xnbzH1fZdOJ8YnofmYM/MmfUKmBF5nB5PFBl VrZJPwAn2whl0ZTWfSIJB+BOOrwHwI++rqED5l5kSKThvovZer/DtbbsP5vuY+zfXLfk jaQA== 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=/37JSjbI/f2Na0qgTL3Rfe82qOF/glLP8giIUKBuBFY=; fh=3oYfJez5vE90oxLLMNvtJY4u0xNxvwBz6n4bDrXnXG0=; b=aM8UjDgO4cpOSFUdkd48n6Wb0b1d4rnLh9TOmFmIL9IpJsnPLkTWtI73IT/u789vSt jkkvjpQ6Pl4IjJswx9NoGrikwrJpo2zyi8lpcJUQZcXDrmjORuVAzIE/TcU8f3w/d+r2 KohxaQ9D8+C79Mvm/xiBhQBKAOtdr9fUjwPrMx3zT/xgVl4huMQ0cNy4w4HGyUzwulbi 35vISsu/rfmoltC4onz1mD85JRlNPTXzoUhRrqbcnmWmQsymQE9si5lghf9C/YqC+du+ TWU655Pc4AKNJ9JL5aMJEQHb5tCgnQpUgr014xOt/cH39QOGdMzA0HfIPwAE1MJgNwS4 XLIw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@fromorbit-com.20230601.gappssmtp.com header.s=20230601 header.b=od1fIqTV; arc=pass (i=1 spf=pass spfdomain=fromorbit.com dkim=pass dkdomain=fromorbit-com.20230601.gappssmtp.com dmarc=pass fromdomain=fromorbit.com); spf=pass (google.com: domain of linux-kernel+bounces-55649-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-55649-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=fromorbit.com X-Forwarded-Encrypted: i=1; AJvYcCUVZshxzcB3I8/rkPZUPrQi7Rir7cwHu6N224hssLraPQVKPrsd/Kq1XQbt0AuuLHmwI/DObuE7lWr7NmcTKSId5GmG6MekQrRtkYhjSA== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id t10-20020a05622a180a00b0042c0ef59d04si3353253qtc.565.2024.02.06.13.45.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Feb 2024 13:45:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-55649-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@fromorbit-com.20230601.gappssmtp.com header.s=20230601 header.b=od1fIqTV; arc=pass (i=1 spf=pass spfdomain=fromorbit.com dkim=pass dkdomain=fromorbit-com.20230601.gappssmtp.com dmarc=pass fromdomain=fromorbit.com); spf=pass (google.com: domain of linux-kernel+bounces-55649-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-55649-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=fromorbit.com 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 948901C2206C for ; Tue, 6 Feb 2024 21:45:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4FF821BF47; Tue, 6 Feb 2024 21:45:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fromorbit-com.20230601.gappssmtp.com header.i=@fromorbit-com.20230601.gappssmtp.com header.b="od1fIqTV" Received: from mail-pg1-f170.google.com (mail-pg1-f170.google.com [209.85.215.170]) (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 23BD81B95E for ; Tue, 6 Feb 2024 21:45:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.170 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707255931; cv=none; b=VbkackE6ulmm9AyE6eR8GrXg0RxuW9vzbbwM0BTdk+6MANbvmhcXRHBCfx77S0/4OdMnA6+Rc/d8tgVWX7jY+DMGYMDd6ThiHx4MYNPtQFwNjl/hi2VXt+/F10Z+mUcVHUKFgxQ5G4Dqs/7UNnrFGsBXSYNifBC/AvmPOs2ftdw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707255931; c=relaxed/simple; bh=xpuii4QfzD4jEzhevZ2b9XTvvreUdctw2OZyf8mfP9M=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=lztHhEFUrYnt/MpUDNCyQQfmAlcHJeMufBQih1cwZkjQuA8QrmvaKQcxNdQwPFSqwmyp+o2yIbaoTJwyXrJSU8sRecfMfqu3yhhUK9qS4qov90sUxExaUPgafQ4+uxhP35NjVVZ1C0YzJEUDpN2fHvNuWV2xtR4H9YAMoei3CE4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=fromorbit.com; spf=pass smtp.mailfrom=fromorbit.com; dkim=pass (2048-bit key) header.d=fromorbit-com.20230601.gappssmtp.com header.i=@fromorbit-com.20230601.gappssmtp.com header.b=od1fIqTV; arc=none smtp.client-ip=209.85.215.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=fromorbit.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fromorbit.com Received: by mail-pg1-f170.google.com with SMTP id 41be03b00d2f7-5d4d15ec7c5so5567441a12.1 for ; Tue, 06 Feb 2024 13:45:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fromorbit-com.20230601.gappssmtp.com; s=20230601; t=1707255928; x=1707860728; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=/37JSjbI/f2Na0qgTL3Rfe82qOF/glLP8giIUKBuBFY=; b=od1fIqTVxRvosHTsa1h02d85nsYChjnp9eUqQAcl4Rsv5MNln1BPD9vur/ZK8PoY48 NWn0ad5u+D6Kj8Ulg0ETsw2yCUQPrC6lsTzZ24GgxS9exmBkz8MV9NsC4JAEfk7Gv8S6 envq8elCCy7t9jd3lLqg7HyUMNqYPzVZR+WL8waP0ZKPtoIsg+0P1+OVqRAPiw5hqC8f ZO9QrURxlDiYCxFQ9kM2U8njWZ/NTi7giITQhiW6o+i009HkBxX0Dijp07qu+V1lhjsm iATBJzjMrnUSyqxAT1EBwxwzrMhvJ7okKLYVRjB3NDPOjHyg5hTPZ+F7r6fkL/xtTwP4 /7Lg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707255928; x=1707860728; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=/37JSjbI/f2Na0qgTL3Rfe82qOF/glLP8giIUKBuBFY=; b=nAFtjKbIg2ALQO296YZH9BPUIBbdQtMZT2xppsZlzqfPasBv8zquZfIhxQlVPJkOcz mLOT2HUG7tTuSFU/dkKfEK5reuWKDt9jeIjnL9a8f2nYWv4N9YrK8av0LjNWdKgcvQEi Z2KM/aadc/4xa6mqvSPzJcThePlEp3upVWyuihLay8l/eWsivJZ9izjFXmTiPhD7/x4N st+ohL2i8FkMn0GD4AxfE+gj5HJaU63T0puKOav3120Moyxym5CUrcgVndApW0gsM9VY C6F3OQjbDsqS57qpUNwPe3U7mc9keCfNPcojNvgXkLJGeYknucx0yvXx6hui3BS/TP5x CDNg== X-Gm-Message-State: AOJu0YywWBkyH7owrxuHEKOA7nFg44NhHVmCi1mgqtJfMyUVjCJ1w014 SgJM9jfUn5uefXcoMylS2cscreX4lSdl0vukIPvVZJxDzWU4qofFaY9XSUvUftc= X-Received: by 2002:a05:6a20:da97:b0:19e:a499:e062 with SMTP id iy23-20020a056a20da9700b0019ea499e062mr3810pzb.17.1707255928479; Tue, 06 Feb 2024 13:45:28 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCUqB8JMgSg263VaHsvWZS57qq+8QlV5qioXTtYkIVXvpOiXJ0SqeigAaactbx3cQhJhtkYZ+0FajkVGB+2CTdKZ448w6/RFAGOWnXJ79nSrMDS7ZEKyZiFZ46teSw+gbQaYJXdRfB7zgjmNAQ== Received: from dread.disaster.area (pa49-181-38-249.pa.nsw.optusnet.com.au. [49.181.38.249]) by smtp.gmail.com with ESMTPSA id f7-20020a635547000000b005d8be4c125csm2621486pgm.80.2024.02.06.13.45.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Feb 2024 13:45:28 -0800 (PST) Received: from dave by dread.disaster.area with local (Exim 4.96) (envelope-from ) id 1rXTFt-00305D-0S; Wed, 07 Feb 2024 08:45:25 +1100 Date: Wed, 7 Feb 2024 08:45:25 +1100 From: Dave Chinner To: Kent Overstreet Cc: brauner@kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/7] fs: super_set_uuid() Message-ID: References: <20240206201858.952303-1-kent.overstreet@linux.dev> <20240206201858.952303-2-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-2-kent.overstreet@linux.dev> On Tue, Feb 06, 2024 at 03:18:49PM -0500, Kent Overstreet wrote: > Some weird old filesytems have UUID-like things that we wish to expose > as UUIDs, but are smaller; add a length field so that the new > FS_IOC_(GET|SET)UUID ioctls can handle them in generic code. > > And add a helper super_set_uuid(), for setting nonstandard length uuids. > > Helper is now required for the new FS_IOC_GETUUID ioctl; if > super_set_uuid() hasn't been called, the ioctl won't be supported. > > Signed-off-by: Kent Overstreet Looks good. Reviewed-by: Dave Chinner -- Dave Chinner david@fromorbit.com