From nobody Sun Feb 8 01:33:00 2026 Received: from mail-pl1-f176.google.com (mail-pl1-f176.google.com [209.85.214.176]) (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 E11D92066C6; Sat, 22 Feb 2025 09:19:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.176 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740215953; cv=none; b=U6gRkLFBtL/Slva8dboCfivlkXt1cnMNBb2+BKE4dLBHCuy1VNOue3APfJ+mJ2TLwhvqMOLfUVyZVoRUrJS1YSYuRWweAe4T7K4G19Vc8saS0PwSsrH2tUBRkGihacOCNYoEwevKKospuxhxpuu8A4/aBo+Lse6hm6YPkKGlrdQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740215953; c=relaxed/simple; bh=MFbqUyuUwH6JHPIKpWRngzRo3nDBwc6+iIsV3edeApE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=bUbNiSZydl6KZgAq7Zxy6hCUkTc8nGqXdPyPV/iFgPp0vRSsoiliYWZ3wsX+Hbrt3wiu7LG/gptTYUNqM10rlvxMwYIA1rD5TEZZUH8u6QJvmI+OLppfKWZDL0AIgU1iOARD7iDRiY0JLGl9firhUMlm5oTokNgFaUO9UP0zQAQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Lk7/jg9B; arc=none smtp.client-ip=209.85.214.176 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.b="Lk7/jg9B" Received: by mail-pl1-f176.google.com with SMTP id d9443c01a7336-21f2339dcfdso50534095ad.1; Sat, 22 Feb 2025 01:19:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1740215951; x=1740820751; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=8CmN/h203aIe7+rWc2FIijkYQehqDGYKo0CapkZmle4=; b=Lk7/jg9BXnRK2mL3UlrwY6lMBzhLrLHjgWjpBcqNBBdyDCYiC91pHE0s3wuOt5roBJ tWPX9ezZbQtZz2Bzb/3YIuRw17/XLFS13YgYb8+VhjXzJwWeTGDrxHht29cxId/wl/7u IwXy8tWmsZmgL4I/4RDOsv96MqP/XtQO+sScL2hrA+AACgiJBaInlYB9OVOmiY1QUvq2 bf3Ap3Bykgk7b9+UW9AztEA3uTi45roVfF8o5TL99JjlqtPnEQbE6Wz/PG2MW6V17Kz4 bcjN2bi9IG5LnAnMR25BGmBNEL6AEF3BWrHujO4SyXyCA9pEh332iimfQ7MP8GvM46sj tPpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740215951; x=1740820751; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=8CmN/h203aIe7+rWc2FIijkYQehqDGYKo0CapkZmle4=; b=JxifEb+72gCgF0gpLEuNGnTSxZ1hz0+bQqI/JoZaQIs44b0PTgdJlZn6U/zCFWDi8z z0UUZu56IAO8qHuwb5GWHlV74g14MdgfYGit6W47R8x41niRnxUIS9LNTn/o7n0POGc6 iDYTApdGYfjkMhOf1OyrrU3+oI5Rx5EgOM2vdYfS/yKLciZjgJuTY2qiVgQt6Ogq/KCx ofbt23s8Btx4QdK7tjg03E5cCR+/EfsKbkULeV5qdWqQVcIMTg/KfIJnnpGtaLLzPgUt Fa3IPk8pM0qsbdfjf9FtCY5xIDUwPTblhE9CN7E/6iOR9GtksFh/ZnkRmhBcqrvGPQn1 h/5w== X-Forwarded-Encrypted: i=1; AJvYcCVVoORw5GAxAOgTvFcAyBhLez0N/5QzSH58LaxSqLp4fL9WSbt2wGflQgedmjqy0zFgmGa+ztl9mv9X@vger.kernel.org, AJvYcCXRii+0WOIqkQK4IPpmvuIvE6aLmcVXOf7ujGnfdPt92z48vJJ2kihgOgbxKXseLFMag/GC6vYZNtM2YOV/UQ==@vger.kernel.org X-Gm-Message-State: AOJu0YyksVSlqrOqHOe9OvWh78TwDAkndYqnDQLhy7mvauezCBHEQJAo Qym5g0X6eTsrIGXlzobMis5EE2m9SOZS22EDzHb5BVxT0P4o0ZE0 X-Gm-Gg: ASbGncsjPC60gImfbd2BbCtPHcx4hsp0DKGxLpTV5sLgB2sY3L09cOuiNHc0Ot1uIlN GcglgM7TEbygINyEFcNYI/yLUS6jyQNmhQAHIQSOtqHgFgiraZplj055ukG7Y8tIqo0WD/lCmFf UU33Zj3JIPZjIMAO5o9dL9a0PhR+CfFhQA+gDxzkes9s+tM0N+oUBPv6T4VebZP2VOf5I1/nNcI xRQFtsZ1jkJNWf0SNWsDf1ozlx6/QeGqJkwdUZWw2NVEbPL2LUfeXaNun8pqln0YVVnR4s7lYH4 DohYpEA5SSzxKahEwhvpkVG98g== X-Google-Smtp-Source: AGHT+IFkPIj2WzuHTUdpgPyd59w4HD/ACjdIJQJdmjGEiHME2Ya1y9Jl0XHq38pJVdL8kEcXQrcj8A== X-Received: by 2002:a17:902:d487:b0:220:fffc:7296 with SMTP id d9443c01a7336-2219ff846f7mr94948255ad.6.1740215950865; Sat, 22 Feb 2025 01:19:10 -0800 (PST) Received: from archie.me ([103.124.138.155]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-220d558ee0bsm149401725ad.236.2025.02.22.01.19.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 22 Feb 2025 01:19:10 -0800 (PST) Received: by archie.me (Postfix, from userid 1000) id 9949842D9040; Sat, 22 Feb 2025 16:19:07 +0700 (WIB) From: Bagas Sanjaya To: Linux Kernel Mailing List , Linux Documentation , Linux bcachefs Cc: Kent Overstreet , Jonathan Corbet , Joshua Ashton , Bagas Sanjaya , Stephen Rothwell Subject: [PATCH 1/4] Documentation: bcachefs: casefolding: Do not italicize NUL Date: Sat, 22 Feb 2025 16:18:50 +0700 Message-ID: <20250222091853.16487-2-bagasdotme@gmail.com> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20250222091853.16487-1-bagasdotme@gmail.com> References: <20250222091853.16487-1-bagasdotme@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1852; i=bagasdotme@gmail.com; h=from:subject; bh=MFbqUyuUwH6JHPIKpWRngzRo3nDBwc6+iIsV3edeApE=; b=owGbwMvMwCX2bWenZ2ig32LG02pJDOk7p5qlym9hvMJ2u0zo1bXzF7+3Li/X9SkV033LMv9R9 ILX9dzRHaUsDGJcDLJiiiyTEvmaTu8yErnQvtYRZg4rE8gQBi5OAZhI+m5Ghv4T+wwuM4R6Tbhq 38g9tdR5elZHtPxM4QufknpirN6XBjEy3KvJPS9de7/8lVSyK3te5NH+Rcd3JjqqF9t5nipPTdr KCAA= X-Developer-Key: i=bagasdotme@gmail.com; a=openpgp; fpr=701B806FDCA5D3A58FFB8F7D7C276C64A5E44A1D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Sphinx reports htmldocs warning: Documentation/filesystems/bcachefs/casefolding.rst:36: WARNING: Inline inte= rpreted text or phrase reference start-string without end-string. [docutils] That's because NUL word is italicized but it is written in plural form instead (`NUL`s). Sphinx, however, doesn't tip over when the italicized word in this fashion is followed by punctuation instead. Do not italicize the word to keep Sphinx happy. Fixes: bc5cc09246c5 ("bcachefs: bcachefs_metadata_version_casefolding") Reported-by: Stephen Rothwell Closes: https://lore.kernel.org/linux-next/20250221162135.79be0147@canb.auu= g.org.au/ Signed-off-by: Bagas Sanjaya --- Documentation/filesystems/bcachefs/casefolding.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/filesystems/bcachefs/casefolding.rst b/Documenta= tion/filesystems/bcachefs/casefolding.rst index 6546aa4f7a8684..1c385b6d21a0a8 100644 --- a/Documentation/filesystems/bcachefs/casefolding.rst +++ b/Documentation/filesystems/bcachefs/casefolding.rst @@ -33,8 +33,9 @@ The structure looks like this: Regular: [dirent data][regular name][nul][nul]... Casefolded: [dirent data][reg len][cf len][regular name][casefolded name][= nul][nul]... =20 -(Do note, the number of `NUL`s here is merely for illustration, they count= can vary - per-key, and they may not even be present if the key is aligned to `sizeo= f(u64)`.) +(Do note, the number of NULs here is merely for illustration; their count = can +vary per-key, and they may not even be present if the key is aligned to +`sizeof(u64)`.) =20 This is efficient as it means that for all file lookups that require casef= olding, it has identical performance to a regular lookup: --=20 An old man doll... just what I always wanted! - Clara From nobody Sun Feb 8 01:33:00 2026 Received: from mail-pj1-f41.google.com (mail-pj1-f41.google.com [209.85.216.41]) (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 10599207658; Sat, 22 Feb 2025 09:19:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740215957; cv=none; b=mFi0txVPJ++9BrJbB2ljuFfh2PXxcJkW74mvxndU5gXVGzghE/0Gq2yPeoNDIZnNTj8qUB0jzANm0K5rRZV7/9VwUmct5A4m7Nf3Re4bfiECz0LJoakbfEpk3Mle/bGUOeHEMfZsR9as/GPmPjnjymA3eF/5WJEuZzXDfQhg9N4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740215957; c=relaxed/simple; bh=I+Hu4DmnujOxNtjjtyFf0/ct07Cish9O0boxecFj94I=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=RWumRDfBEhY49KA270USWGHBZ3EyI4dW/wViK6AWgVNE2d6wu9J+3CFVYfwSFqpyU4C634sRNfWHPPoesFggre7OfFs8s6/XSyqeOYuFsanuEUz5ydkMzfdmmK2ld9pc0opNOzvTZB49q/MJDss3SW+Zl3QaVkUeYSEbQa+OEKM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=KZyOhyyv; arc=none smtp.client-ip=209.85.216.41 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.b="KZyOhyyv" Received: by mail-pj1-f41.google.com with SMTP id 98e67ed59e1d1-2fa8ada6662so5875797a91.1; Sat, 22 Feb 2025 01:19:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1740215955; x=1740820755; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ebN4cyzthHKaQm0kA6H3sa8m+6Zvx+02vow0Fqtwzi0=; b=KZyOhyyvbBNcZc4oxSFxpEFucRD5yq3s0U1OM2YfGL9wgD9NpNoguVIWIYIjmpb2fD ceHRBX3R1WkjnbRpoLrugI6HbHCKv4tOXLzyFF0NUTANeGNdNHdOeAV0QlEO7l+HcxC0 QSXMOCt+AHpSkluUY9iHjKL4fkHqiH7Em3iPzAeQa+w6HhOnqprbR4C6vE+AvNPKPVBO n6RuaZJqM3e0vn4SBYulRrKtxgg2SisIOVf8wVRvu3m+LPKybAsib5XAxnpS425w30Jm ns6YNOBhjrV1RYvEArKiN9F1f+GLH8mqEIyw3AzbaRkJliiaE5h7wp8w4A0VYRfSHve4 ACIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740215955; x=1740820755; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ebN4cyzthHKaQm0kA6H3sa8m+6Zvx+02vow0Fqtwzi0=; b=t5FJOTd36R8q+k+E+ZnVX6pte5yGCuXvuuvJCUcOhUJxlehEDqJXJkb5nAIOcfSo+s JjyM9pWkwNALaX7fMl1U2pAXVAB8kDRAk6Iesvh5i53X7sVa1TSpb08ZXKYe6iWIJmDf OmByl4Lvw83Gc1qUqRLYU+9oZAcCRFdRVbK0T2Hdn7RGLACD/kpKY0FLHcKSeDwIT03s pD10yOqCcLkgDX5NuMVjQDGtUkJb/bqkIWqQXTeEkgmTCqTXyXOVwEzMWjtPuT5HwGT0 QFKJKy04vDNpQTJEcFnQtHPF68EeEoQitnjKhzMd4vEcWrK5UHd4rFMsiV7ZpzkfVQfH NIpA== X-Forwarded-Encrypted: i=1; AJvYcCUYRloMWb1IS4D6me2UgNuy7sq+URLyZHAm4X2altg37UWxigPsba7pmlbKvomOqtO77KGCs6Rusd7CisirIg==@vger.kernel.org, AJvYcCXe1JuIB17wAV1M54WekYCqw8m5FH5PWUkCIFfoXbW7w11vpE/LYZnZTv/FAMJsuEgiDGI3w1wtnvW2@vger.kernel.org X-Gm-Message-State: AOJu0YwbovhuoEqXaA03e7nUtazmWu/+SD568/HCGYzlpH+dMoL7MVQ+ 332kuqhIa7fsNDZ18lXaRMrO0Jeea+qD97/KinR6zvp7Z004RyCp X-Gm-Gg: ASbGnctvf3YihWB12b6RySRSgxlU2qhamqMQrDdNZSIJcWFwvtTmL/csdaFyw3KeMZu Oer31nh3I2HvPRcvZNaxHctzGA9dewP0PLsluo6f0jEY56aK4iMVaT/nr00JEB6Syj28JHFbvX+ 27tD17XevSeaq+R/GEkGRKH/vWn1pu9puXOAwO5aGGuxzWpkzSxt/Q+lNtgWFv12G74W4GVLY6J B4YPafDZmmVF55Lh7wQNd/z7CWya5qxk38AMWt4NqkZs4Xd8lp0i54ABsK7ZAp8BuTKBVWIN93H +dyg5YOAyuTJIGNj5waDXCRo4Q== X-Google-Smtp-Source: AGHT+IFnPcE/P+j0slY93PwlWMJpK4tnReFB0rvawpdG0W7f5OuQwXBT72N1VBMFdr831Cun3CxxzA== X-Received: by 2002:a05:6a00:98f:b0:732:1eb2:7bf3 with SMTP id d2e1a72fcca58-73426d9f1abmr11386853b3a.21.1740215955108; Sat, 22 Feb 2025 01:19:15 -0800 (PST) Received: from archie.me ([103.124.138.155]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-73266fd6438sm13727366b3a.142.2025.02.22.01.19.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 22 Feb 2025 01:19:11 -0800 (PST) Received: by archie.me (Postfix, from userid 1000) id C1F1542D904A; Sat, 22 Feb 2025 16:19:07 +0700 (WIB) From: Bagas Sanjaya To: Linux Kernel Mailing List , Linux Documentation , Linux bcachefs Cc: Kent Overstreet , Jonathan Corbet , Joshua Ashton , Bagas Sanjaya , Stephen Rothwell Subject: [PATCH 2/4] Documentation: bcachefs: casefolding: Fix dentry/dcache considerations section Date: Sat, 22 Feb 2025 16:18:51 +0700 Message-ID: <20250222091853.16487-3-bagasdotme@gmail.com> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20250222091853.16487-1-bagasdotme@gmail.com> References: <20250222091853.16487-1-bagasdotme@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2040; i=bagasdotme@gmail.com; h=from:subject; bh=I+Hu4DmnujOxNtjjtyFf0/ct07Cish9O0boxecFj94I=; b=owGbwMvMwCX2bWenZ2ig32LG02pJDOk7p5pxXb58Vrpml8XMFa9nrFzFVDrd1HUex88v0S8bF tvxTjqwqaOUhUGMi0FWTJFlUiJf0+ldRiIX2tc6wsxhZQIZwsDFKQAT2VzMyHBx7ovrKzd/ielg XuyRk/YtdfcLTQZGbs/U38UdDM9Dp/Ay/Hdcy/P7T61c8M+fWU6B4Zs7etjznytvsmRtt9Zxzch p4QAA X-Developer-Key: i=bagasdotme@gmail.com; a=openpgp; fpr=701B806FDCA5D3A58FFB8F7D7C276C64A5E44A1D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Sphinx reports htmldocs warnings on dentry/dcache section: Documentation/filesystems/bcachefs/casefolding.rst:75: WARNING: Title under= line too short. dentry/dcache considerations Reported-by: Stephen Rothwell --------- [docutils] Documentation/filesystems/bcachefs/casefolding.rst:84: WARNING: Definition = list ends without a blank line; unexpected unindent. [docutils] Fix the section by: * Extending the section underline to match the section title length; * Separating problem list from surrounding paragraphs. Fixes: bc5cc09246c5 ("bcachefs: bcachefs_metadata_version_casefolding") Reported-by: Stephen Rothwell Closes: https://lore.kernel.org/linux-next/20250221161911.2d16138b@canb.auu= g.org.au/ Closes: https://lore.kernel.org/linux-next/20250221162135.79be0147@canb.auu= g.org.au/ Signed-off-by: Bagas Sanjaya --- Documentation/filesystems/bcachefs/casefolding.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/filesystems/bcachefs/casefolding.rst b/Documenta= tion/filesystems/bcachefs/casefolding.rst index 1c385b6d21a0a8..d5861b44463576 100644 --- a/Documentation/filesystems/bcachefs/casefolding.rst +++ b/Documentation/filesystems/bcachefs/casefolding.rst @@ -73,15 +73,17 @@ any encodings than a single UTF-8 version. When future = encodings are desirable, they will be added trivially using the opts mechanism. =20 dentry/dcache considerations ---------- +---------------------------- =20 Currently, in casefolded directories, bcachefs (like other filesystems) wi= ll not cache negative dentry's. =20 This is because currently doing so presents a problem in the following sce= nario: + - Lookup file "blAH" in a casefolded directory - Creation of file "BLAH" in a casefolded directory - Lookup file "blAH" in a casefolded directory + This would fail if negative dentry's were cached. =20 This is slightly suboptimal, but could be fixed in future with some vfs wo= rk. --=20 An old man doll... just what I always wanted! - Clara From nobody Sun Feb 8 01:33:00 2026 Received: from mail-pj1-f45.google.com (mail-pj1-f45.google.com [209.85.216.45]) (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 91C78206F21; Sat, 22 Feb 2025 09:19:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.45 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740215956; cv=none; b=etSiSHFv/l0uD3bXfEbjta4H3Uvn4KB5LJ6IcdH/m3xf8D+mteOFsMBtuMJf9K0ksBnGUS/zKAuZtkLqUr1V6nl9R6+quKtih0CQeHwBce49Nz6poFNd2UbUwoBdvBMX5v48ch6z6ufv1pGdsV0jpG179AfjDXR6aG29/Ahz2Eo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740215956; c=relaxed/simple; bh=1H0fcjZ59e5m2Wwr+sCq68rVcNKl1r6ctu9g3xbBDDI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=N53Jq0oRR37UJnKGgpvCTtxR5W6EdmmBtRFNOZW8WFTsH6MfDf9rY7tnt1MbDPABab4C13nDtFaEbSumh24takw+kbc8wJGAMa3z/Ji4oefPVsQA1RSH/Dbsg/IN7Tojyut4hvd565vClfiEBmXsE1VipJ7MDyeUrOxlIS7tlFs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=fAjVtJe0; arc=none smtp.client-ip=209.85.216.45 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.b="fAjVtJe0" Received: by mail-pj1-f45.google.com with SMTP id 98e67ed59e1d1-2fbf77b2b64so5918499a91.2; Sat, 22 Feb 2025 01:19:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1740215954; x=1740820754; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=arSSywPBAqrtMA/12WOxSIM6m3MIN4jFYb5tokjbeI4=; b=fAjVtJe06cpogUy+1FHV50X2W30/UxAIvns1/ViV4JgmUs+aOvlahO/lhvNDZpXPgB zE2EkFi8vNTuhUcDlQCXb44DwxM0zYdOUSpCUQCjs0wRfpfFskJM5eep9sem9EMhd8fB 9+Latt+03qlI14+D1FTlWYkk5L3bMSzDIQS8nLLuZ6ctUKFXCSMvzWyoqg6Zq+Dy7C9I VnK33CrehyByLcpkBnjw8SdR8FIvhsXlPArZsGaNspdLOeuKnKOVEqzwzXjIlyLvz6U6 t3x6lui3AlkIdQvbqNJhej05oHCsalbkzzgn1IswIDRykv3v+kykDZ+5B8L4I/ax9a8h hNow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740215954; x=1740820754; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=arSSywPBAqrtMA/12WOxSIM6m3MIN4jFYb5tokjbeI4=; b=YKz0Kj9/L3oSczOHw+kRtSbfj0xdTe3McBHuNZM2oXsNboYz3LYSjlz8rq27/W6vkk YIYqtTTiCcqy6NerwcB8js53/lBvUlfxeh7NJsOctf3FMOAii6xAMEIEZ0vVlv88QQfx tnMnrozCCaDGZXPVjlygo4ESXs4qnUMSqxYBwIF76yDDqFJfK2oeOoRXb+P1d8oLFmn/ B+Z+1i45L8MtwYPkOFDkFedbB7t/bGsSFKOYKMx6Slju2qXYrCpY1nDDN7fYN/zpsuh/ ZsruT5++8oKrI9uG3mRua2Kv4GV8EOMh+qaaNGed9br8JlXkp3Tzb/16f9KiBtFKPbXF 3j3Q== X-Forwarded-Encrypted: i=1; AJvYcCUyOSQSMUzU2IRoIDcBtA6YSfhjUF4PTQlmOtjX90HIlNqNToHWg7/0M7jGdM0GB7kjyhO36krFMYfa@vger.kernel.org, AJvYcCVxBcRpmzP3sC84e9y9nVw43ezzaOEuFMb+KaayvM37wvrehUxpMo97xKLhBWivwrV6lIqtN1LFyln9nUwtgw==@vger.kernel.org X-Gm-Message-State: AOJu0YzyDsmk1Ayjgp6OQ9xrAXICpjuBeapRo/Madi/o7dKY+JBG3g/H P12HahUHvKNofSaq2ALMzT/qdheTULjPpO1LgWGWolSj0ysMMaSD X-Gm-Gg: ASbGncvmw05DdKb2BkhkwrZLoXujCWEOXnDxp38ZDgMo1AZwHEVgB/zQ+SDulZ9/BIg zYKcKMGzeH2A4aktrCjRbFhe/+yy+DmZ7X8Z+3VBORl12JycOZegQAw2AY2VXC9KDCOyxKh/FhV xnFVxzFvRMS7OsH2X2/qh6ESqAd7VRnkQ4x2BkNmFHnsbP1QQfESai/BUi1kmxZRlo/d2VQUNnv bUpNwe7JVIRAzEBGiOGf5gHq5MaOB7rQlHnDepYQ6FkQMOPDaCwhRHxC6Y2iflLw9q6Mx4JtaZi mjxhZTjakXK7REUl1V8xBYuPug== X-Google-Smtp-Source: AGHT+IHL3fDQk9Pp/3H+yX5WF7dXe/HQfFbAD4mwCOURPeue7PPNy5SO2roanyZd7Nvyx3WYhAm6ng== X-Received: by 2002:a05:6a00:464e:b0:732:a24:7354 with SMTP id d2e1a72fcca58-73426c84381mr8960226b3a.4.1740215953718; Sat, 22 Feb 2025 01:19:13 -0800 (PST) Received: from archie.me ([103.124.138.155]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-add2e0ad0dfsm13375942a12.78.2025.02.22.01.19.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 22 Feb 2025 01:19:10 -0800 (PST) Received: by archie.me (Postfix, from userid 1000) id DD1B042D904B; Sat, 22 Feb 2025 16:19:07 +0700 (WIB) From: Bagas Sanjaya To: Linux Kernel Mailing List , Linux Documentation , Linux bcachefs Cc: Kent Overstreet , Jonathan Corbet , Joshua Ashton , Bagas Sanjaya Subject: [PATCH 3/4] Documentation: bcachefs: casefolding: Use bullet list for dirent structure Date: Sat, 22 Feb 2025 16:18:52 +0700 Message-ID: <20250222091853.16487-4-bagasdotme@gmail.com> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20250222091853.16487-1-bagasdotme@gmail.com> References: <20250222091853.16487-1-bagasdotme@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1311; i=bagasdotme@gmail.com; h=from:subject; bh=1H0fcjZ59e5m2Wwr+sCq68rVcNKl1r6ctu9g3xbBDDI=; b=owGbwMvMwCX2bWenZ2ig32LG02pJDOk7p5pt9mu6c27pRc+j2Z/9m9fGFDG4VUZekVPUvpiUy uukHfK/o5SFQYyLQVZMkWVSIl/T6V1GIhfa1zrCzGFlAhnCwMUpABOp8mNk2NWk8uCPsfzn47ND E8S+6jUpW7r7GUVev3H2j++t+/kdTIwMJ34uPPKjPW/b5nCb9Uduif8+6jepa7LYdYGgSYkZG1Y rMgAA X-Developer-Key: i=bagasdotme@gmail.com; a=openpgp; fpr=701B806FDCA5D3A58FFB8F7D7C276C64A5E44A1D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The doc lists dirent structure for both regular and casefolded names, yet it is written (and rendered) as long paragraph instead. Write the structure list as bullet list. Fixes: bc5cc09246c5 ("bcachefs: bcachefs_metadata_version_casefolding") Signed-off-by: Bagas Sanjaya --- Documentation/filesystems/bcachefs/casefolding.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/filesystems/bcachefs/casefolding.rst b/Documenta= tion/filesystems/bcachefs/casefolding.rst index d5861b44463576..ba5de97d155ffa 100644 --- a/Documentation/filesystems/bcachefs/casefolding.rst +++ b/Documentation/filesystems/bcachefs/casefolding.rst @@ -30,8 +30,8 @@ name with the regular name in the dirent. =20 The structure looks like this: =20 -Regular: [dirent data][regular name][nul][nul]... -Casefolded: [dirent data][reg len][cf len][regular name][casefolded name][= nul][nul]... +* Regular: [dirent data][regular name][nul][nul]... +* Casefolded: [dirent data][reg len][cf len][regular name][casefolded name= ][nul][nul]... =20 (Do note, the number of NULs here is merely for illustration; their count = can vary per-key, and they may not even be present if the key is aligned to --=20 An old man doll... just what I always wanted! - Clara From nobody Sun Feb 8 01:33:00 2026 Received: from mail-pj1-f52.google.com (mail-pj1-f52.google.com [209.85.216.52]) (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 1CC18206F3A; Sat, 22 Feb 2025 09:19:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740215956; cv=none; b=o/YtP/HJ6q7JNagae4a6jDCnIsB+MIay/5ZWJamJha6Jx3vyZUsMGkRKLJEKdLtAft4X8AYolEcX4KXm1c7FQuwfc/j9DQAHEE/x/Tdmrt5oaPg2QyBfZNe++9ZWmAMp8uHqOKJfVNak+jeSdl62znoDd/fWJhw0UxICjfiVyNY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740215956; c=relaxed/simple; bh=GPvHd1NrZQbstxWEAi59upWEyTaGliQIzEFW49ggenc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=iDgO8xbUphnXEKM0geyuaAwb+O2KZCSPMCwdKf9irYLO0zfVolCfKxo3Cxfd5LkWHRjTB1CPeUJDYy8Wrh/al+mHXIpz9Mr/IvyCfbrXhAAbTxgOZpW5cw5r8lYclKVOSLeyqjWfjBejvcoo6CHRGo9oSWI90tie3mgPrMKyT6E= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=eBKbEv+l; arc=none smtp.client-ip=209.85.216.52 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.b="eBKbEv+l" Received: by mail-pj1-f52.google.com with SMTP id 98e67ed59e1d1-2fbffe0254fso5912652a91.3; Sat, 22 Feb 2025 01:19:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1740215954; x=1740820754; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=R1qQy4fjapAeS/W24BsommvSixWnehGKPR93GX3XfSA=; b=eBKbEv+lKABYVeOce9ICMPEsusPN4p9i+HpdJCGxTziTjy1Bzoz3CrwaXjCh+IKIgy ce5hw9LOq0IFbHbntYYtWIEB+yGcYEuaZ7CQhEItqhkhjZLEFWU3NPXY6ZAwCR0it5xy aR2248ZZ/vZ+1s7f5sf8GVwsXec0puyWtUJ/Y1j7SzWLS4NNab9O1XPsAucjuid8uH4t Yv/Wzbx3+VVurXsEBcNMCnrDTLSp0mmWVP2VguRy/gbZ+g9hp5fGUnzTFFA7pKv/2A/G pF1dWhA7UdHhxchfAEQUxjSKC9769olCTD/vBvzo+n/l2sb9FvCMP4d81xyds2TZLGmL JX4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740215954; x=1740820754; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=R1qQy4fjapAeS/W24BsommvSixWnehGKPR93GX3XfSA=; b=dAFiYyCj4jfcuOIC+jAXZSKmWRuZy1zJdsqZfjtfKZC3VVTjVKppN3Wno0aQftRaU4 o82kV9DkchjiXI11OKmpLuKnyMXiyJes2fIsVysFBSe3WEnw2Wq0YH9TsaADhoeDr1Tg F43e66tjzZtJ9L2pLk6tApJ/MSl1ry8jQJ/pYnCL4ozmbmDGKqAy5cR1xfhcB5s0ZQgs VDQt9AnBjd/m88dSbWIPJHREB2XAoQ/0DKtJwIivfLRTuzO1r04ORek8xi5V3PxOmDmN 07TdAVB7gLrH5MJ13kz8zwv4UeVLywbf3nKf0OKIeGUWI06bzJpva4lBYefyKRuNIa3j oLHw== X-Forwarded-Encrypted: i=1; AJvYcCWaEnmCPmC8xMgXtYXmpwkK/nGucPB71n4RZ13LwXo9vUnuPkHJ3krj6VXVzAZhksQa3TsJnuWVplcO@vger.kernel.org, AJvYcCXAKKP3VyfHLLU+zaj82mS6jZ3Ji9Buqr8KfhWS/5lF/swO+8gpz+u977gh0wvvrnEhZixSg84PwT13TcwL+A==@vger.kernel.org X-Gm-Message-State: AOJu0Yy3uHGZK7VFXYGitACvUz917o/QGn7DYM3tspMULLQo6hjT73wf qkhU9lUZarP+4LNWJ1TO+PiZWmvceJBcVwUfKPKqAFlGuv5kfw9U X-Gm-Gg: ASbGncu4tUGEtKkBJGVsreUUoFkQlV0PWOMXkiWRoOn97BPnbvMTdrq+G+48FspEDv7 /GY+UeBc1JFtH9bf8YfegA6jGxz8tRTGRDHJjUijkdwmHHVoJQ7L+HhVzlomOVtuZDbm2Z1V2cT UDZfL2c0qiapD9tWH70JosKTjrtSvvDOxBCd9ZK0ZKEn0PWLB20CpW/RIdiCNA9JXAvcQt7MSOF evmRimd0JhCuC2xCipUHW9/Jc1OlIx+VbN6hjBNbOw7NiVi2qEpr+/GlKFskbZpCV2OaPw0fJCs ml2lZ0v9xPznZjauc7UfIP8ZyQ== X-Google-Smtp-Source: AGHT+IFnH68kZlDtrEgag2LrOJ1a7YUl1B8syuohVJAbSHgLGBm/yXw3S1AP/WiDyAPmXjE2ePxQjQ== X-Received: by 2002:a17:90b:2688:b0:2ee:f687:6adb with SMTP id 98e67ed59e1d1-2fce77a0195mr9486534a91.3.1740215954205; Sat, 22 Feb 2025 01:19:14 -0800 (PST) Received: from archie.me ([103.124.138.155]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2fceb02e387sm2752753a91.9.2025.02.22.01.19.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 22 Feb 2025 01:19:11 -0800 (PST) Received: by archie.me (Postfix, from userid 1000) id F02D742D904C; Sat, 22 Feb 2025 16:19:07 +0700 (WIB) From: Bagas Sanjaya To: Linux Kernel Mailing List , Linux Documentation , Linux bcachefs Cc: Kent Overstreet , Jonathan Corbet , Joshua Ashton , Bagas Sanjaya , Stephen Rothwell Subject: [PATCH 4/4] Documentation: bcachefs: Add casefolding toctree entry Date: Sat, 22 Feb 2025 16:18:53 +0700 Message-ID: <20250222091853.16487-5-bagasdotme@gmail.com> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20250222091853.16487-1-bagasdotme@gmail.com> References: <20250222091853.16487-1-bagasdotme@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1022; i=bagasdotme@gmail.com; h=from:subject; bh=GPvHd1NrZQbstxWEAi59upWEyTaGliQIzEFW49ggenc=; b=owGbwMvMwCX2bWenZ2ig32LG02pJDOk7p5qtXqmesvhZboea/lR3XmaO5u2SpXo8XX35qZ7Xr 197apnfUcrCIMbFICumyDIpka/p9C4jkQvtax1h5rAygQxh4OIUgIn8XsTwh+cIo4ONut5reaGq +2f+M50235Bv2nRG6sZHLYZ3rC7XPjH8T319erGgzD6OM09WX38Uveq98KJTE7q/OvoFz/PXTV9 yjQ0A X-Developer-Key: i=bagasdotme@gmail.com; a=openpgp; fpr=701B806FDCA5D3A58FFB8F7D7C276C64A5E44A1D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Sphinx reports htmldocs toctree warning: Documentation/filesystems/bcachefs/casefolding.rst: WARNING: document isn't= included in any toctree Fix the warning by adding casefolding documentation entry to bcachefs toctree. Fixes: bc5cc09246c5 ("bcachefs: bcachefs_metadata_version_casefolding") Reported-by: Stephen Rothwell Closes: https://lore.kernel.org/linux-next/20250221161728.32739f85@canb.auu= g.org.au/ Signed-off-by: Bagas Sanjaya --- Documentation/filesystems/bcachefs/index.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/filesystems/bcachefs/index.rst b/Documentation/f= ilesystems/bcachefs/index.rst index 7db4d7ceab5826..0415b5d781920d 100644 --- a/Documentation/filesystems/bcachefs/index.rst +++ b/Documentation/filesystems/bcachefs/index.rst @@ -10,4 +10,5 @@ bcachefs Documentation =20 CodingStyle SubmittingPatches + casefolding errorcodes --=20 An old man doll... just what I always wanted! - Clara