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=rnWbcwGxgP4uZKZHubpH+Mp0m7QjL1Xr1chlvrb2z25pQP87AgiiPDIQmGLPWEKoW0+L iDh9ZoUWpUk+yO/ytkpIgO9rqOcXuuovvhuDD1fJLe9qHUs/qoJTpx13P0oTYgZW4ryHs 4geLfzg4wsWJxUGfAUrst+StyNaeck4W6CIpMKWpjFVBW/OebhV6Qr0DjIvOe/gQbBxl/ AQr60WGgfkdcSQNt1zxYFjaQxmSv5zHhFh9+orCZ6azg3VwFwlgLG/JXs0g8nP2YX341Y Ym1K0amKORA08RbbqqF5U5EUkF7rV2ihaocDbNyFF3ea0sF3/bjq7mbcADfclEszREQ== 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=ifI5/bTnZIZeUpZYC6qwjETG16YOaLz3O/UaQ/CrpOB5nH5LfMXHDqmz0+eZOWk0aXT1 GkOYUH9XbSXqPiIXtDVD8rbErpzWbsf8TjimtAe1cEvA+fMiLEQo6uAIyNF9OvUHlw1QG klZZVE+To/M3JwdMgoD2ZxMrJCuaRVCxHIyEQaqiEsYxvS4QImocMvItMtSAHTGRgOOnu pSI0YNWPyFAr8ahRCRewi3UhMxZYXOEA9qXnF37FDCTWEB9i/YCANKN3/hOcsetpaOfm3 3a80w2hfz7IgfZCTL96uPDdftk/wUjb0bCCk4dI6bwMbTybqe+8g+/fqdUFkKkdADgw== 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 A1901606A335 for ; Fri, 4 Dec 2026 14:05:52 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org A1901606A335 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-491846221ffso852334f8f.3 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=ICjFWRSxWu/zqEXuvS1H02stuEEYT2nYfVTCCcoMqV1rXhHmEOlf3Lh+fWijTGNCz5 gx9oMAAbBPzu4sueLyb4+4R4xXbv41DB1GOOXJYF5PkWja8lPloQox26kaOKpXBtCM2Q +h1NieyD6BzXK0sqpNeCCqLwxJaWVNJcXQNEn/X8Wd5HcN152qC96wah3ylPtdiRiBTt wAih6N2tMLI0GvRmcjGZFh+xfK1KcdYX/fNoq71wHWrUP7v+5xs16UO0o4i2pfQac099 Xnz7HL0kXKJDiILCZn1CqtYMgszEC/skZCoCRIEgUnTCG+mDTfu034qCmQ+b/k+Cp/JL 05zA== X-Forwarded-Encrypted: i=1; AL+hErHzQN04G5sDmS+1dbh7g2qIeuOJXG5Vl5KMuMOmIsU8tSfhQLIbCcmVOCRL9vIL5jQrVvUV7SywdkO4sc8=@vger.kernel.org X-Gm-Message-State: AB4q+uG1CKo4OqlzuMlLMES+qrdvif30SItaNmglsx0g0U1S/fMG3oYb 2cZ3Tg7w81yQspsSjcvrBJswtoXWlNdY3R4XbC3BskQDeE9WtvcSw6B8 X-Gm-Gg: AZFdTZcIsHBATWRszf4ebi/1fpZfTzb3VVmMG9K8YMW8s2pgJ2S3EdQTalQ4vXGi+kk GgJSTJu5ICWH+3y3zfe3HPHYAf4alBF0P8pRoCK4EPGEntqzg+0EhdF16BbGpdDQR5iF4PGPsD3 HyAbUQWReZuaKFJvwHDPgYzdaXF16E6+Gwz78SG4wbThJNBUW+Ma5a5qcaNV0JL69vOh8UTkSyr LdxFh2zvuNjoNyQV1qBuDHwjNLxbl1HT7D0AyXgcU8766rY3TNcFmqaXb9iyglVLRaE3Vu7EHzc P9uzhpNxiWrHXIltOxySJi/+rF4sm2GiCvy5XrJnnBMXQNS5Hmhfu6BBRrAFuFO1MV/sizk+/ig q0rvntAi9LxZwF1eGzT+Xlo90AN/+heS0JMJ/OxbuqpSTLfEjHHI6Sh/hr/V3oSMlEJpRQPS7dY TKyumnmMRCqXN+hBlUsUJ8Tw7CXq2JK9xEbo+peJjVtAmJqZcdow5sDuA9CQOSr1kAi4PxB3xqs ryLr87xvbdUxir+rN0vAJZ0c5Oduh0mtOJdsX1wVwMhcI1RJJeh1qIEF8SuzI23ALf3FXCegZd+ yfSqNaHj+VMTryrh3aHYzxcQIC6afQIBBCTjK1vcYED/zdYl 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-kernel@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--