From nobody Fri Mar 28 14:17:41 2025 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4ZPN0P2Z1Cz5rvTY; Fri, 28 Mar 2025 14:17:57 +0000 (UTC) (envelope-from rick.macklem@gmail.com) Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com [IPv6:2a00:1450:4864:20::536]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZPN0N3Jcjz3qWV; Fri, 28 Mar 2025 14:17:56 +0000 (UTC) (envelope-from rick.macklem@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b="ND4Gawn/"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of rick.macklem@gmail.com designates 2a00:1450:4864:20::536 as permitted sender) smtp.mailfrom=rick.macklem@gmail.com Received: by mail-ed1-x536.google.com with SMTP id 4fb4d7f45d1cf-5e5bc066283so3554382a12.0; Fri, 28 Mar 2025 07:17:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1743171475; x=1743776275; darn=freebsd.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=afIx0kqh+/gVCGcYyJEN7RuZh/RhuEP9rnFgs10C+RI=; b=ND4Gawn/kxvFQvx9hYGs32jCEMhP1s611jQSBmHdVrj3cOCCvZ1gMQ01DBLp+NzPGg p5+H4zxHUa24t+J5HpB6fPbC2wpfl4oi4sHoNST+wfi7soEvjiNiWsOkENm4/o1zl1bf tVJ0QJNAJpqpPccZtc+L6ov2l5K+Fub7apo4v5Zi2IgtqvnGGaxeY2taITAwQBI0L3+C O/bLEFw6IobXUnOsd5PjhWmo8scivCQnUQxU85bYZFT8U4lPL6Gawbw/sA02dAihy/jT V7CcQ76hMM2Z+o0CxgXNpXZCRMoe/u6JzLc4u7ZmXIgsyBaG2YDBk/2ob7On3kfJe8Iv KTOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743171475; x=1743776275; h=content-transfer-encoding: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=afIx0kqh+/gVCGcYyJEN7RuZh/RhuEP9rnFgs10C+RI=; b=s0HhoNaJgL0OzzHI21ZIDnmVg23sJHPJJZqXbsyi67e+CTnq5EcKAawSa/ZGe88kQU GvP/kn2AwlvWOmVxDq41yyuUrtUpqK62Ei/H0KNL9OYsZcsGbBYbM0skSOqbNNtmfHG0 0NVvHLc9yuTBhvu/SQWLdx9+k7U9Cvh3el6Xt1o3IRDGSl9GpvP4g8I/ioItiNcjAdvA hEsojfDw360B8xWzWRm4uZ7kPOPfDmC4cDcpavTf7OoO5p22Laq12aJPCOXl/YJKmcfd dM0BZLE4rg9h2cCCrNiXj9+gifWyNH8giUAho5BGHF1JlztaHwvQ5u9SEWhUKsVhWVqr Ld8Q== X-Forwarded-Encrypted: i=1; AJvYcCV5o7MQK/tyTdOtYBF3h6r2OmN4GzVT7+V09uGO3agJdtEy6+TuwECvM8jiunvLWvISI6sa@freebsd.org, AJvYcCV8HOKAG7/noF3UFpquFoE3f5eedX9S7gh/0g1j4Rl+YDGP4oNTa3z4/D0/e6GMgOSBirmYbZ64Q59olPg=@freebsd.org, AJvYcCXtuNy/TsL6q8seVULqjzYbIjXVV4GD2sEVunxSaLsOjZyXMG5XiFURbVpalCpeeKqxemyDiq9aV9qpsJi6OnOY@freebsd.org X-Gm-Message-State: AOJu0YwrsYkI4CwyTBx//QqWNJoB/tyf0wdF+SrVwNvOSlLAwCC9EjFO o4ftsAwDw6fZu8ykNGZQOyH9rKyADDgnjuS97i6PEFMK8ab94JV/fEGRPrYXKO2+9fxJ4j5tARw NMlaW6NpP6NP7iOuYVtFANHyfv6Oi X-Gm-Gg: ASbGncuootIm0HH68Oe6PwJa64f4HB2b6jYIi0UumM+6fzwfGuFJ7AsXjKak4SRUqpi xl9fL5BRwr/qxkwAXnfnqLSgbbbVQhkBQZaKlPusSwytqqY8cRQplIDWu9QKXCws/CPHZMlpR5m abCkKW9CeNIAkQVoXgu0BYznf/IVVOpJ0/iVa3n71va6HDAgY/Tud9kT4PHQ/2QhQ8uSJc X-Google-Smtp-Source: AGHT+IHZZT0k0zi+XfaUfdQ1KMMHFL3dXNAPa1+NrmgW/KIvF2OaY1xgTwNNN8VaTCHr434zqkpH07w+P4rHNA61P9w= X-Received: by 2002:a05:6402:4410:b0:5e5:e396:3f9a with SMTP id 4fb4d7f45d1cf-5ed8f113d32mr8003133a12.31.1743171474490; Fri, 28 Mar 2025 07:17:54 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 References: In-Reply-To: From: Rick Macklem Date: Fri, 28 Mar 2025 07:17:41 -0700 X-Gm-Features: AQ5f1Jr-030idEd6Txy5V5L3LcxamcWfas2l29uqOQKfXnK9j5Cmukfoyq8oSXo Message-ID: Subject: Re: RFC: Solaris style extended attributes for FreeBSD To: Alexander Motin Cc: Lionel Cons , Andrew Walker , Konstantin Belousov , freebsd-arch@freebsd.org, FreeBSD CURRENT , Cedric Blancher Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spamd-Result: default: False [-2.37 / 15.00]; SUSPICIOUS_RECIPS(1.50)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.986]; NEURAL_HAM_LONG(-0.98)[-0.982]; NEURAL_HAM_SHORT(-0.91)[-0.905]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[text/plain]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; FREEMAIL_FROM(0.00)[gmail.com]; RCVD_TLS_LAST(0.00)[]; TO_DN_SOME(0.00)[]; ARC_NA(0.00)[]; FREEMAIL_CC(0.00)[gmail.com,ixsystems.com,freebsd.org]; MIME_TRACE(0.00)[0:+]; FROM_HAS_DN(0.00)[]; MISSING_XM_UA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MID_RHS_MATCH_FROMTLD(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MLMMJ_DEST(0.00)[freebsd-arch@freebsd.org,freebsd-current@freebsd.org]; TAGGED_RCPT(0.00)[]; RCPT_COUNT_SEVEN(0.00)[7]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::536:from] X-Rspamd-Queue-Id: 4ZPN0N3Jcjz3qWV X-Spamd-Bar: -- On Wed, Mar 26, 2025 at 11:36=E2=80=AFAM Alexander Motin = wrote: > > Hi Rick, > > On 25.03.2025 16:53, Rick Macklem wrote: > > 3 - A lot of the changes need to go into OpenZFS and I have no idea wha= t > > their position will be? (Most of the changes are in the os/freebs= d/zfs > > source subtree, which may make it easier?) > > I haven't looked on the patches yet, and I may not speak for the whole > OpenZFS project, but I'd put emphasis on a cross-OS compatibility of the > implementation, including the properties, namespace prefixes for > different APIs, etc. > > Since the directory-style attributes are growing from Solaris, it would > be nice if whatever API and on-disk format chosen would be compatible > with it. Even though the merge traffic with Illumos is not that big > lately and they are formally not a part of OpenZFS, but would be nice to > not break the ties if possible. It might require some code archeology > to understand the evolution of compatibility issues we have now. > > FreeBSD and Linux are equally important targets in OpenZFS now, and > while some things might be difficult to implement on all platforms, for > example Linux kernel does not support NFSv4-style ACLs, whatever design > chosen should allow such perspective, even if not implemented > immediately. So I am a little worried about "Most of the changes are in > the os/freebsd/zfs source subtree". We don't want it to get implemented > differently in Linux one day and become impossible to move pools between > OS'es. We already have issues there, so would be good to not grow them. > > While formally not a part of OpenZFS tree (yet?), there are forks for > Windows and MacOS. It would be cool to understand at least basic > requirements of those systems. All I've found out w.r.t. Mac OSX is that their NFSv4 client can use named attributes (with a specific mount option setting). Unfortunately I don't have a Mac. I am going to try and install Solaris in a bhyve instance. Oracle does allow freebie Solaris licenses for educational purposes, but I'm not sure if I can figure out how to install it in bhyve? Thanks everyone for comments sofar and don't hesitate to comment further. The comments have been useful, rick > > Don't get me wrong. I'd be really happy to see it done at least from > the perspective of its being implemented for Solaris decades ago, and > considering limitations other systems including FreeBSD have. It just > might be a bit tangled after the years. > > -- > Alexander Motin