From nobody Wed Mar 26 18:36:45 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 4ZNFr21HXDz5sGxh; Wed, 26 Mar 2025 18:36:50 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-yb1-xb2c.google.com (mail-yb1-xb2c.google.com [IPv6:2607:f8b0:4864:20::b2c]) (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 4ZNFr11KZNz40VP; Wed, 26 Mar 2025 18:36:49 +0000 (UTC) (envelope-from mavbsd@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=M4ye3Sqd; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=freebsd.org (policy=none); spf=pass (mx1.freebsd.org: domain of mavbsd@gmail.com designates 2607:f8b0:4864:20::b2c as permitted sender) smtp.mailfrom=mavbsd@gmail.com Received: by mail-yb1-xb2c.google.com with SMTP id 3f1490d57ef6-e637669ef11so177198276.1; Wed, 26 Mar 2025 11:36:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1743014208; x=1743619008; darn=freebsd.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=x8NVc5V8PLba72XhwHcrsKUazwzAKiMEIBKBQ5y8ZRo=; b=M4ye3Sqd0ZyWEDbSdEw6RdzVRdDSFQsiCYGlUKT7OrdWDvcASxcSZ0keZGkLtEMFZ1 fjPgG1KZPftRUFjxOnuiKfmmdmX0YrJT+mVtr8IhPzj2YtAkOO2DA7aFuLdvwEjMoBnT jbJ9GEHXrA+LB8XjZ/J3xUQlnHdiwLZyvQU63HjbbbxhVNdgiN85C36UZxcDVxkJ0H/4 35evz2qENkIXAfszZF+Fu7E3E8/09HdIfNymBtS7eA/i7d6ZqfSEL8SblBZAKvGUK5lC v/CxmnM2wZ+k43F2tzfNiEmc6Tb/7ntu/2wMRLVgCDY6/I6XnMkGjVYDiqPAI/rNqUAV ZBrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743014208; x=1743619008; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=x8NVc5V8PLba72XhwHcrsKUazwzAKiMEIBKBQ5y8ZRo=; b=lUxtKoj80J8A3ggPz6YIFXENWzGvDXXjxG7AakaQWljZrYJZjx/o2n+nDpuXD4BXLQ dzt99kOOB1j40PAj9S/Ra+pr0ee0bXmZn2PETrEgHzGSbd82R1LZ/qyyebUqE+YqwxuC Hg8fvwXT/PpZhYR7OWHofIzuQUVvCXEdbni8bsg3GkVpbkcXpj4igAby7ZIyTYsJwXvz nkXwxu9BJIFulkQDNgnhuMBSUtiOFXOBYfQJthCHxyA9EyR6cnuRsTelvlyqAsIR9vcC AdAwoPlWoUuHQ7LlDCS8qNAWMg0mhaUpTBCRql6a7lRr+0BK6fMf5NxVmeGecGWCDegT Z7PQ== X-Forwarded-Encrypted: i=1; AJvYcCU+pBmPDDHMBaBW0SIhnAlI4juRUk0kH/jI5kT/q9rQfxcCOLlnrtIr3J97xzDHqjUcMErCIjfzjiMujV2vSscx@freebsd.org, AJvYcCVC3LMX5eJjP/j75dO90QmvLRniGbjTFYdV7LhTN2aPhEoT2HsDCXes5UvhFMBcbgFZ71iC@freebsd.org, AJvYcCXqJ44jrsWkehPzrSBokh5HTez8IW3jajyZsxDkUP5Nxf6Md9urkY8vWRptF76ng8svob7G8Oa6yZUM6FY=@freebsd.org X-Gm-Message-State: AOJu0YwXgSdd4W/AEwpnOVDJ8hscxv53hhjtxGndfK6C6csXnY+iRQK/ Gcktamcm5n/MW86TVaZfETjCNY1kWhJSVfyBNc2JDB0jSFU/XoXi X-Gm-Gg: ASbGnct0B5H9UeMoWSk4Xw9ml0NGFqUqfcGnUkpIooXQo6b7ygc8SvNUOW8i+SBDctK KgFh8yHIh+zM16WnNcpOph5VnDWy4PSuTNt0FclkThEgGS8mCW0K7wPDex8g/HJCyr0oumIMyB5 hnN/3DXHP94ssR1M83Cl4vhF3PJY7xmNC97SB+9GrJ+r3mpK1Klg9pqQUFzES6tj6J6zvmlkBsE sq7/RlMSGFWAfZOR/y4gxg994afcQ4DJhuxhbWvTJUk90fRFGSzOq1e09tGbevlco8nC7lv33g3 LriN5eQagk1WSYeeRwhR2NCuPTfokmXRzK1ciyhRgvC3 X-Google-Smtp-Source: AGHT+IGss/jn0LCQlB5SPSiuBfTy3s3G/2e2ZDrXD98XRCqW0cltpRUQ0x6Qx1r3iPsQrV9CN7bRsA== X-Received: by 2002:a05:6902:e03:b0:e63:7555:7a8 with SMTP id 3f1490d57ef6-e694353f06cmr947824276.5.1743014207711; Wed, 26 Mar 2025 11:36:47 -0700 (PDT) Received: from [10.230.45.5] ([38.32.73.2]) by smtp.gmail.com with ESMTPSA id 3f1490d57ef6-e66a4255713sm2647122276.21.2025.03.26.11.36.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 26 Mar 2025 11:36:47 -0700 (PDT) Message-ID: Date: Wed, 26 Mar 2025 14:36:45 -0400 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 User-Agent: Mozilla Thunderbird Subject: Re: RFC: Solaris style extended attributes for FreeBSD To: Rick Macklem , Lionel Cons Cc: Andrew Walker , Konstantin Belousov , freebsd-arch@freebsd.org, FreeBSD CURRENT , Cedric Blancher References: Content-Language: en-US From: Alexander Motin In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [-3.06 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-0.99)[-0.994]; NEURAL_HAM_SHORT(-0.96)[-0.963]; FORGED_SENDER(0.30)[mav@FreeBSD.org,mavbsd@gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[text/plain]; DMARC_POLICY_SOFTFAIL(0.10)[freebsd.org : SPF not aligned (relaxed), DKIM not aligned (relaxed),none]; RCVD_TLS_LAST(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_TO(0.00)[gmail.com]; FREEMAIL_ENVFROM(0.00)[gmail.com]; TO_DN_SOME(0.00)[]; FREEMAIL_CC(0.00)[ixsystems.com,freebsd.org,gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_NEQ_ENVFROM(0.00)[mav@FreeBSD.org,mavbsd@gmail.com]; DKIM_TRACE(0.00)[gmail.com:+]; MLMMJ_DEST(0.00)[freebsd-arch@freebsd.org,freebsd-current@freebsd.org]; RCPT_COUNT_SEVEN(0.00)[7]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TAGGED_RCPT(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::b2c:from] X-Rspamd-Queue-Id: 4ZNFr11KZNz40VP X-Spamd-Bar: --- 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 what > their position will be? (Most of the changes are in the os/freebsd/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. 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