From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.221.53 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796393153; b=l0VOH4oOSdZz9Ms8iU+fHKY2kFQsHIyICjtldhwxNWbgXX81/LRVVON4kAF3JUkcq2Tw 3z45vhVgMOMGQrPFnTdkeymnogpaGokCmX7InIJhuaWaZHsESjtPc28Yp7A2BXUfQm8az 5GrkVTSE/v5j+V+7/lgzKpzvsfnl4+eS91SqdftYSc937tmzSdTwB1NWm4pDdHrf9cpas /fHdVNfNslsfm/PSMHluY69oNfujDr0LCfbiw74Ov+Jntnc6+EYnrVMhBnO1o4sgOUvqS OWrRfIR2dOIpQCgslHQc/jlZo+6Bv1OZvK+rEWfgxK7QjAcnORK9XXh3Heb5Mkkf0dw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796393153; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: Mime-Version:Content-Type:Date:Message-Id:Cc:Subject:From:To:X-Mailer: References:In-Reply-To; bh=4PkmDat4McHOKybarwliD/j/dyWrmlJIHpFHbZjmfyQ=; b=Y5yRlUebbkfG58ZF1PNJECVFuPuVcSPcpM1o8Vn/nyFoPeWxImYAhOjzb62mATiQ3kN+ XxfY2vL3ZM1VHMTm/TMqsnXEpdXj1WuLcMbsEOAPNo/GvgOT9ZvnE+VvjA1PHobecQ2TD ETRQteqgPLtv6tMbYm1y9GVihrGhZkCtWJko6/EojbVaTQ6DMM0Bq3sM78yHdF9gMWoVg zX5zChKpIHe1MaufmcZFFoJIXFIPFkwFVXxZynOV39hd0eJgFeX+bxd8/ZuQ23NLCYuvo AZb+S/iEln7t4UynuFnw1FNKNL8rz1zJ0vJ0TlgkyJ7lulpLERc8VlV3Hey90/q3+Xw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=LItddZzQ; arc=none smtp.remote-ip=209.85.221.53 Received: from mail-wr1-f53.google.com (mail-wr1-f53.google.com [209.85.221.53]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A0E79606A334 for ; Fri, 4 Dec 2026 14:05:52 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org A0E79606A334 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=LItddZzQ Received: by mail-wr1-f53.google.com with SMTP id ffacd0b85a97d-492f0a1b685so869484f8f.0 for ; Fri, 04 Dec 2026 06:05:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796393151; x=1796997951; darn=vger.kernel.org; h=in-reply-to:references:to:from:subject:cc:message-id:date :content-type:mime-version:from:to:cc:subject:date:message-id :reply-to:content-type; bh=4PkmDat4McHOKybarwliD/j/dyWrmlJIHpFHbZjmfyQ=; b=LItddZzQZsyAS46C1kpMkpniyHK11lxrVoYe2okhpSTQJFipsJp8Vxp898K6QB9OY8 DewQgSp5dYKdPHqLNJooVJSYFbAECR8XzSs3Nc+MW+jRz1eukFa950mYp/x4hEC9nUI+ lStXjh70Bry20YRLib7nH1T0iV1b0NrGPRbhvGZppPD/kV6HIa2TWDKvZOqjNZ5R/GGP A0p6Q4udTGnXxAZ319KTMCm2vQE98cWHXIFwOcfLtULjBGIL6md/6XvBmNqXbi/Wg0ok tUdZcViFDlu1Hbrvy3iuNKRVqLyOLRSCbsi4dPK+oBPAlYqfEd8H1HiMdaqoRFWRUpt1 sAMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796393151; x=1796997951; h=in-reply-to:references:to:from:subject:cc:message-id:date :content-type:mime-version:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to:content-type; bh=4PkmDat4McHOKybarwliD/j/dyWrmlJIHpFHbZjmfyQ=; b=ZqZ3QA1FE9oEMKfYWHEZK+CIXiM1O+ry51nntG9LGjaevuvKMIgaL9wTwJZhBxTWVV G8nwyzxvLi0HC5cLhX8iwDU9kcNuZodkKeNhBGEd2VHzsF9nlURDRvlM0ENrerBbIyZE vsdZ14wSrq7jyu21J8rfZhWJ9YwRiF8PkE4kZu+g1BnekldbWL2JSbVaAS0sfCDl6iFP Fpt4KF+difM8d8MpZIDJPxhC3Ko+uBhQcfDs+0CZS89Eq8OsgY34vAUnmLX3ay5qxFLE Uipk1eXW6Bblsm94XsHQeMgpeVCYRwU0oWvFjXTb9D1Tx9cG0rN6U2IP+FoE+Jg+GW6A 7mdg== X-Forwarded-Encrypted: i=1; AL+hErGR4zFTfDgf6LOPBzbql/9P01n45iQV84QPRtFIEenaPfe9GtVQqvhK9CT+k+ZKzhV7u6IsYoiHsyM=@vger.kernel.org X-Gm-Message-State: AB4q+uHsgDf65Uneya/0ompvaDJlnftOGmRjSKXr+sx1zM/DoyhodIpN PFg/69OKs0qi322mJ18taRqob1iQV2Seb1ao0C0Gvym/URUPJNPKGCYa X-Gm-Gg: AZFdTZftwlvGHIK5ZyLYpADJN/k9yMhchTq5LM73rzE2Rl2flMpOWABAgkkyqLuGVaL 87eqzRn3asIP//KHvNCVISt3oupKnCpGdFCREmsSKTkjzVFazDbv5b36mS7HbWkg6vnkeWfla9J 79PnClASazGNWMTtF8i/IQKF/KCEXpe/FhezB4YyqqJzVBDfyWAPA5llbIhaMPUWGZyLACBDIJu XwZHsFLwACF+MIy1R/5XinwjXhQMkWv5xLR7kdbZ40LLTKSPlkuM4N5fvUpC2L2QvsVXjStvkGd JLlQsI3FLOHtgeVk6tJcR/HI2aRa91eBommO5eqqBu0FzMG4xeZEz9cULLoXx3eSL4F3jtgT1iU uyzu4rc9OEE3ZflEEjEhMFN597xuC/PlLt/h/ptQv2Ckb0Ytaox8UmivMmMz7kqwL3LQJ3RE/rU /nlZSgayyfh30aBS3tySYc5+qNg5TUxvO1C0WltZMcXOXIrrEWcIsfpHFeLFpuKIIU+PDFdr3d0 rED3LzDLF3D/FugMpxIrEZmtW2MaYgPw2ySImq6bhnJx6RDPvEf2G3iKsJ/5Y6z8pyKI6WmRKCv im1QL29mRRdp9uOSQs1F8Qaw8us3DT9Xg5hW/79GeZx2ErC/ X-Received: by 2002:a05:6000:1a8c:b0:4a6:4ac6:d952 with SMTP id ffacd0b85a97d-4d1ea69e301mr4586671f8f.31.1796393150290; Fri, 04 Dec 2026 06:05:50 -0800 (PST) Received: from localhost ([130.192.98.149]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4d172f363b8sm5951124f8f.22.2026.12.04.06.05.47 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 04 Dec 2026 06:05:49 -0800 (PST) X-Mailing-List: linux-xfs@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Mime-Version: 1.0 Content-Type: multipart/signed; boundary=4c3071dfff439c2a6d5f9b61affb31cc27a5745e3203ef85cb4c5fd4140c; micalg=pgp-sha512; protocol="application/pgp-signature" Date: Fri, 04 Dec 2026 15:05:38 +0100 Message-Id: Cc: "Namjae Jeon" , "Hyunchul Lee" , "Jonathan Corbet" , "Eric Biggers" , "Theodore Y . Ts'o" , "Jaegeuk Kim" , "Alexander Viro" , "Christian Brauner" , "Shuah Khan" , "Randy Dunlap" , "Chuck Lever" , "Jeff Layton" , "Jan Kara" , "Alexander Aring" , "Darrick J . Wong" , "Andrey Albershteyn" , "Miklos Szeredi" , =?utf-8?q?Pali_Roh=C3=A1r?= , "Lauri Gates" , "Christoph Hellwig" , "Dave Chinner" , , , , , , , , , Subject: Re: [PATCH v4 7/7] docs: add fileattr API documentation From: "koraynilay" To: "Amir Goldstein" , "koraynilay" X-Mailer: aerc 0.22.0-0-gc2f86b7abde3 References: <20261202215427.798262-1-koray.fra@gmail.com> <20261202215427.798262-8-koray.fra@gmail.com> In-Reply-To: --4c3071dfff439c2a6d5f9b61affb31cc27a5745e3203ef85cb4c5fd4140c Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 On Fri Dec 4, 2026 at 10:18 AM CET, Amir Goldstein wrote: > On Fri, Dec 4, 2026 at 1:52=E2=80=AFAM koraynilay w= rote: >> >> On Fri Dec 4, 2026 at 1:07 AM CET, koraynilay wrote: >> > On Fri Dec 4, 2026 at 12:45 AM CET, Amir Goldstein wrote: >> >> On Fri, Dec 4, 2026 at 12:37=E2=80=AFAM koraynilay wrote: >> ... >> >> >> >> We are talking past each other. >> >> >> >> I didn't mean to remove any INFORMATION that you included in your >> >> docs, I just proposed a compact format for the same exact >> >> information that was in two bloated tables inside one compat >> >> table, so I ask again: what information is missing in the table >> >> format that I proposed? >> >> >> >>> > | ``NOCOMP`` | - | RW | .... >> >> >> >> is a non converted old flag entry >> >> >> >>> > | ``COMPR`` | RO | RW | Compressed file flag. >> >> >> >> is a readonly converted flag >> >> >> >>> > | ``BTIME`` | MRW | - | Birth time. >> >> >> >> a masks only flag >> >> >> >> What information does it not describe that you want another table or = more >> >> columns to describe? >> > >> > Ah, I'm sorry, yeah I understand now, that makes sense. >> > Basically it's "concept" "xflag support" "flag support" and if someone >> > wants to see the actual macros they can just grep the concept string a= nd >> > find both, right? >> >> Updated: https://koraynilay.neocities.org/vfs-masks/fileattr >> >> What do you think? >> > > Awsome! > > Things to improve: Updated: https://koraynilay.neocities.org/vfs-masks/fileattr > > 1. The order (by bit order) makes no sense. > I suggest to order similar to your seconds table: > Start with BOTH, which are likely the most important, > followed by XFLAGS only, followed by FLAGS only. > Those are arguably the legacy least important and when > a legacy flag is converted to an XFLAGS it goes up the > list because it is obviously important. Added the requirement to move the line up in the "Adding new flags" section. > 2. MRW: Read-write only with masks. > I know I suggested the name, but now it looks a bit like RMW... > It would read better as RWM (Read-Write only with Masks) > and would look better in the legend. > I am indecisive about the desired internal order in the table for > XFLAGS-only vs. MASKS-only (RWM). With PROJINHERIT > being the last in the BOTH group, this order also happens to > place PROJID just below PROJINHERIT which is a nice outcome I used RW/M since IMO RWM reads even more like RMW than MRW. > 3. Some flags are implemented by a single filesystem, e.g. most of the > XFLAGS-only flags are XFS-only and HUGE_FILE/EXTENT/EA_INODE are > ext4-only. You already note "(XFS)" for REALTIME and FILESTREAM; > please do that consistently for all single-fs flags, so readers know > which flags are generic and which are fs-specific. Added the (filesystem). > 4. FS_RESERVED_FL is reserved for e2fsprogs, it is not a file > attribute and has no place in this table. > The "Reserved for ext3/ext4" comments in uapi fs.h are historical > bit allocations, not descriptions. INLINE_DATA, HUGE_FILE and > JOURNAL_DATA are real attributes, describe what they mean. > EOFBLOCKS has no in-tree user, so it can be dropped or marked unused. Removed these. Thanks, koraynilay > Thanks, > Amir. --4c3071dfff439c2a6d5f9b61affb31cc27a5745e3203ef85cb4c5fd4140c Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQRJ2XvJtXGwULYEerQ0bnTtJTDoOAUCaxLIswAKCRA0bnTtJTDo OJtRAP9XbZjGAPFn5XGS5wRcIVm1Yl+wSwraGLxoKivpov7IFgD/UxDY/Z95lKUE gToRcZylpsCkSPCvrzEHSOD4tSVgBQ0= =xF7/ -----END PGP SIGNATURE----- --4c3071dfff439c2a6d5f9b61affb31cc27a5745e3203ef85cb4c5fd4140c--