data_type
large_stringclasses
3 values
source
large_stringclasses
29 values
code
large_stringlengths
98
49.4M
filepath
large_stringlengths
5
161
message
large_stringclasses
234 values
commit
large_stringclasses
234 values
subject
large_stringclasses
418 values
critique
large_stringlengths
101
1.26M
metadata
dict
lkml_critique
linux-fsdevel
From: Chuck Lever <chuck.lever@oracle.com> Following on from https://lore.kernel.org/linux-nfs/20251021-zypressen-bazillus-545a44af57fd@brauner/T/#m0ba197d75b7921d994cf284f3cef3a62abb11aaa I'm attempting to implement enough support in the Linux VFS to enable file services like NFSD and ksmbd (and user space equivale...
null
null
null
[PATCH v8 00/17] Subject: Exposing case folding behavior
On Tue, Feb 17, 2026 at 04:47:32PM -0500, Chuck Lever wrote: Acked-by: Theodore Ts'o <tytso@mit.edu>
{ "author": "\"Theodore Tso\" <tytso@mit.edu>", "date": "Thu, 19 Feb 2026 08:14:41 -0500", "is_openbsd": false, "thread_id": "ua7rmlnvbfiadpxeynekbabwqebhcop3rhaxji7s3mgnwzhhtd@frz77j6wm2eg.mbox.gz" }
lkml_critique
linux-fsdevel
From: Chuck Lever <chuck.lever@oracle.com> Following on from https://lore.kernel.org/linux-nfs/20251021-zypressen-bazillus-545a44af57fd@brauner/T/#m0ba197d75b7921d994cf284f3cef3a62abb11aaa I'm attempting to implement enough support in the Linux VFS to enable file services like NFSD and ksmbd (and user space equivale...
null
null
null
[PATCH v8 00/17] Subject: Exposing case folding behavior
On Tue 17-02-26 16:47:25, Chuck Lever wrote: Looks good. Feel free to add: Reviewed-by: Jan Kara <jack@suse.cz> Honza -- Jan Kara <jack@suse.com> SUSE Labs, CR
{ "author": "Jan Kara <jack@suse.cz>", "date": "Fri, 27 Feb 2026 12:34:30 +0100", "is_openbsd": false, "thread_id": "ua7rmlnvbfiadpxeynekbabwqebhcop3rhaxji7s3mgnwzhhtd@frz77j6wm2eg.mbox.gz" }
lkml_critique
linux-fsdevel
From: Chuck Lever <chuck.lever@oracle.com> Following on from https://lore.kernel.org/linux-nfs/20251021-zypressen-bazillus-545a44af57fd@brauner/T/#m0ba197d75b7921d994cf284f3cef3a62abb11aaa I'm attempting to implement enough support in the Linux VFS to enable file services like NFSD and ksmbd (and user space equivale...
null
null
null
[PATCH v8 00/17] Subject: Exposing case folding behavior
On Tue 17-02-26 16:47:26, Chuck Lever wrote: Looks good. Feel free to add: Reviewed-by: Jan Kara <jack@suse.cz> Honza -- Jan Kara <jack@suse.com> SUSE Labs, CR
{ "author": "Jan Kara <jack@suse.cz>", "date": "Fri, 27 Feb 2026 12:37:33 +0100", "is_openbsd": false, "thread_id": "ua7rmlnvbfiadpxeynekbabwqebhcop3rhaxji7s3mgnwzhhtd@frz77j6wm2eg.mbox.gz" }
lkml_critique
linux-fsdevel
From: Chuck Lever <chuck.lever@oracle.com> Following on from https://lore.kernel.org/linux-nfs/20251021-zypressen-bazillus-545a44af57fd@brauner/T/#m0ba197d75b7921d994cf284f3cef3a62abb11aaa I'm attempting to implement enough support in the Linux VFS to enable file services like NFSD and ksmbd (and user space equivale...
null
null
null
[PATCH v8 00/17] Subject: Exposing case folding behavior
On Tue 17-02-26 16:47:27, Chuck Lever wrote: Looks good to me from general POV. It would be good to get confirmation from FAT maintainer you've got all the corner cases of FAT configuration right :) Anyway, feel free to add: Reviewed-by: Jan Kara <jack@suse.cz> Honza -- Jan Kara <jack@suse.com> SUSE Labs, ...
{ "author": "Jan Kara <jack@suse.cz>", "date": "Fri, 27 Feb 2026 12:41:55 +0100", "is_openbsd": false, "thread_id": "ua7rmlnvbfiadpxeynekbabwqebhcop3rhaxji7s3mgnwzhhtd@frz77j6wm2eg.mbox.gz" }
lkml_critique
linux-fsdevel
Commit b226804532a8 ("hfs: Replace BUG_ON with error handling for CNID count checks") replaced BUG_ON() with "atomic64_inc_return() => check for overflow => atomic64_dec() if overflowed" pattern. That approach works because the 64bits signed variable is initialized using a 32bits unsigned variable, making sure that the...
null
null
null
[PATCH] hfs: evaluate the upper 32bits for detecting overflow
On Wed, 2026-02-11 at 19:29 +0900, Tetsuo Handa wrote: Maybe, it makes sense to run some tests? :) What's about upper_32_bits()? Ditto. Ditto. Ditto. Ditto. Ditto. Thanks, Slava.
{ "author": "Viacheslav Dubeyko <Slava.Dubeyko@ibm.com>", "date": "Wed, 11 Feb 2026 22:36:37 +0000", "is_openbsd": false, "thread_id": "a6e9fe8b-5a20-4c01-a1f8-144572fc3f4a@I-love.SAKURA.ne.jp.mbox.gz" }
lkml_critique
linux-fsdevel
Commit b226804532a8 ("hfs: Replace BUG_ON with error handling for CNID count checks") replaced BUG_ON() with "atomic64_inc_return() => check for overflow => atomic64_dec() if overflowed" pattern. That approach works because the 64bits signed variable is initialized using a 32bits unsigned variable, making sure that the...
null
null
null
[PATCH] hfs: evaluate the upper 32bits for detecting overflow
On 2026/02/12 7:36, Viacheslav Dubeyko wrote: I tried below diff. While this diff worked, I came to feel that we don't need to fail operations upon overflow of ->file_count or ->folder_count. Since ->next_id is used for inode number, we should check for next_id >= 16. But ->file_count and ->folder_count are (if I un...
{ "author": "Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>", "date": "Thu, 12 Feb 2026 22:27:10 +0900", "is_openbsd": false, "thread_id": "a6e9fe8b-5a20-4c01-a1f8-144572fc3f4a@I-love.SAKURA.ne.jp.mbox.gz" }
lkml_critique
linux-fsdevel
Commit b226804532a8 ("hfs: Replace BUG_ON with error handling for CNID count checks") replaced BUG_ON() with "atomic64_inc_return() => check for overflow => atomic64_dec() if overflowed" pattern. That approach works because the 64bits signed variable is initialized using a 32bits unsigned variable, making sure that the...
null
null
null
[PATCH] hfs: evaluate the upper 32bits for detecting overflow
On Thu, 2026-02-12 at 22:27 +0900, Tetsuo Handa wrote: These fields exist not for statistical purpose. We store these values in struct hfs_mdb [1, 2] and, finally, on the volume. As file system driver as FSCK tool can use these values for comparing with b-trees' content. As I remember, we are checking the delet...
{ "author": "Viacheslav Dubeyko <Slava.Dubeyko@ibm.com>", "date": "Thu, 12 Feb 2026 21:51:13 +0000", "is_openbsd": false, "thread_id": "a6e9fe8b-5a20-4c01-a1f8-144572fc3f4a@I-love.SAKURA.ne.jp.mbox.gz" }
lkml_critique
linux-fsdevel
Commit b226804532a8 ("hfs: Replace BUG_ON with error handling for CNID count checks") replaced BUG_ON() with "atomic64_inc_return() => check for overflow => atomic64_dec() if overflowed" pattern. That approach works because the 64bits signed variable is initialized using a 32bits unsigned variable, making sure that the...
null
null
null
[PATCH] hfs: evaluate the upper 32bits for detecting overflow
On 2026/02/13 6:51, Viacheslav Dubeyko wrote: Well, I called "statistical purpose" because inaccurate values do not cause serious problems (such as memory corruption, system crash, loss of file data). atomic_add_unless(v, 1, -1) is atomic version of if (v != -1) v++; and atomic_add_unless(v, -1, 0) is atomic ver...
{ "author": "Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>", "date": "Fri, 13 Feb 2026 19:34:24 +0900", "is_openbsd": false, "thread_id": "a6e9fe8b-5a20-4c01-a1f8-144572fc3f4a@I-love.SAKURA.ne.jp.mbox.gz" }
lkml_critique
linux-fsdevel
Commit b226804532a8 ("hfs: Replace BUG_ON with error handling for CNID count checks") replaced BUG_ON() with "atomic64_inc_return() => check for overflow => atomic64_dec() if overflowed" pattern. That approach works because the 64bits signed variable is initialized using a 32bits unsigned variable, making sure that the...
null
null
null
[PATCH] hfs: evaluate the upper 32bits for detecting overflow
On Fri, 2026-02-13 at 19:34 +0900, Tetsuo Handa wrote: typedef struct { int counter; } atomic_t; UINT_MAX is 4,294,967,295 (or 0xffffffff in hexadecimal). INT_MAX: 32-bit Signed Integer: Ranges from -2,147,483,648 to +2,147,483,647. So, you cannot represent __be32 in signed integer. Thanks, Slava.
{ "author": "Viacheslav Dubeyko <Slava.Dubeyko@ibm.com>", "date": "Fri, 13 Feb 2026 22:45:21 +0000", "is_openbsd": false, "thread_id": "a6e9fe8b-5a20-4c01-a1f8-144572fc3f4a@I-love.SAKURA.ne.jp.mbox.gz" }
lkml_critique
linux-fsdevel
Commit b226804532a8 ("hfs: Replace BUG_ON with error handling for CNID count checks") replaced BUG_ON() with "atomic64_inc_return() => check for overflow => atomic64_dec() if overflowed" pattern. That approach works because the 64bits signed variable is initialized using a 32bits unsigned variable, making sure that the...
null
null
null
[PATCH] hfs: evaluate the upper 32bits for detecting overflow
On 2026/02/14 7:45, Viacheslav Dubeyko wrote: I can't catch what you are talking about. There is no difference among e.g. s32, u32, int, unsigned int, __le32, __be32 in that these types can represent 4294967296 integer values. The difference among these types is how the pattern represented using 32 bits is interprete...
{ "author": "Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>", "date": "Sat, 14 Feb 2026 16:09:18 +0900", "is_openbsd": false, "thread_id": "a6e9fe8b-5a20-4c01-a1f8-144572fc3f4a@I-love.SAKURA.ne.jp.mbox.gz" }
lkml_critique
linux-fsdevel
Commit b226804532a8 ("hfs: Replace BUG_ON with error handling for CNID count checks") replaced BUG_ON() with "atomic64_inc_return() => check for overflow => atomic64_dec() if overflowed" pattern. That approach works because the 64bits signed variable is initialized using a 32bits unsigned variable, making sure that the...
null
null
null
[PATCH] hfs: evaluate the upper 32bits for detecting overflow
On Sat, 2026-02-14 at 16:09 +0900, Tetsuo Handa wrote: If you suggest to increment the atomic_t until U32_MAX and somehow keep in the mind that we need to treat negative value as positive, then it's confusing and nobody will follow to this solution. It will introduce the bugs easily. Using atomic64_t is clear sol...
{ "author": "Viacheslav Dubeyko <Slava.Dubeyko@ibm.com>", "date": "Tue, 17 Feb 2026 00:59:21 +0000", "is_openbsd": false, "thread_id": "a6e9fe8b-5a20-4c01-a1f8-144572fc3f4a@I-love.SAKURA.ne.jp.mbox.gz" }
lkml_critique
linux-fsdevel
Commit b226804532a8 ("hfs: Replace BUG_ON with error handling for CNID count checks") replaced BUG_ON() with "atomic64_inc_return() => check for overflow => atomic64_dec() if overflowed" pattern. That approach works because the 64bits signed variable is initialized using a 32bits unsigned variable, making sure that the...
null
null
null
[PATCH] hfs: evaluate the upper 32bits for detecting overflow
On 2026/02/17 9:59, Viacheslav Dubeyko wrote: Then, we can use u32 and U32_MIN/U32_MAX like below. (I'm not trying to convert next_id to u32, for it needs more inspection before we are convinced that there is no possibility for overflow.) Do you still dislike converting to u32? fs/hfs/hfs_fs.h | 37 +++++++++++++++...
{ "author": "Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>", "date": "Tue, 17 Feb 2026 21:41:45 +0900", "is_openbsd": false, "thread_id": "a6e9fe8b-5a20-4c01-a1f8-144572fc3f4a@I-love.SAKURA.ne.jp.mbox.gz" }
lkml_critique
linux-fsdevel
Commit b226804532a8 ("hfs: Replace BUG_ON with error handling for CNID count checks") replaced BUG_ON() with "atomic64_inc_return() => check for overflow => atomic64_dec() if overflowed" pattern. That approach works because the 64bits signed variable is initialized using a 32bits unsigned variable, making sure that the...
null
null
null
[PATCH] hfs: evaluate the upper 32bits for detecting overflow
On Tue, 2026-02-17 at 21:41 +0900, Tetsuo Handa wrote: Please, see my comments below. :) I completely don't see the point in adding likewise field. We always can share warning message in the point of problem detection. What's the point to make code so complicated? What's wrong with atomic64_t? Are you tr...
{ "author": "Viacheslav Dubeyko <Slava.Dubeyko@ibm.com>", "date": "Wed, 18 Feb 2026 22:07:07 +0000", "is_openbsd": false, "thread_id": "a6e9fe8b-5a20-4c01-a1f8-144572fc3f4a@I-love.SAKURA.ne.jp.mbox.gz" }
lkml_critique
linux-fsdevel
Commit b226804532a8 ("hfs: Replace BUG_ON with error handling for CNID count checks") replaced BUG_ON() with "atomic64_inc_return() => check for overflow => atomic64_dec() if overflowed" pattern. That approach works because the 64bits signed variable is initialized using a 32bits unsigned variable, making sure that the...
null
null
null
[PATCH] hfs: evaluate the upper 32bits for detecting overflow
On 2026/02/19 7:07, Viacheslav Dubeyko wrote: Calling printk() so frequently can cause stall warnings. Calling printk() upon mount time or unmount time is fine, but calling printk() upon e.g. sync() time can become problematic. These are u32 version of atomic_add_unless(v, 1, -1) and atomic_add_unless(v, -1, 0), fo...
{ "author": "Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>", "date": "Thu, 19 Feb 2026 23:00:23 +0900", "is_openbsd": false, "thread_id": "a6e9fe8b-5a20-4c01-a1f8-144572fc3f4a@I-love.SAKURA.ne.jp.mbox.gz" }
lkml_critique
linux-fsdevel
Commit b226804532a8 ("hfs: Replace BUG_ON with error handling for CNID count checks") replaced BUG_ON() with "atomic64_inc_return() => check for overflow => atomic64_dec() if overflowed" pattern. That approach works because the 64bits signed variable is initialized using a 32bits unsigned variable, making sure that the...
null
null
null
[PATCH] hfs: evaluate the upper 32bits for detecting overflow
Commit b226804532a8 ("hfs: Replace BUG_ON with error handling for CNID count checks") was an improvement in that it avoids kernel crash, but was not an improvement in several aspects. First aspect is that it increased possibility of committing corrupted counter values to mdb, for that commit did not eliminate possibil...
{ "author": "Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>", "date": "Sat, 21 Feb 2026 00:57:48 +0900", "is_openbsd": false, "thread_id": "a6e9fe8b-5a20-4c01-a1f8-144572fc3f4a@I-love.SAKURA.ne.jp.mbox.gz" }
lkml_critique
linux-fsdevel
Commit b226804532a8 ("hfs: Replace BUG_ON with error handling for CNID count checks") replaced BUG_ON() with "atomic64_inc_return() => check for overflow => atomic64_dec() if overflowed" pattern. That approach works because the 64bits signed variable is initialized using a 32bits unsigned variable, making sure that the...
null
null
null
[PATCH] hfs: evaluate the upper 32bits for detecting overflow
On Sat, 2026-02-21 at 00:57 +0900, Tetsuo Handa wrote: I cannot accept the patch with such comment because I don't need in favor. We should have technically reasonable solution. We cannot simply silently stop accounting folders count. We should complain and must return error. The same here. We cannot sim...
{ "author": "Viacheslav Dubeyko <Slava.Dubeyko@ibm.com>", "date": "Fri, 20 Feb 2026 20:03:33 +0000", "is_openbsd": false, "thread_id": "a6e9fe8b-5a20-4c01-a1f8-144572fc3f4a@I-love.SAKURA.ne.jp.mbox.gz" }
lkml_critique
linux-fsdevel
Commit b226804532a8 ("hfs: Replace BUG_ON with error handling for CNID count checks") replaced BUG_ON() with "atomic64_inc_return() => check for overflow => atomic64_dec() if overflowed" pattern. That approach works because the 64bits signed variable is initialized using a 32bits unsigned variable, making sure that the...
null
null
null
[PATCH] hfs: evaluate the upper 32bits for detecting overflow
On 2026/02/21 5:03, Viacheslav Dubeyko wrote: If there were no race window of committing stale counter values to mdb, and if there were no possibility of mdb corruption, it is impossible to overflow, for 0 <= file_count + folder_count <= U32_MAX is guaranteed because the cnid is 32bits. But like syzbot reports, file_...
{ "author": "Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>", "date": "Sat, 21 Feb 2026 10:50:01 +0900", "is_openbsd": false, "thread_id": "a6e9fe8b-5a20-4c01-a1f8-144572fc3f4a@I-love.SAKURA.ne.jp.mbox.gz" }
lkml_critique
linux-fsdevel
Commit b226804532a8 ("hfs: Replace BUG_ON with error handling for CNID count checks") replaced BUG_ON() with "atomic64_inc_return() => check for overflow => atomic64_dec() if overflowed" pattern. That approach works because the 64bits signed variable is initialized using a 32bits unsigned variable, making sure that the...
null
null
null
[PATCH] hfs: evaluate the upper 32bits for detecting overflow
On 2026/02/21 10:50, Tetsuo Handa wrote: Here is an opinion from Google AI mode. https://share.google/aimode/VTH5mHPFmaH62fnwx (Expires in 7 days. Please save if needed.)
{ "author": "Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>", "date": "Thu, 26 Feb 2026 23:01:59 +0900", "is_openbsd": false, "thread_id": "a6e9fe8b-5a20-4c01-a1f8-144572fc3f4a@I-love.SAKURA.ne.jp.mbox.gz" }
lkml_critique
linux-fsdevel
Commit b226804532a8 ("hfs: Replace BUG_ON with error handling for CNID count checks") replaced BUG_ON() with "atomic64_inc_return() => check for overflow => atomic64_dec() if overflowed" pattern. That approach works because the 64bits signed variable is initialized using a 32bits unsigned variable, making sure that the...
null
null
null
[PATCH] hfs: evaluate the upper 32bits for detecting overflow
On Thu, 2026-02-26 at 23:01 +0900, Tetsuo Handa wrote: I am not going to check what absurd can generate GPUs and ML models. :) I hope you are not serious about this. Stupid hardware cannot have an opinion because it hasn't soul, it cannot think, it hasn't conscientiousness and it has no idea about ethics. Best...
{ "author": "Viacheslav Dubeyko <Slava.Dubeyko@ibm.com>", "date": "Thu, 26 Feb 2026 17:45:54 +0000", "is_openbsd": false, "thread_id": "a6e9fe8b-5a20-4c01-a1f8-144572fc3f4a@I-love.SAKURA.ne.jp.mbox.gz" }
lkml_critique
linux-fsdevel
[ Smatch checking is paused while we raise funding. #SadFace https://lore.kernel.org/all/aTaiGSbWZ9DJaGo7@stanley.mountain/ -dan ] Hello Namjae Jeon, Commit 495e90fa3348 ("ntfs: update attrib operations") from Feb 13, 2026 (linux-next), leads to the following Smatch static checker warning: fs/ntfs/attrib.c:5197 n...
null
null
null
[bug report] ntfs: update attrib operations
On Fri, Feb 27, 2026 at 4:59 PM Dan Carpenter <dan.carpenter@linaro.org> wrote: Hi Dan, Ethan sent the patch for this and I just applied it. Thanks for your report!
{ "author": "Namjae Jeon <linkinjeon@kernel.org>", "date": "Fri, 27 Feb 2026 18:46:58 +0900", "is_openbsd": false, "thread_id": "CAKYAXd-j-7n6ht3P2F0jci=JjkMRhNiMKZ9rFV4qmr0Byr5s0w@mail.gmail.com.mbox.gz" }
lkml_critique
linux-fsdevel
syzbot is reporting use-after-free read problems when a crafted HPFS image was mounted with "check=none" option. The "check=none" option is intended for only users who want maximum speed and use the filesystem only on trusted input. But fuzzers are for testing the filesystem on untrusted input. Mikulas Patocka (the H...
null
null
null
[PATCH] hpfs: obsolete check=none mount option
Hi Tetsuo, kernel test robot noticed the following build warnings: [auto build test WARNING on brauner-vfs/vfs.all] [also build test WARNING on linus/master linux/master v7.0-rc1 next-20260226] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base...
{ "author": "kernel test robot <lkp@intel.com>", "date": "Fri, 27 Feb 2026 22:20:43 +0800", "is_openbsd": false, "thread_id": "202602272252.89OlLXUV-lkp@intel.com.mbox.gz" }
lkml_critique
linux-fsdevel
Hello Al Viro, By the commit in v7.0-rc1, 154ef7dce6a4d 2026-01-16 name_to_handle_at(): use CLASS(filename_uflags) name_to_handle_at(2) stopped handling AT_EMPTY_PATH, and an application which issues name_to_handle_at(fd, "", handle, &mnt_id, AT_EMPTY_PATH); started failing. It is due to the commit dropped setting ...
null
null
null
v7.0-rc1, name_to_handle_at(..., AT_EMPTY_PATH)
On Fri, Feb 27, 2026 at 07:44:58PM +0900, J. R. Okajima wrote: Huh? CLASS(filename_uflags, filename)(name, flag); *does* accept empty path if flag & AT_EMPTY_PATH is non-zero. So if you are really observing such failures, something else must've gone wrong. Details, please. This struct filename *getname_uflags(cons...
{ "author": "Al Viro <viro@zeniv.linux.org.uk>", "date": "Fri, 27 Feb 2026 15:22:11 +0000", "is_openbsd": false, "thread_id": "26309.1772206864@jrotkm2.mbox.gz" }
lkml_critique
linux-fsdevel
Hello Al Viro, By the commit in v7.0-rc1, 154ef7dce6a4d 2026-01-16 name_to_handle_at(): use CLASS(filename_uflags) name_to_handle_at(2) stopped handling AT_EMPTY_PATH, and an application which issues name_to_handle_at(fd, "", handle, &mnt_id, AT_EMPTY_PATH); started failing. It is due to the commit dropped setting ...
null
null
null
v7.0-rc1, name_to_handle_at(..., AT_EMPTY_PATH)
Al Viro: getname_flags() is not a problem. For me, the problem looks that LOOKUP_EMPTY is NOT passed to path_lookupat(). J. R. Okajima
{ "author": "hooanon05g@gmail.com", "date": "Sat, 28 Feb 2026 00:41:04 +0900", "is_openbsd": false, "thread_id": "26309.1772206864@jrotkm2.mbox.gz" }
lkml_critique
linux-fsdevel
Add bitmap validation during HFS+ btree open to detect corruption where node 0 (header node) is not marked allocated. Syzkaller reported issues with corrupted HFS+ images where the btree allocation bitmap indicates that the header node is free. Node 0 must always be allocated as it contains the btree header record and...
null
null
null
[PATCH v3] hfsplus: validate btree bitmap during mount and handle corruption gracefully
On Sat, 2026-01-31 at 19:34 +0530, Shardul Bankar wrote: If you introduce named constant for herder node, then you don't need add this comment. And I don't like hardcoded value, anyway. :) If we read incorrect len and/or bitmap_off, then it sounds like corruption too. We need to process this issue somehow but...
{ "author": "Viacheslav Dubeyko <Slava.Dubeyko@ibm.com>", "date": "Mon, 2 Feb 2026 20:52:49 +0000", "is_openbsd": false, "thread_id": "52e1b0fbdbeb8748d197af9d438c137c9db6d284.camel@mpiricsoftware.com.mbox.gz" }
lkml_critique
linux-fsdevel
Add bitmap validation during HFS+ btree open to detect corruption where node 0 (header node) is not marked allocated. Syzkaller reported issues with corrupted HFS+ images where the btree allocation bitmap indicates that the header node is free. Node 0 must always be allocated as it contains the btree header record and...
null
null
null
[PATCH v3] hfsplus: validate btree bitmap during mount and handle corruption gracefully
On Mon, 2026-02-02 at 20:52 +0000, Viacheslav Dubeyko wrote: Hi Slava, thank you for the review. Ack'ed. I will use HFSPLUS_TREE_HEAD (0) in v4. I agree that invalid offsets constitute corruption. However, properly validating the structure of the record table and offsets is a larger scope change. I prefer to keep t...
{ "author": "Shardul Bankar <shardul.b@mpiricsoftware.com>", "date": "Tue, 03 Feb 2026 14:28:20 +0530", "is_openbsd": false, "thread_id": "52e1b0fbdbeb8748d197af9d438c137c9db6d284.camel@mpiricsoftware.com.mbox.gz" }
lkml_critique
linux-fsdevel
Add bitmap validation during HFS+ btree open to detect corruption where node 0 (header node) is not marked allocated. Syzkaller reported issues with corrupted HFS+ images where the btree allocation bitmap indicates that the header node is free. Node 0 must always be allocated as it contains the btree header record and...
null
null
null
[PATCH v3] hfsplus: validate btree bitmap during mount and handle corruption gracefully
On Tue, 2026-02-03 at 14:28 +0530, Shardul Bankar wrote: I am not suggesting to check everything. But because you are using these values and you can detect that these value is incorrect, then it makes sense to report the error if something is wrong. Correct me if I am wrong, but I suspect that I am right. :) ...
{ "author": "Viacheslav Dubeyko <Slava.Dubeyko@ibm.com>", "date": "Tue, 3 Feb 2026 23:12:41 +0000", "is_openbsd": false, "thread_id": "52e1b0fbdbeb8748d197af9d438c137c9db6d284.camel@mpiricsoftware.com.mbox.gz" }
lkml_critique
linux-fsdevel
Add bitmap validation during HFS+ btree open to detect corruption where node 0 (header node) is not marked allocated. Syzkaller reported issues with corrupted HFS+ images where the btree allocation bitmap indicates that the header node is free. Node 0 must always be allocated as it contains the btree header record and...
null
null
null
[PATCH v3] hfsplus: validate btree bitmap during mount and handle corruption gracefully
On Tue, 2026-02-03 at 23:12 +0000, Viacheslav Dubeyko wrote: Hi Slava, Ah, I misunderstood you previously! You are right. I will add an explicit error log and force SB_RDONLY for this invalid offset/length case in v4 as well. You are right that a single byte's representation is the same in memory regardless of CPU...
{ "author": "Shardul Bankar <shardul.b@mpiricsoftware.com>", "date": "Sun, 15 Feb 2026 23:27:22 +0530", "is_openbsd": false, "thread_id": "52e1b0fbdbeb8748d197af9d438c137c9db6d284.camel@mpiricsoftware.com.mbox.gz" }
lkml_critique
linux-fsdevel
Add bitmap validation during HFS+ btree open to detect corruption where node 0 (header node) is not marked allocated. Syzkaller reported issues with corrupted HFS+ images where the btree allocation bitmap indicates that the header node is free. Node 0 must always be allocated as it contains the btree header record and...
null
null
null
[PATCH v3] hfsplus: validate btree bitmap during mount and handle corruption gracefully
On Sun, 2026-02-15 at 23:27 +0530, Shardul Bankar wrote: OK. I see. I don't think that we need to make the code more complicated. If we can simply read the bitmap_word and then to use it for test_bit(), then it sounds like reasonable one. Otherwise, I think we don't need to use some tricks to use the test_bit(). ...
{ "author": "Viacheslav Dubeyko <Slava.Dubeyko@ibm.com>", "date": "Tue, 17 Feb 2026 00:41:33 +0000", "is_openbsd": false, "thread_id": "52e1b0fbdbeb8748d197af9d438c137c9db6d284.camel@mpiricsoftware.com.mbox.gz" }
lkml_critique
linux-fsdevel
Add bitmap validation during HFS+ btree open to detect corruption where node 0 (header node) is not marked allocated. Syzkaller reported issues with corrupted HFS+ images where the btree allocation bitmap indicates that the header node is free. Node 0 must always be allocated as it contains the btree header record and...
null
null
null
[PATCH v3] hfsplus: validate btree bitmap during mount and handle corruption gracefully
On Tue, 2026-02-17 at 00:41 +0000, Viacheslav Dubeyko wrote: Hi Slava, I’ve posted the updated v4 series addressing this feedback in a new thread. Link: https://lore.kernel.org/all/20260226091235.927749-1-shardul.b@mpiricsoftware.com/ Thanks, Shardul
{ "author": "Shardul Bankar <shardul.b@mpiricsoftware.com>", "date": "Fri, 27 Feb 2026 00:32:52 +0530", "is_openbsd": false, "thread_id": "52e1b0fbdbeb8748d197af9d438c137c9db6d284.camel@mpiricsoftware.com.mbox.gz" }
lkml_critique
linux-fsdevel
Hi all, I've been poking around at testing zeroing behavior after a couple recent enhancements to iomap_zero_range() and fsx[1]. Running [1] on ext4 has uncovered a couple issues that I think share responsibility between the fs and pagecache. The details are in the commit logs, but patch 1 updates ext4 to do partial ...
null
null
null
[PATCH 0/2] ext4, mm: improve partial inode eof zeroing
On some filesystems, it is currently possible to create a transient data inconsistency between pagecache and on-disk state. For example, on a 1k block size ext4 filesystem: $ xfs_io -fc "pwrite 0 2k" -c "mmap 0 4k" -c "mwrite 2k 2k" \ -c "truncate 8k" -c "fiemap -v" -c "pread -v 2k 16" <file> ... EXT: FILE-OFFSET ...
{ "author": "Brian Foster <bfoster@redhat.com>", "date": "Thu, 19 Sep 2024 12:07:41 -0400", "is_openbsd": false, "thread_id": "20240919160741.208162-3-bfoster@redhat.com.mbox.gz" }
lkml_critique
linux-fsdevel
Hi all, I've been poking around at testing zeroing behavior after a couple recent enhancements to iomap_zero_range() and fsx[1]. Running [1] on ext4 has uncovered a couple issues that I think share responsibility between the fs and pagecache. The details are in the commit logs, but patch 1 updates ext4 to do partial ...
null
null
null
[PATCH 0/2] ext4, mm: improve partial inode eof zeroing
Using mapped writes, it's technically possible to expose stale post-eof data on a truncate up operation. Consider the following example: $ xfs_io -fc "pwrite 0 2k" -c "mmap 0 4k" -c "mwrite 2k 2k" \ -c "truncate 8k" -c "pread -v 2k 16" <file> ... 00000800: 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 XXXXXXXXXXX...
{ "author": "Brian Foster <bfoster@redhat.com>", "date": "Thu, 19 Sep 2024 12:07:40 -0400", "is_openbsd": false, "thread_id": "20240919160741.208162-3-bfoster@redhat.com.mbox.gz" }
lkml_critique
linux-fsdevel
Hi all, I've been poking around at testing zeroing behavior after a couple recent enhancements to iomap_zero_range() and fsx[1]. Running [1] on ext4 has uncovered a couple issues that I think share responsibility between the fs and pagecache. The details are in the commit logs, but patch 1 updates ext4 to do partial ...
null
null
null
[PATCH 0/2] ext4, mm: improve partial inode eof zeroing
On Thu, 19 Sep 2024 12:07:39 -0400, Brian Foster wrote: Applied, thanks! [1/2] ext4: partial zero eof block on unaligned inode size extension commit: 462a214e71f3fbc40d28f0a00fe6f0d4c4041c98 [2/2] mm: zero range of eof folio exposed by inode size extension commit: faf7bba6b84981443773952289571e5ebeda1767 ...
{ "author": "\"Theodore Ts'o\" <tytso@mit.edu>", "date": "Thu, 7 Nov 2024 10:12:55 -0500", "is_openbsd": false, "thread_id": "20240919160741.208162-3-bfoster@redhat.com.mbox.gz" }
lkml_critique
linux-fsdevel
Hi all, I've been poking around at testing zeroing behavior after a couple recent enhancements to iomap_zero_range() and fsx[1]. Running [1] on ext4 has uncovered a couple issues that I think share responsibility between the fs and pagecache. The details are in the commit logs, but patch 1 updates ext4 to do partial ...
null
null
null
[PATCH 0/2] ext4, mm: improve partial inode eof zeroing
pagecache_isize_extended() has two early-return guards that were designed for the traditional sub-page block-size case: Guard 1: if (from >= to || bsize >= PAGE_SIZE) return; Guard 2: rounded_from = round_up(from, bsize); if (to <= rounded_from || !(rounded_from & (PAGE_SIZE - 1))) ...
{ "author": "Morduan Zang <zhangdandan@uniontech.com>", "date": "Thu, 26 Feb 2026 21:31:49 +0800", "is_openbsd": false, "thread_id": "20240919160741.208162-3-bfoster@redhat.com.mbox.gz" }
lkml_critique
linux-fsdevel
Hi all, I've been poking around at testing zeroing behavior after a couple recent enhancements to iomap_zero_range() and fsx[1]. Running [1] on ext4 has uncovered a couple issues that I think share responsibility between the fs and pagecache. The details are in the commit logs, but patch 1 updates ext4 to do partial ...
null
null
null
[PATCH 0/2] ext4, mm: improve partial inode eof zeroing
On Thu, Feb 26, 2026 at 09:31:49PM +0800, Morduan Zang wrote: Hi Morduan, So looking back at the original cover letter for this, this bit was for the case where we had a dirty folio in pagecache that might be partially hole backed due to eof, therefore fs zeroing might not occur. Hence we do the page zeroing here be...
{ "author": "Brian Foster <bfoster@redhat.com>", "date": "Thu, 26 Feb 2026 15:22:32 -0500", "is_openbsd": false, "thread_id": "20240919160741.208162-3-bfoster@redhat.com.mbox.gz" }
lkml_critique
linux-fsdevel
This is the seventh public draft of a prototype to connect the Linux fuse driver to fs-iomap for regular file IO operations to and from files whose contents persist to locally attached storage devices. With this release, I show that it's possible to build a fuse server for a real filesystem (ext4) that runs entirely i...
null
null
null
[PATCHBLIZZARD v7] fuse/libfuse/e2fsprogs: containerize ext4 for safer operation
Hi all, Here's a collection of fixes that I *think* are bugs in fuse, along with some scattered improvements. If you're going to start using this code, I strongly recommend pulling from my git trees, which are linked below. With a bit of luck, this should all go splendidly. Comments and questions are, as always, wel...
{ "author": "\"Darrick J. Wong\" <djwong@kernel.org>", "date": "Mon, 23 Feb 2026 15:00:35 -0800", "is_openbsd": false, "thread_id": "CAJfpegubENC3LxtG8MbO4OxUgD_Pd1GR9pw6Xcob_JiG+2cOFg@mail.gmail.com.mbox.gz" }
lkml_critique
linux-fsdevel
This is the seventh public draft of a prototype to connect the Linux fuse driver to fs-iomap for regular file IO operations to and from files whose contents persist to locally attached storage devices. With this release, I show that it's possible to build a fuse server for a real filesystem (ext4) that runs entirely i...
null
null
null
[PATCHBLIZZARD v7] fuse/libfuse/e2fsprogs: containerize ext4 for safer operation
Hi all, In preparation for making fuse use the fs/iomap code for regular file data IO, fix a few bugs in fuse and apply a couple of tweaks to iomap. These patches can go in immediately. If you're going to start using this code, I strongly recommend pulling from my git trees, which are linked below. With a bit of luc...
{ "author": "\"Darrick J. Wong\" <djwong@kernel.org>", "date": "Mon, 23 Feb 2026 15:00:50 -0800", "is_openbsd": false, "thread_id": "CAJfpegubENC3LxtG8MbO4OxUgD_Pd1GR9pw6Xcob_JiG+2cOFg@mail.gmail.com.mbox.gz" }
lkml_critique
linux-fsdevel
This is the seventh public draft of a prototype to connect the Linux fuse driver to fs-iomap for regular file IO operations to and from files whose contents persist to locally attached storage devices. With this release, I show that it's possible to build a fuse server for a real filesystem (ext4) that runs entirely i...
null
null
null
[PATCHBLIZZARD v7] fuse/libfuse/e2fsprogs: containerize ext4 for safer operation
Hi all, In preparation for making fuse use the fs/iomap code for regular file data IO, fix a few bugs in fuse and apply a couple of tweaks to iomap. If you're going to start using this code, I strongly recommend pulling from my git trees, which are linked below. With a bit of luck, this should all go splendidly. Com...
{ "author": "\"Darrick J. Wong\" <djwong@kernel.org>", "date": "Mon, 23 Feb 2026 15:01:06 -0800", "is_openbsd": false, "thread_id": "CAJfpegubENC3LxtG8MbO4OxUgD_Pd1GR9pw6Xcob_JiG+2cOFg@mail.gmail.com.mbox.gz" }
lkml_critique
linux-fsdevel
This is the seventh public draft of a prototype to connect the Linux fuse driver to fs-iomap for regular file IO operations to and from files whose contents persist to locally attached storage devices. With this release, I show that it's possible to build a fuse server for a real filesystem (ext4) that runs entirely i...
null
null
null
[PATCHBLIZZARD v7] fuse/libfuse/e2fsprogs: containerize ext4 for safer operation
Hi all, This series connects fuse (the userspace filesystem layer) to fs-iomap to get fuse servers out of the business of handling file I/O themselves. By keeping the IO path mostly within the kernel, we can dramatically improve the speed of disk-based filesystems. This enables us to move all the filesystem metadata ...
{ "author": "\"Darrick J. Wong\" <djwong@kernel.org>", "date": "Mon, 23 Feb 2026 15:01:22 -0800", "is_openbsd": false, "thread_id": "CAJfpegubENC3LxtG8MbO4OxUgD_Pd1GR9pw6Xcob_JiG+2cOFg@mail.gmail.com.mbox.gz" }
lkml_critique
linux-fsdevel
This is the seventh public draft of a prototype to connect the Linux fuse driver to fs-iomap for regular file IO operations to and from files whose contents persist to locally attached storage devices. With this release, I show that it's possible to build a fuse server for a real filesystem (ext4) that runs entirely i...
null
null
null
[PATCHBLIZZARD v7] fuse/libfuse/e2fsprogs: containerize ext4 for safer operation
Hi all, This series grants fuse servers full control over the entire node id address space by allowing them to specify the nodeid of the root directory. With this new feature, fuse4fs will not have to translate node ids. If you're going to start using this code, I strongly recommend pulling from my git trees, which ...
{ "author": "\"Darrick J. Wong\" <djwong@kernel.org>", "date": "Mon, 23 Feb 2026 15:01:37 -0800", "is_openbsd": false, "thread_id": "CAJfpegubENC3LxtG8MbO4OxUgD_Pd1GR9pw6Xcob_JiG+2cOFg@mail.gmail.com.mbox.gz" }
lkml_critique
linux-fsdevel
This is the seventh public draft of a prototype to connect the Linux fuse driver to fs-iomap for regular file IO operations to and from files whose contents persist to locally attached storage devices. With this release, I show that it's possible to build a fuse server for a real filesystem (ext4) that runs entirely i...
null
null
null
[PATCHBLIZZARD v7] fuse/libfuse/e2fsprogs: containerize ext4 for safer operation
Hi all, When iomap is enabled for a fuse file, we try to keep as much of the file IO path in the kernel as we possibly can. That means no calling out to the fuse server in the IO path when we can avoid it. However, the existing FUSE architecture defers all file attributes to the fuse server -- [cm]time updates, ACL ...
{ "author": "\"Darrick J. Wong\" <djwong@kernel.org>", "date": "Mon, 23 Feb 2026 15:01:53 -0800", "is_openbsd": false, "thread_id": "CAJfpegubENC3LxtG8MbO4OxUgD_Pd1GR9pw6Xcob_JiG+2cOFg@mail.gmail.com.mbox.gz" }
lkml_critique
linux-fsdevel
This is the seventh public draft of a prototype to connect the Linux fuse driver to fs-iomap for regular file IO operations to and from files whose contents persist to locally attached storage devices. With this release, I show that it's possible to build a fuse server for a real filesystem (ext4) that runs entirely i...
null
null
null
[PATCHBLIZZARD v7] fuse/libfuse/e2fsprogs: containerize ext4 for safer operation
Hi all, This series improves the performance (and correctness for some filesystems) by adding the ability to cache iomap mappings in the kernel. For filesystems that can change mapping states during pagecache writeback (e.g. unwritten extent conversion) this is absolutely necessary to deal with races with writes to t...
{ "author": "\"Darrick J. Wong\" <djwong@kernel.org>", "date": "Mon, 23 Feb 2026 15:02:09 -0800", "is_openbsd": false, "thread_id": "CAJfpegubENC3LxtG8MbO4OxUgD_Pd1GR9pw6Xcob_JiG+2cOFg@mail.gmail.com.mbox.gz" }
lkml_critique
linux-fsdevel
This is the seventh public draft of a prototype to connect the Linux fuse driver to fs-iomap for regular file IO operations to and from files whose contents persist to locally attached storage devices. With this release, I show that it's possible to build a fuse server for a real filesystem (ext4) that runs entirely i...
null
null
null
[PATCHBLIZZARD v7] fuse/libfuse/e2fsprogs: containerize ext4 for safer operation
Hi all, This patchset defines the necessary communication protocols and library code so that users can mount fuse servers that run in unprivileged systemd service containers. That in turn allows unprivileged untrusted mounts, because the worst that can happen is that a malicious image crashes the fuse server and the ...
{ "author": "\"Darrick J. Wong\" <djwong@kernel.org>", "date": "Mon, 23 Feb 2026 15:02:24 -0800", "is_openbsd": false, "thread_id": "CAJfpegubENC3LxtG8MbO4OxUgD_Pd1GR9pw6Xcob_JiG+2cOFg@mail.gmail.com.mbox.gz" }
lkml_critique
linux-fsdevel
This is the seventh public draft of a prototype to connect the Linux fuse driver to fs-iomap for regular file IO operations to and from files whose contents persist to locally attached storage devices. With this release, I show that it's possible to build a fuse server for a real filesystem (ext4) that runs entirely i...
null
null
null
[PATCHBLIZZARD v7] fuse/libfuse/e2fsprogs: containerize ext4 for safer operation
Hi all, There are certain fuse servers that might benefit from the ability to upload a BPF program into the kernel to respond to ->iomap_begin requests instead of upcalling the fuse server itself. For example, consider a fuse server that abstracts a large amount of storage for use as intermediate storage by programs....
{ "author": "\"Darrick J. Wong\" <djwong@kernel.org>", "date": "Mon, 23 Feb 2026 15:02:40 -0800", "is_openbsd": false, "thread_id": "CAJfpegubENC3LxtG8MbO4OxUgD_Pd1GR9pw6Xcob_JiG+2cOFg@mail.gmail.com.mbox.gz" }
lkml_critique
linux-fsdevel
This is the seventh public draft of a prototype to connect the Linux fuse driver to fs-iomap for regular file IO operations to and from files whose contents persist to locally attached storage devices. With this release, I show that it's possible to build a fuse server for a real filesystem (ext4) that runs entirely i...
null
null
null
[PATCHBLIZZARD v7] fuse/libfuse/e2fsprogs: containerize ext4 for safer operation
Hi all, This series connects libfuse to the iomap-enabled fuse driver in Linux to get fuse servers out of the business of handling file I/O themselves. By keeping the IO path mostly within the kernel, we can dramatically improve the speed of disk-based filesystems. This enables us to move all the filesystem metadata...
{ "author": "\"Darrick J. Wong\" <djwong@kernel.org>", "date": "Mon, 23 Feb 2026 15:02:56 -0800", "is_openbsd": false, "thread_id": "CAJfpegubENC3LxtG8MbO4OxUgD_Pd1GR9pw6Xcob_JiG+2cOFg@mail.gmail.com.mbox.gz" }
lkml_critique
linux-fsdevel
This is the seventh public draft of a prototype to connect the Linux fuse driver to fs-iomap for regular file IO operations to and from files whose contents persist to locally attached storage devices. With this release, I show that it's possible to build a fuse server for a real filesystem (ext4) that runs entirely i...
null
null
null
[PATCHBLIZZARD v7] fuse/libfuse/e2fsprogs: containerize ext4 for safer operation
Hi all, This series grants fuse servers full control over the entire node id address space by allowing them to specify the nodeid of the root directory. With this new feature, fuse4fs will not have to translate node ids. If you're going to start using this code, I strongly recommend pulling from my git trees, which ...
{ "author": "\"Darrick J. Wong\" <djwong@kernel.org>", "date": "Mon, 23 Feb 2026 15:03:11 -0800", "is_openbsd": false, "thread_id": "CAJfpegubENC3LxtG8MbO4OxUgD_Pd1GR9pw6Xcob_JiG+2cOFg@mail.gmail.com.mbox.gz" }
lkml_critique
linux-fsdevel
This is the seventh public draft of a prototype to connect the Linux fuse driver to fs-iomap for regular file IO operations to and from files whose contents persist to locally attached storage devices. With this release, I show that it's possible to build a fuse server for a real filesystem (ext4) that runs entirely i...
null
null
null
[PATCHBLIZZARD v7] fuse/libfuse/e2fsprogs: containerize ext4 for safer operation
Hi all, Implement syncfs in libfuse so that iomap-compatible fuse servers can receive syncfs commands, and enable fuse servers to transmit inode flags to the kernel so that it can enforce sync, immutable, and append. Also enable some of the timestamp update mount options. If you're going to start using this code, I s...
{ "author": "\"Darrick J. Wong\" <djwong@kernel.org>", "date": "Mon, 23 Feb 2026 15:03:27 -0800", "is_openbsd": false, "thread_id": "CAJfpegubENC3LxtG8MbO4OxUgD_Pd1GR9pw6Xcob_JiG+2cOFg@mail.gmail.com.mbox.gz" }
lkml_critique
linux-fsdevel
This is the seventh public draft of a prototype to connect the Linux fuse driver to fs-iomap for regular file IO operations to and from files whose contents persist to locally attached storage devices. With this release, I show that it's possible to build a fuse server for a real filesystem (ext4) that runs entirely i...
null
null
null
[PATCHBLIZZARD v7] fuse/libfuse/e2fsprogs: containerize ext4 for safer operation
Hi all, This series improves the performance (and correctness for some filesystems) by adding the ability to cache iomap mappings in the kernel. For filesystems that can change mapping states during pagecache writeback (e.g. unwritten extent conversion) this is absolutely necessary to deal with races with writes to t...
{ "author": "\"Darrick J. Wong\" <djwong@kernel.org>", "date": "Mon, 23 Feb 2026 15:03:43 -0800", "is_openbsd": false, "thread_id": "CAJfpegubENC3LxtG8MbO4OxUgD_Pd1GR9pw6Xcob_JiG+2cOFg@mail.gmail.com.mbox.gz" }
lkml_critique
linux-fsdevel
This is the seventh public draft of a prototype to connect the Linux fuse driver to fs-iomap for regular file IO operations to and from files whose contents persist to locally attached storage devices. With this release, I show that it's possible to build a fuse server for a real filesystem (ext4) that runs entirely i...
null
null
null
[PATCHBLIZZARD v7] fuse/libfuse/e2fsprogs: containerize ext4 for safer operation
Hi all, This patchset defines the necessary communication protocols and library code so that users can mount fuse servers that run in unprivileged systemd service containers. That in turn allows unprivileged untrusted mounts, because the worst that can happen is that a malicious image crashes the fuse server and the ...
{ "author": "\"Darrick J. Wong\" <djwong@kernel.org>", "date": "Mon, 23 Feb 2026 15:03:58 -0800", "is_openbsd": false, "thread_id": "CAJfpegubENC3LxtG8MbO4OxUgD_Pd1GR9pw6Xcob_JiG+2cOFg@mail.gmail.com.mbox.gz" }
lkml_critique
linux-fsdevel
This is the seventh public draft of a prototype to connect the Linux fuse driver to fs-iomap for regular file IO operations to and from files whose contents persist to locally attached storage devices. With this release, I show that it's possible to build a fuse server for a real filesystem (ext4) that runs entirely i...
null
null
null
[PATCHBLIZZARD v7] fuse/libfuse/e2fsprogs: containerize ext4 for safer operation
Hi all, There are certain fuse servers that might benefit from the ability to upload a BPF program into the kernel to respond to ->iomap_begin requests instead of upcalling the fuse server itself. For example, consider a fuse server that abstracts a large amount of storage for use as intermediate storage by programs....
{ "author": "\"Darrick J. Wong\" <djwong@kernel.org>", "date": "Mon, 23 Feb 2026 15:04:14 -0800", "is_openbsd": false, "thread_id": "CAJfpegubENC3LxtG8MbO4OxUgD_Pd1GR9pw6Xcob_JiG+2cOFg@mail.gmail.com.mbox.gz" }
lkml_critique
linux-fsdevel
This is the seventh public draft of a prototype to connect the Linux fuse driver to fs-iomap for regular file IO operations to and from files whose contents persist to locally attached storage devices. With this release, I show that it's possible to build a fuse server for a real filesystem (ext4) that runs entirely i...
null
null
null
[PATCHBLIZZARD v7] fuse/libfuse/e2fsprogs: containerize ext4 for safer operation
Hi all, Switch fuse2fs to use the new iomap file data IO paths instead of pushing it very slowly through the /dev/fuse connection. For local filesystems, all we have to do is respond to requests for file to device mappings; the rest of the IO hot path stays within the kernel. This means that we can get rid of all fi...
{ "author": "\"Darrick J. Wong\" <djwong@kernel.org>", "date": "Mon, 23 Feb 2026 15:04:30 -0800", "is_openbsd": false, "thread_id": "CAJfpegubENC3LxtG8MbO4OxUgD_Pd1GR9pw6Xcob_JiG+2cOFg@mail.gmail.com.mbox.gz" }
lkml_critique
linux-fsdevel
This is the seventh public draft of a prototype to connect the Linux fuse driver to fs-iomap for regular file IO operations to and from files whose contents persist to locally attached storage devices. With this release, I show that it's possible to build a fuse server for a real filesystem (ext4) that runs entirely i...
null
null
null
[PATCHBLIZZARD v7] fuse/libfuse/e2fsprogs: containerize ext4 for safer operation
Hi all, If you're going to start using this code, I strongly recommend pulling from my git trees, which are linked below. Comments and questions are, as always, welcome. e2fsprogs git tree: https://git.kernel.org/cgit/linux/kernel/git/djwong/e2fsprogs.git/log/?h=fuse2fs-root-nodeid --- Commits in this patchset: * ...
{ "author": "\"Darrick J. Wong\" <djwong@kernel.org>", "date": "Mon, 23 Feb 2026 15:04:45 -0800", "is_openbsd": false, "thread_id": "CAJfpegubENC3LxtG8MbO4OxUgD_Pd1GR9pw6Xcob_JiG+2cOFg@mail.gmail.com.mbox.gz" }
lkml_critique
linux-fsdevel
This is the seventh public draft of a prototype to connect the Linux fuse driver to fs-iomap for regular file IO operations to and from files whose contents persist to locally attached storage devices. With this release, I show that it's possible to build a fuse server for a real filesystem (ext4) that runs entirely i...
null
null
null
[PATCHBLIZZARD v7] fuse/libfuse/e2fsprogs: containerize ext4 for safer operation
Hi all, When iomap is enabled for a fuse file, we try to keep as much of the file IO path in the kernel as we possibly can. That means no calling out to the fuse server in the IO path when we can avoid it. However, the existing FUSE architecture defers all file attributes to the fuse server -- [cm]time updates, ACL ...
{ "author": "\"Darrick J. Wong\" <djwong@kernel.org>", "date": "Mon, 23 Feb 2026 15:05:01 -0800", "is_openbsd": false, "thread_id": "CAJfpegubENC3LxtG8MbO4OxUgD_Pd1GR9pw6Xcob_JiG+2cOFg@mail.gmail.com.mbox.gz" }
lkml_critique
linux-fsdevel
This is the seventh public draft of a prototype to connect the Linux fuse driver to fs-iomap for regular file IO operations to and from files whose contents persist to locally attached storage devices. With this release, I show that it's possible to build a fuse server for a real filesystem (ext4) that runs entirely i...
null
null
null
[PATCHBLIZZARD v7] fuse/libfuse/e2fsprogs: containerize ext4 for safer operation
Hi all, This series improves the performance (and correctness for some filesystems) by adding the ability to cache iomap mappings in the kernel. For filesystems that can change mapping states during pagecache writeback (e.g. unwritten extent conversion) this is absolutely necessary to deal with races with writes to t...
{ "author": "\"Darrick J. Wong\" <djwong@kernel.org>", "date": "Mon, 23 Feb 2026 15:05:16 -0800", "is_openbsd": false, "thread_id": "CAJfpegubENC3LxtG8MbO4OxUgD_Pd1GR9pw6Xcob_JiG+2cOFg@mail.gmail.com.mbox.gz" }
lkml_critique
linux-fsdevel
This is the seventh public draft of a prototype to connect the Linux fuse driver to fs-iomap for regular file IO operations to and from files whose contents persist to locally attached storage devices. With this release, I show that it's possible to build a fuse server for a real filesystem (ext4) that runs entirely i...
null
null
null
[PATCHBLIZZARD v7] fuse/libfuse/e2fsprogs: containerize ext4 for safer operation
Hi all, This series ports the libext2fs inode cache to the new cache.c hashtable code that was added for fuse4fs unlinked file support and improves on the UNIX I/O manager's block cache by adding a new I/O manager that does its own caching. Now we no longer have statically sized buffer caching for the two fuse server...
{ "author": "\"Darrick J. Wong\" <djwong@kernel.org>", "date": "Mon, 23 Feb 2026 15:05:32 -0800", "is_openbsd": false, "thread_id": "CAJfpegubENC3LxtG8MbO4OxUgD_Pd1GR9pw6Xcob_JiG+2cOFg@mail.gmail.com.mbox.gz" }
lkml_critique
linux-fsdevel
This is the seventh public draft of a prototype to connect the Linux fuse driver to fs-iomap for regular file IO operations to and from files whose contents persist to locally attached storage devices. With this release, I show that it's possible to build a fuse server for a real filesystem (ext4) that runs entirely i...
null
null
null
[PATCHBLIZZARD v7] fuse/libfuse/e2fsprogs: containerize ext4 for safer operation
Hi all, In this series of the fuse-iomap prototype, we package the newly created fuse4fs server into a systemd socket service. This service can be used by the "mount.service" helper in libfuse to implement untrusted unprivileged mounts. If you're going to start using this code, I strongly recommend pulling from my g...
{ "author": "\"Darrick J. Wong\" <djwong@kernel.org>", "date": "Mon, 23 Feb 2026 15:05:48 -0800", "is_openbsd": false, "thread_id": "CAJfpegubENC3LxtG8MbO4OxUgD_Pd1GR9pw6Xcob_JiG+2cOFg@mail.gmail.com.mbox.gz" }
lkml_critique
linux-fsdevel
This is the seventh public draft of a prototype to connect the Linux fuse driver to fs-iomap for regular file IO operations to and from files whose contents persist to locally attached storage devices. With this release, I show that it's possible to build a fuse server for a real filesystem (ext4) that runs entirely i...
null
null
null
[PATCHBLIZZARD v7] fuse/libfuse/e2fsprogs: containerize ext4 for safer operation
Hi all, Having a static buffer cache limit of 32MB is very conservative. When there's plenty of free memory, evicting metadata from the cache isn't actually a good idea, so we'd like to let it grow to handle large working sets. However, we also don't want to OOM the kernel or (in the future) the fuse4fs container cg...
{ "author": "\"Darrick J. Wong\" <djwong@kernel.org>", "date": "Mon, 23 Feb 2026 15:06:03 -0800", "is_openbsd": false, "thread_id": "CAJfpegubENC3LxtG8MbO4OxUgD_Pd1GR9pw6Xcob_JiG+2cOFg@mail.gmail.com.mbox.gz" }
lkml_critique
linux-fsdevel
This is the seventh public draft of a prototype to connect the Linux fuse driver to fs-iomap for regular file IO operations to and from files whose contents persist to locally attached storage devices. With this release, I show that it's possible to build a fuse server for a real filesystem (ext4) that runs entirely i...
null
null
null
[PATCHBLIZZARD v7] fuse/libfuse/e2fsprogs: containerize ext4 for safer operation
Hi all, There are certain fuse servers that might benefit from the ability to upload a BPF program into the kernel to respond to ->iomap_begin requests instead of upcalling the fuse server itself. For example, consider a fuse server that abstracts a large amount of storage for use as intermediate storage by programs....
{ "author": "\"Darrick J. Wong\" <djwong@kernel.org>", "date": "Mon, 23 Feb 2026 15:06:19 -0800", "is_openbsd": false, "thread_id": "CAJfpegubENC3LxtG8MbO4OxUgD_Pd1GR9pw6Xcob_JiG+2cOFg@mail.gmail.com.mbox.gz" }
lkml_critique
linux-fsdevel
This is the seventh public draft of a prototype to connect the Linux fuse driver to fs-iomap for regular file IO operations to and from files whose contents persist to locally attached storage devices. With this release, I show that it's possible to build a fuse server for a real filesystem (ext4) that runs entirely i...
null
null
null
[PATCHBLIZZARD v7] fuse/libfuse/e2fsprogs: containerize ext4 for safer operation
From: Darrick J. Wong <djwong@kernel.org> generic/488 fails with fuse2fs in the following fashion: generic/488 _check_generic_filesystem: filesystem on /dev/sdf is inconsistent (see /var/tmp/fstests/generic/488.full for details) This test opens a large number of files, unlinks them (which really just renames t...
{ "author": "\"Darrick J. Wong\" <djwong@kernel.org>", "date": "Mon, 23 Feb 2026 15:06:35 -0800", "is_openbsd": false, "thread_id": "CAJfpegubENC3LxtG8MbO4OxUgD_Pd1GR9pw6Xcob_JiG+2cOFg@mail.gmail.com.mbox.gz" }
lkml_critique
linux-fsdevel
This is the seventh public draft of a prototype to connect the Linux fuse driver to fs-iomap for regular file IO operations to and from files whose contents persist to locally attached storage devices. With this release, I show that it's possible to build a fuse server for a real filesystem (ext4) that runs entirely i...
null
null
null
[PATCHBLIZZARD v7] fuse/libfuse/e2fsprogs: containerize ext4 for safer operation
From: Darrick J. Wong <djwong@kernel.org> gcc 15 complains about an uninitialized variable val that is passed by reference into fuse_conn_limit_write: control.c: In function ‘fuse_conn_congestion_threshold_write’: include/asm-generic/rwonce.h:55:37: warning: ‘val’ may be used uninitialized [-Wmaybe-uninitialized] ...
{ "author": "\"Darrick J. Wong\" <djwong@kernel.org>", "date": "Mon, 23 Feb 2026 15:06:50 -0800", "is_openbsd": false, "thread_id": "CAJfpegubENC3LxtG8MbO4OxUgD_Pd1GR9pw6Xcob_JiG+2cOFg@mail.gmail.com.mbox.gz" }
lkml_critique
linux-fsdevel
This is the seventh public draft of a prototype to connect the Linux fuse driver to fs-iomap for regular file IO operations to and from files whose contents persist to locally attached storage devices. With this release, I show that it's possible to build a fuse server for a real filesystem (ext4) that runs entirely i...
null
null
null
[PATCHBLIZZARD v7] fuse/libfuse/e2fsprogs: containerize ext4 for safer operation
From: Darrick J. Wong <djwong@kernel.org> Actually copy the attributes/attributes_mask from userspace. Ignore file attributes bits that the VFS sets (or doesn't set) on its own. Signed-off-by: "Darrick J. Wong" <djwong@kernel.org> Reviewed-by: Joanne Koong <joannelkoong@gmail.com> --- fs/fuse/fuse_i.h | 37 ++++++...
{ "author": "\"Darrick J. Wong\" <djwong@kernel.org>", "date": "Mon, 23 Feb 2026 15:07:06 -0800", "is_openbsd": false, "thread_id": "CAJfpegubENC3LxtG8MbO4OxUgD_Pd1GR9pw6Xcob_JiG+2cOFg@mail.gmail.com.mbox.gz" }
lkml_critique
linux-fsdevel
This is the seventh public draft of a prototype to connect the Linux fuse driver to fs-iomap for regular file IO operations to and from files whose contents persist to locally attached storage devices. With this release, I show that it's possible to build a fuse server for a real filesystem (ext4) that runs entirely i...
null
null
null
[PATCHBLIZZARD v7] fuse/libfuse/e2fsprogs: containerize ext4 for safer operation
From: Darrick J. Wong <djwong@kernel.org> If someone sets ACLs on a file that can be expressed fully as Unix DAC mode bits, most local filesystems will then update the mode bits and drop the ACL xattr to reduce inefficiency in the file access paths. Let's do that too. Note that means that we can setacl and end up wit...
{ "author": "\"Darrick J. Wong\" <djwong@kernel.org>", "date": "Mon, 23 Feb 2026 15:07:22 -0800", "is_openbsd": false, "thread_id": "CAJfpegubENC3LxtG8MbO4OxUgD_Pd1GR9pw6Xcob_JiG+2cOFg@mail.gmail.com.mbox.gz" }
lkml_critique
linux-fsdevel
This is the seventh public draft of a prototype to connect the Linux fuse driver to fs-iomap for regular file IO operations to and from files whose contents persist to locally attached storage devices. With this release, I show that it's possible to build a fuse server for a real filesystem (ext4) that runs entirely i...
null
null
null
[PATCHBLIZZARD v7] fuse/libfuse/e2fsprogs: containerize ext4 for safer operation
From: Darrick J. Wong <djwong@kernel.org> For local filesystems, propagate the default and file access ACLs to new children when creating them, just like the other in-kernel local filesystems. Signed-off-by: "Darrick J. Wong" <djwong@kernel.org> --- fs/fuse/fuse_i.h | 4 ++ fs/fuse/acl.c | 62 +++++++++++++++...
{ "author": "\"Darrick J. Wong\" <djwong@kernel.org>", "date": "Mon, 23 Feb 2026 15:07:37 -0800", "is_openbsd": false, "thread_id": "CAJfpegubENC3LxtG8MbO4OxUgD_Pd1GR9pw6Xcob_JiG+2cOFg@mail.gmail.com.mbox.gz" }
lkml_critique
linux-fsdevel
This is the seventh public draft of a prototype to connect the Linux fuse driver to fs-iomap for regular file IO operations to and from files whose contents persist to locally attached storage devices. With this release, I show that it's possible to build a fuse server for a real filesystem (ext4) that runs entirely i...
null
null
null
[PATCHBLIZZARD v7] fuse/libfuse/e2fsprogs: containerize ext4 for safer operation
From: Darrick J. Wong <djwong@kernel.org> Allow callers of iomap_dio_rw to specify the _COMP_WORK flag if they require that all directio ioend completions occur in process context. The upcoming fuse-iomap patchset needs this because fuse requests (specifically FUSE_IOMAP_IOEND) cannot be sent from interrupt context. ...
{ "author": "\"Darrick J. Wong\" <djwong@kernel.org>", "date": "Mon, 23 Feb 2026 15:07:53 -0800", "is_openbsd": false, "thread_id": "CAJfpegubENC3LxtG8MbO4OxUgD_Pd1GR9pw6Xcob_JiG+2cOFg@mail.gmail.com.mbox.gz" }
lkml_critique
linux-fsdevel
This is the seventh public draft of a prototype to connect the Linux fuse driver to fs-iomap for regular file IO operations to and from files whose contents persist to locally attached storage devices. With this release, I show that it's possible to build a fuse server for a real filesystem (ext4) that runs entirely i...
null
null
null
[PATCHBLIZZARD v7] fuse/libfuse/e2fsprogs: containerize ext4 for safer operation
From: Darrick J. Wong <djwong@kernel.org> All current users of the iomap swapfile activation mechanism are block device filesystems. This means that claim_swapfile will set swap_info_struct::bdev to inode->i_sb->s_bdev of the swap file. However, a subsequent patch to fuse will add iomap infrastructure so that fuse s...
{ "author": "\"Darrick J. Wong\" <djwong@kernel.org>", "date": "Mon, 23 Feb 2026 15:08:08 -0800", "is_openbsd": false, "thread_id": "CAJfpegubENC3LxtG8MbO4OxUgD_Pd1GR9pw6Xcob_JiG+2cOFg@mail.gmail.com.mbox.gz" }
lkml_critique
linux-fsdevel
This is the seventh public draft of a prototype to connect the Linux fuse driver to fs-iomap for regular file IO operations to and from files whose contents persist to locally attached storage devices. With this release, I show that it's possible to build a fuse server for a real filesystem (ext4) that runs entirely i...
null
null
null
[PATCHBLIZZARD v7] fuse/libfuse/e2fsprogs: containerize ext4 for safer operation
From: Darrick J. Wong <djwong@kernel.org> In preparation for iomap, move the passthrough-specific validation code back to passthrough.c and create a new Kconfig item for conditional compilation of backing.c. In the next patch, iomap will share the backing structures. Signed-off-by: "Darrick J. Wong" <djwong@kernel.o...
{ "author": "\"Darrick J. Wong\" <djwong@kernel.org>", "date": "Mon, 23 Feb 2026 15:08:24 -0800", "is_openbsd": false, "thread_id": "CAJfpegubENC3LxtG8MbO4OxUgD_Pd1GR9pw6Xcob_JiG+2cOFg@mail.gmail.com.mbox.gz" }
lkml_critique
linux-fsdevel
This is the seventh public draft of a prototype to connect the Linux fuse driver to fs-iomap for regular file IO operations to and from files whose contents persist to locally attached storage devices. With this release, I show that it's possible to build a fuse server for a real filesystem (ext4) that runs entirely i...
null
null
null
[PATCHBLIZZARD v7] fuse/libfuse/e2fsprogs: containerize ext4 for safer operation
From: Darrick J. Wong <djwong@kernel.org> Add tracepoints for the previous patch. Signed-off-by: "Darrick J. Wong" <djwong@kernel.org> Reviewed-by: Joanne Koong <joannelkoong@gmail.com> --- fs/fuse/fuse_trace.h | 35 +++++++++++++++++++++++++++++++++++ fs/fuse/backing.c | 5 +++++ 2 files changed, 40 inserti...
{ "author": "\"Darrick J. Wong\" <djwong@kernel.org>", "date": "Mon, 23 Feb 2026 15:08:40 -0800", "is_openbsd": false, "thread_id": "CAJfpegubENC3LxtG8MbO4OxUgD_Pd1GR9pw6Xcob_JiG+2cOFg@mail.gmail.com.mbox.gz" }
lkml_critique
linux-fsdevel
This is the seventh public draft of a prototype to connect the Linux fuse driver to fs-iomap for regular file IO operations to and from files whose contents persist to locally attached storage devices. With this release, I show that it's possible to build a fuse server for a real filesystem (ext4) that runs entirely i...
null
null
null
[PATCHBLIZZARD v7] fuse/libfuse/e2fsprogs: containerize ext4 for safer operation
From: Darrick J. Wong <djwong@kernel.org> Implement functions to enable upcalling of iomap_begin and iomap_end to userspace fuse servers. Signed-off-by: "Darrick J. Wong" <djwong@kernel.org> --- fs/fuse/fuse_i.h | 5 - fs/fuse/fuse_iomap.h | 26 +++ fs/fuse/fuse_iomap_i.h | 28 +++ include/ua...
{ "author": "\"Darrick J. Wong\" <djwong@kernel.org>", "date": "Mon, 23 Feb 2026 15:08:55 -0800", "is_openbsd": false, "thread_id": "CAJfpegubENC3LxtG8MbO4OxUgD_Pd1GR9pw6Xcob_JiG+2cOFg@mail.gmail.com.mbox.gz" }
lkml_critique
linux-fsdevel
This is the seventh public draft of a prototype to connect the Linux fuse driver to fs-iomap for regular file IO operations to and from files whose contents persist to locally attached storage devices. With this release, I show that it's possible to build a fuse server for a real filesystem (ext4) that runs entirely i...
null
null
null
[PATCHBLIZZARD v7] fuse/libfuse/e2fsprogs: containerize ext4 for safer operation
From: Darrick J. Wong <djwong@kernel.org> Add tracepoints for the previous patch. Signed-off-by: "Darrick J. Wong" <djwong@kernel.org> --- fs/fuse/fuse_iomap_i.h | 6 + fs/fuse/fuse_trace.h | 295 ++++++++++++++++++++++++++++++++++++++++++++++++ fs/fuse/fuse_iomap.c | 15 ++ 3 files changed, 314 insertions...
{ "author": "\"Darrick J. Wong\" <djwong@kernel.org>", "date": "Mon, 23 Feb 2026 15:09:11 -0800", "is_openbsd": false, "thread_id": "CAJfpegubENC3LxtG8MbO4OxUgD_Pd1GR9pw6Xcob_JiG+2cOFg@mail.gmail.com.mbox.gz" }
lkml_critique
linux-fsdevel
This is the seventh public draft of a prototype to connect the Linux fuse driver to fs-iomap for regular file IO operations to and from files whose contents persist to locally attached storage devices. With this release, I show that it's possible to build a fuse server for a real filesystem (ext4) that runs entirely i...
null
null
null
[PATCHBLIZZARD v7] fuse/libfuse/e2fsprogs: containerize ext4 for safer operation
From: Darrick J. Wong <djwong@kernel.org> Use static keys so that we can configure debugging assertions and dmesg warnings at runtime. By default this is turned off so the cost is merely scanning a nop sled. However, fuse server developers can turn it on for their debugging systems. Signed-off-by: "Darrick J. Wong"...
{ "author": "\"Darrick J. Wong\" <djwong@kernel.org>", "date": "Mon, 23 Feb 2026 15:09:26 -0800", "is_openbsd": false, "thread_id": "CAJfpegubENC3LxtG8MbO4OxUgD_Pd1GR9pw6Xcob_JiG+2cOFg@mail.gmail.com.mbox.gz" }
lkml_critique
linux-fsdevel
This is the seventh public draft of a prototype to connect the Linux fuse driver to fs-iomap for regular file IO operations to and from files whose contents persist to locally attached storage devices. With this release, I show that it's possible to build a fuse server for a real filesystem (ext4) that runs entirely i...
null
null
null
[PATCHBLIZZARD v7] fuse/libfuse/e2fsprogs: containerize ext4 for safer operation
From: Darrick J. Wong <djwong@kernel.org> Enable the use of the backing file open/close ioctls so that fuse servers can register block devices for use with iomap. Signed-off-by: "Darrick J. Wong" <djwong@kernel.org> --- fs/fuse/fuse_i.h | 7 +++ fs/fuse/fuse_iomap.h | 2 + include/uapi/linux/fuse...
{ "author": "\"Darrick J. Wong\" <djwong@kernel.org>", "date": "Mon, 23 Feb 2026 15:09:42 -0800", "is_openbsd": false, "thread_id": "CAJfpegubENC3LxtG8MbO4OxUgD_Pd1GR9pw6Xcob_JiG+2cOFg@mail.gmail.com.mbox.gz" }
lkml_critique
linux-fsdevel
This is the seventh public draft of a prototype to connect the Linux fuse driver to fs-iomap for regular file IO operations to and from files whose contents persist to locally attached storage devices. With this release, I show that it's possible to build a fuse server for a real filesystem (ext4) that runs entirely i...
null
null
null
[PATCHBLIZZARD v7] fuse/libfuse/e2fsprogs: containerize ext4 for safer operation
From: Darrick J. Wong <djwong@kernel.org> Enhance the existing backing file tracepoints to report the subsystem that's actually using the backing file. Signed-off-by: "Darrick J. Wong" <djwong@kernel.org> --- fs/fuse/fuse_trace.h | 42 +++++++++++++++++++++++++++++++++++++++--- 1 file changed, 39 insertions(+), 3 ...
{ "author": "\"Darrick J. Wong\" <djwong@kernel.org>", "date": "Mon, 23 Feb 2026 15:09:58 -0800", "is_openbsd": false, "thread_id": "CAJfpegubENC3LxtG8MbO4OxUgD_Pd1GR9pw6Xcob_JiG+2cOFg@mail.gmail.com.mbox.gz" }
lkml_critique
linux-fsdevel
This is the seventh public draft of a prototype to connect the Linux fuse driver to fs-iomap for regular file IO operations to and from files whose contents persist to locally attached storage devices. With this release, I show that it's possible to build a fuse server for a real filesystem (ext4) that runs entirely i...
null
null
null
[PATCHBLIZZARD v7] fuse/libfuse/e2fsprogs: containerize ext4 for safer operation
From: Darrick J. Wong <djwong@kernel.org> At unmount time, there are a few things that we need to ask a fuse iomap server to do. We need to send FUSE_DESTROY to the fuse server so that it closes the filesystem and the device fds before unmount returns. That way, a script that does something like "umount /dev/sda ; e2...
{ "author": "\"Darrick J. Wong\" <djwong@kernel.org>", "date": "Mon, 23 Feb 2026 15:10:13 -0800", "is_openbsd": false, "thread_id": "CAJfpegubENC3LxtG8MbO4OxUgD_Pd1GR9pw6Xcob_JiG+2cOFg@mail.gmail.com.mbox.gz" }
lkml_critique
linux-fsdevel
This is the seventh public draft of a prototype to connect the Linux fuse driver to fs-iomap for regular file IO operations to and from files whose contents persist to locally attached storage devices. With this release, I show that it's possible to build a fuse server for a real filesystem (ext4) that runs entirely i...
null
null
null
[PATCHBLIZZARD v7] fuse/libfuse/e2fsprogs: containerize ext4 for safer operation
From: Darrick J. Wong <djwong@kernel.org> Clean up the per-filetype inode initialization in fuse_init_inode before we start adding more functionality here. Primarily this consists of refactoring to use a switch statement and passing the file attr struct around. Signed-off-by: "Darrick J. Wong" <djwong@kernel.org> --...
{ "author": "\"Darrick J. Wong\" <djwong@kernel.org>", "date": "Mon, 23 Feb 2026 15:10:29 -0800", "is_openbsd": false, "thread_id": "CAJfpegubENC3LxtG8MbO4OxUgD_Pd1GR9pw6Xcob_JiG+2cOFg@mail.gmail.com.mbox.gz" }
lkml_critique
linux-fsdevel
This is the seventh public draft of a prototype to connect the Linux fuse driver to fs-iomap for regular file IO operations to and from files whose contents persist to locally attached storage devices. With this release, I show that it's possible to build a fuse server for a real filesystem (ext4) that runs entirely i...
null
null
null
[PATCHBLIZZARD v7] fuse/libfuse/e2fsprogs: containerize ext4 for safer operation
From: Darrick J. Wong <djwong@kernel.org> Create a per-inode flag to control whether or not this inode can use exclusive mode. This enables more aggressive use of cached file attributes for things such as ACL inheritance and transformations. The initial user will be iomap filesystems, where we hoist the IO path into...
{ "author": "\"Darrick J. Wong\" <djwong@kernel.org>", "date": "Mon, 23 Feb 2026 15:10:45 -0800", "is_openbsd": false, "thread_id": "CAJfpegubENC3LxtG8MbO4OxUgD_Pd1GR9pw6Xcob_JiG+2cOFg@mail.gmail.com.mbox.gz" }
lkml_critique
linux-fsdevel
This is the seventh public draft of a prototype to connect the Linux fuse driver to fs-iomap for regular file IO operations to and from files whose contents persist to locally attached storage devices. With this release, I show that it's possible to build a fuse server for a real filesystem (ext4) that runs entirely i...
null
null
null
[PATCHBLIZZARD v7] fuse/libfuse/e2fsprogs: containerize ext4 for safer operation
From: Darrick J. Wong <djwong@kernel.org> Create a per-inode flag to control whether or not this inode actually uses iomap. This is required for non-regular files because iomap doesn't apply there; and enables fuse filesystems to provide some non-iomap files if desired. Note that more code will be added to fuse_ioma...
{ "author": "\"Darrick J. Wong\" <djwong@kernel.org>", "date": "Mon, 23 Feb 2026 15:11:00 -0800", "is_openbsd": false, "thread_id": "CAJfpegubENC3LxtG8MbO4OxUgD_Pd1GR9pw6Xcob_JiG+2cOFg@mail.gmail.com.mbox.gz" }
lkml_critique
linux-fsdevel
This is the seventh public draft of a prototype to connect the Linux fuse driver to fs-iomap for regular file IO operations to and from files whose contents persist to locally attached storage devices. With this release, I show that it's possible to build a fuse server for a real filesystem (ext4) that runs entirely i...
null
null
null
[PATCHBLIZZARD v7] fuse/libfuse/e2fsprogs: containerize ext4 for safer operation
From: Darrick J. Wong <djwong@kernel.org> Add tracepoints for the previous patch. Signed-off-by: "Darrick J. Wong" <djwong@kernel.org> --- fs/fuse/fuse_trace.h | 44 ++++++++++++++++++++++++++++++++++++++++++++ fs/fuse/fuse_iomap.c | 8 +++++++- 2 files changed, 51 insertions(+), 1 deletion(-) diff --git a/fs...
{ "author": "\"Darrick J. Wong\" <djwong@kernel.org>", "date": "Mon, 23 Feb 2026 15:11:16 -0800", "is_openbsd": false, "thread_id": "CAJfpegubENC3LxtG8MbO4OxUgD_Pd1GR9pw6Xcob_JiG+2cOFg@mail.gmail.com.mbox.gz" }
lkml_critique
linux-fsdevel
This is the seventh public draft of a prototype to connect the Linux fuse driver to fs-iomap for regular file IO operations to and from files whose contents persist to locally attached storage devices. With this release, I show that it's possible to build a fuse server for a real filesystem (ext4) that runs entirely i...
null
null
null
[PATCHBLIZZARD v7] fuse/libfuse/e2fsprogs: containerize ext4 for safer operation
From: Darrick J. Wong <djwong@kernel.org> iomap completely takes over all regular file IO, so we don't need to access any of the other mechanisms at all. Gate them off so that we can eventually overlay them with a union to save space in struct fuse_inode. Signed-off-by: "Darrick J. Wong" <djwong@kernel.org> --- fs/...
{ "author": "\"Darrick J. Wong\" <djwong@kernel.org>", "date": "Mon, 23 Feb 2026 15:11:31 -0800", "is_openbsd": false, "thread_id": "CAJfpegubENC3LxtG8MbO4OxUgD_Pd1GR9pw6Xcob_JiG+2cOFg@mail.gmail.com.mbox.gz" }
lkml_critique
linux-fsdevel
This is the seventh public draft of a prototype to connect the Linux fuse driver to fs-iomap for regular file IO operations to and from files whose contents persist to locally attached storage devices. With this release, I show that it's possible to build a fuse server for a real filesystem (ext4) that runs entirely i...
null
null
null
[PATCHBLIZZARD v7] fuse/libfuse/e2fsprogs: containerize ext4 for safer operation
From: Darrick J. Wong <djwong@kernel.org> Implement the basic file mapping reporting functions like FIEMAP, BMAP, and SEEK_DATA/HOLE. Signed-off-by: "Darrick J. Wong" <djwong@kernel.org> --- fs/fuse/fuse_iomap.h | 8 ++++++ fs/fuse/dir.c | 1 + fs/fuse/file.c | 13 ++++++++++ fs/fuse/fuse_iomap....
{ "author": "\"Darrick J. Wong\" <djwong@kernel.org>", "date": "Mon, 23 Feb 2026 15:11:47 -0800", "is_openbsd": false, "thread_id": "CAJfpegubENC3LxtG8MbO4OxUgD_Pd1GR9pw6Xcob_JiG+2cOFg@mail.gmail.com.mbox.gz" }
lkml_critique
linux-fsdevel
This is the seventh public draft of a prototype to connect the Linux fuse driver to fs-iomap for regular file IO operations to and from files whose contents persist to locally attached storage devices. With this release, I show that it's possible to build a fuse server for a real filesystem (ext4) that runs entirely i...
null
null
null
[PATCHBLIZZARD v7] fuse/libfuse/e2fsprogs: containerize ext4 for safer operation
From: Darrick J. Wong <djwong@kernel.org> Add tracepoints for the previous patch. Signed-off-by: "Darrick J. Wong" <djwong@kernel.org> --- fs/fuse/fuse_trace.h | 46 ++++++++++++++++++++++++++++++++++++++++++++++ fs/fuse/fuse_iomap.c | 4 ++++ 2 files changed, 50 insertions(+) diff --git a/fs/fuse/fuse_trace....
{ "author": "\"Darrick J. Wong\" <djwong@kernel.org>", "date": "Mon, 23 Feb 2026 15:12:03 -0800", "is_openbsd": false, "thread_id": "CAJfpegubENC3LxtG8MbO4OxUgD_Pd1GR9pw6Xcob_JiG+2cOFg@mail.gmail.com.mbox.gz" }
lkml_critique
linux-fsdevel
This is the seventh public draft of a prototype to connect the Linux fuse driver to fs-iomap for regular file IO operations to and from files whose contents persist to locally attached storage devices. With this release, I show that it's possible to build a fuse server for a real filesystem (ext4) that runs entirely i...
null
null
null
[PATCHBLIZZARD v7] fuse/libfuse/e2fsprogs: containerize ext4 for safer operation
From: Darrick J. Wong <djwong@kernel.org> Start implementing the fuse-iomap file I/O paths by adding direct I/O support and all the signalling flags that come with it. Buffered I/O is much more complicated, so we leave that to a subsequent patch. Signed-off-by: "Darrick J. Wong" <djwong@kernel.org> --- fs/fuse/fuse...
{ "author": "\"Darrick J. Wong\" <djwong@kernel.org>", "date": "Mon, 23 Feb 2026 15:12:18 -0800", "is_openbsd": false, "thread_id": "CAJfpegubENC3LxtG8MbO4OxUgD_Pd1GR9pw6Xcob_JiG+2cOFg@mail.gmail.com.mbox.gz" }
lkml_critique
linux-fsdevel
This is the seventh public draft of a prototype to connect the Linux fuse driver to fs-iomap for regular file IO operations to and from files whose contents persist to locally attached storage devices. With this release, I show that it's possible to build a fuse server for a real filesystem (ext4) that runs entirely i...
null
null
null
[PATCHBLIZZARD v7] fuse/libfuse/e2fsprogs: containerize ext4 for safer operation
From: Darrick J. Wong <djwong@kernel.org> Add tracepoints for the previous patch. Signed-off-by: "Darrick J. Wong" <djwong@kernel.org> --- fs/fuse/fuse_iomap.h | 5 + fs/fuse/fuse_trace.h | 212 +++++++++++++++++++++++++++++++++++++++++++++++++- fs/fuse/fuse_iomap.c | 18 ++++ fs/fuse/trace.c | 2 4 f...
{ "author": "\"Darrick J. Wong\" <djwong@kernel.org>", "date": "Mon, 23 Feb 2026 15:12:34 -0800", "is_openbsd": false, "thread_id": "CAJfpegubENC3LxtG8MbO4OxUgD_Pd1GR9pw6Xcob_JiG+2cOFg@mail.gmail.com.mbox.gz" }
lkml_critique
linux-fsdevel
This is the seventh public draft of a prototype to connect the Linux fuse driver to fs-iomap for regular file IO operations to and from files whose contents persist to locally attached storage devices. With this release, I show that it's possible to build a fuse server for a real filesystem (ext4) that runs entirely i...
null
null
null
[PATCHBLIZZARD v7] fuse/libfuse/e2fsprogs: containerize ext4 for safer operation
From: Darrick J. Wong <djwong@kernel.org> Implement pagecache IO with iomap, complete with hooks into truncate and fallocate so that the fuse server needn't implement disk block zeroing of post-EOF and unaligned punch/zero regions. Signed-off-by: "Darrick J. Wong" <djwong@kernel.org> --- fs/fuse/fuse_i.h | ...
{ "author": "\"Darrick J. Wong\" <djwong@kernel.org>", "date": "Mon, 23 Feb 2026 15:12:51 -0800", "is_openbsd": false, "thread_id": "CAJfpegubENC3LxtG8MbO4OxUgD_Pd1GR9pw6Xcob_JiG+2cOFg@mail.gmail.com.mbox.gz" }
lkml_critique
linux-fsdevel
This is the seventh public draft of a prototype to connect the Linux fuse driver to fs-iomap for regular file IO operations to and from files whose contents persist to locally attached storage devices. With this release, I show that it's possible to build a fuse server for a real filesystem (ext4) that runs entirely i...
null
null
null
[PATCHBLIZZARD v7] fuse/libfuse/e2fsprogs: containerize ext4 for safer operation
From: Darrick J. Wong <djwong@kernel.org> Add tracepoints for the previous patch. Signed-off-by: "Darrick J. Wong" <djwong@kernel.org> --- fs/fuse/fuse_trace.h | 227 ++++++++++++++++++++++++++++++++++++++++++++++++++ fs/fuse/dev.c | 10 ++ fs/fuse/fuse_iomap.c | 40 ++++++++- 3 files changed, 273 insert...
{ "author": "\"Darrick J. Wong\" <djwong@kernel.org>", "date": "Mon, 23 Feb 2026 15:13:07 -0800", "is_openbsd": false, "thread_id": "CAJfpegubENC3LxtG8MbO4OxUgD_Pd1GR9pw6Xcob_JiG+2cOFg@mail.gmail.com.mbox.gz" }
lkml_critique
linux-fsdevel
This is the seventh public draft of a prototype to connect the Linux fuse driver to fs-iomap for regular file IO operations to and from files whose contents persist to locally attached storage devices. With this release, I show that it's possible to build a fuse server for a real filesystem (ext4) that runs entirely i...
null
null
null
[PATCHBLIZZARD v7] fuse/libfuse/e2fsprogs: containerize ext4 for safer operation
From: Darrick J. Wong <djwong@kernel.org> With iomap support turned on for the pagecache, the kernel issues writeback to directly to block devices and we no longer have to push all those pages through the fuse device to userspace. Therefore, we don't need the tight dirty limits (~1M) that are used for regular fuse. ...
{ "author": "\"Darrick J. Wong\" <djwong@kernel.org>", "date": "Mon, 23 Feb 2026 15:13:22 -0800", "is_openbsd": false, "thread_id": "CAJfpegubENC3LxtG8MbO4OxUgD_Pd1GR9pw6Xcob_JiG+2cOFg@mail.gmail.com.mbox.gz" }
lkml_critique
linux-fsdevel
This is the seventh public draft of a prototype to connect the Linux fuse driver to fs-iomap for regular file IO operations to and from files whose contents persist to locally attached storage devices. With this release, I show that it's possible to build a fuse server for a real filesystem (ext4) that runs entirely i...
null
null
null
[PATCHBLIZZARD v7] fuse/libfuse/e2fsprogs: containerize ext4 for safer operation
From: Darrick J. Wong <djwong@kernel.org> Use large folios when we're using iomap. Signed-off-by: "Darrick J. Wong" <djwong@kernel.org> Reviewed-by: Joanne Koong <joannelkoong@gmail.com> --- fs/fuse/fuse_iomap.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/fs/fuse/fuse_iomap.c b/fs/fuse/fuse_iomap.c...
{ "author": "\"Darrick J. Wong\" <djwong@kernel.org>", "date": "Mon, 23 Feb 2026 15:13:38 -0800", "is_openbsd": false, "thread_id": "CAJfpegubENC3LxtG8MbO4OxUgD_Pd1GR9pw6Xcob_JiG+2cOFg@mail.gmail.com.mbox.gz" }
lkml_critique
linux-fsdevel
This is the seventh public draft of a prototype to connect the Linux fuse driver to fs-iomap for regular file IO operations to and from files whose contents persist to locally attached storage devices. With this release, I show that it's possible to build a fuse server for a real filesystem (ext4) that runs entirely i...
null
null
null
[PATCHBLIZZARD v7] fuse/libfuse/e2fsprogs: containerize ext4 for safer operation
From: Darrick J. Wong <djwong@kernel.org> Advertise our new IO paths programmatically by creating an ioctl that can return the capabilities of the kernel. Signed-off-by: "Darrick J. Wong" <djwong@kernel.org> --- fs/fuse/fuse_iomap.h | 4 ++++ include/uapi/linux/fuse.h | 9 +++++++++ fs/fuse/dev.c ...
{ "author": "\"Darrick J. Wong\" <djwong@kernel.org>", "date": "Mon, 23 Feb 2026 15:13:54 -0800", "is_openbsd": false, "thread_id": "CAJfpegubENC3LxtG8MbO4OxUgD_Pd1GR9pw6Xcob_JiG+2cOFg@mail.gmail.com.mbox.gz" }
lkml_critique
linux-fsdevel
This is the seventh public draft of a prototype to connect the Linux fuse driver to fs-iomap for regular file IO operations to and from files whose contents persist to locally attached storage devices. With this release, I show that it's possible to build a fuse server for a real filesystem (ext4) that runs entirely i...
null
null
null
[PATCHBLIZZARD v7] fuse/libfuse/e2fsprogs: containerize ext4 for safer operation
From: Darrick J. Wong <djwong@kernel.org> Add a new upcall to the fuse server so that the kernel can request filesystem geometry bits when iomap mode is in use. Signed-off-by: "Darrick J. Wong" <djwong@kernel.org> --- fs/fuse/fuse_i.h | 4 + fs/fuse/fuse_iomap.h | 6 +- include/uapi/linux/fuse.h ...
{ "author": "\"Darrick J. Wong\" <djwong@kernel.org>", "date": "Mon, 23 Feb 2026 15:14:09 -0800", "is_openbsd": false, "thread_id": "CAJfpegubENC3LxtG8MbO4OxUgD_Pd1GR9pw6Xcob_JiG+2cOFg@mail.gmail.com.mbox.gz" }
lkml_critique
linux-fsdevel
This is the seventh public draft of a prototype to connect the Linux fuse driver to fs-iomap for regular file IO operations to and from files whose contents persist to locally attached storage devices. With this release, I show that it's possible to build a fuse server for a real filesystem (ext4) that runs entirely i...
null
null
null
[PATCHBLIZZARD v7] fuse/libfuse/e2fsprogs: containerize ext4 for safer operation
From: Darrick J. Wong <djwong@kernel.org> Add tracepoints for the previous patch. Signed-off-by: "Darrick J. Wong" <djwong@kernel.org> --- fs/fuse/fuse_trace.h | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ fs/fuse/fuse_iomap.c | 2 ++ 2 files changed, 50 insertions(+) diff --git a/fs/fuse/fuse_trace....
{ "author": "\"Darrick J. Wong\" <djwong@kernel.org>", "date": "Mon, 23 Feb 2026 15:14:25 -0800", "is_openbsd": false, "thread_id": "CAJfpegubENC3LxtG8MbO4OxUgD_Pd1GR9pw6Xcob_JiG+2cOFg@mail.gmail.com.mbox.gz" }
lkml_critique
linux-fsdevel
This is the seventh public draft of a prototype to connect the Linux fuse driver to fs-iomap for regular file IO operations to and from files whose contents persist to locally attached storage devices. With this release, I show that it's possible to build a fuse server for a real filesystem (ext4) that runs entirely i...
null
null
null
[PATCHBLIZZARD v7] fuse/libfuse/e2fsprogs: containerize ext4 for safer operation
From: Darrick J. Wong <djwong@kernel.org> If userspace asks us to perform readahead on a file, take i_rwsem so that it can't race with hole punching or writes. Signed-off-by: "Darrick J. Wong" <djwong@kernel.org> --- fs/fuse/fuse_iomap.h | 3 +++ fs/fuse/file.c | 1 + fs/fuse/fuse_iomap.c | 20 ++++++++...
{ "author": "\"Darrick J. Wong\" <djwong@kernel.org>", "date": "Mon, 23 Feb 2026 15:14:40 -0800", "is_openbsd": false, "thread_id": "CAJfpegubENC3LxtG8MbO4OxUgD_Pd1GR9pw6Xcob_JiG+2cOFg@mail.gmail.com.mbox.gz" }
lkml_critique
linux-fsdevel
This is the seventh public draft of a prototype to connect the Linux fuse driver to fs-iomap for regular file IO operations to and from files whose contents persist to locally attached storage devices. With this release, I show that it's possible to build a fuse server for a real filesystem (ext4) that runs entirely i...
null
null
null
[PATCHBLIZZARD v7] fuse/libfuse/e2fsprogs: containerize ext4 for safer operation
From: Darrick J. Wong <djwong@kernel.org> Make it easier to invalidate the page cache for a block device that is being used in conjunction with iomap. This allows a fuse server to kill all cached data for a block that is being freed, so that block reuse doesn't result in file corruption. Right now, the only way to d...
{ "author": "\"Darrick J. Wong\" <djwong@kernel.org>", "date": "Mon, 23 Feb 2026 15:14:56 -0800", "is_openbsd": false, "thread_id": "CAJfpegubENC3LxtG8MbO4OxUgD_Pd1GR9pw6Xcob_JiG+2cOFg@mail.gmail.com.mbox.gz" }
lkml_critique
linux-fsdevel
This is the seventh public draft of a prototype to connect the Linux fuse driver to fs-iomap for regular file IO operations to and from files whose contents persist to locally attached storage devices. With this release, I show that it's possible to build a fuse server for a real filesystem (ext4) that runs entirely i...
null
null
null
[PATCHBLIZZARD v7] fuse/libfuse/e2fsprogs: containerize ext4 for safer operation
From: Darrick J. Wong <djwong@kernel.org> Add tracepoints for the previous patch. Signed-off-by: "Darrick J. Wong" <djwong@kernel.org> --- fs/fuse/fuse_trace.h | 26 ++++++++++++++++++++++++++ fs/fuse/fuse_iomap.c | 2 ++ 2 files changed, 28 insertions(+) diff --git a/fs/fuse/fuse_trace.h b/fs/fuse/fuse_trace...
{ "author": "\"Darrick J. Wong\" <djwong@kernel.org>", "date": "Mon, 23 Feb 2026 15:15:12 -0800", "is_openbsd": false, "thread_id": "CAJfpegubENC3LxtG8MbO4OxUgD_Pd1GR9pw6Xcob_JiG+2cOFg@mail.gmail.com.mbox.gz" }
lkml_critique
linux-fsdevel
This is the seventh public draft of a prototype to connect the Linux fuse driver to fs-iomap for regular file IO operations to and from files whose contents persist to locally attached storage devices. With this release, I show that it's possible to build a fuse server for a real filesystem (ext4) that runs entirely i...
null
null
null
[PATCHBLIZZARD v7] fuse/libfuse/e2fsprogs: containerize ext4 for safer operation
From: Darrick J. Wong <djwong@kernel.org> Implement inline data file IO by issuing FUSE_READ/FUSE_WRITE commands in response to an inline data mapping. Signed-off-by: "Darrick J. Wong" <djwong@kernel.org> --- fs/fuse/fuse_iomap.c | 205 ++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 197 insertio...
{ "author": "\"Darrick J. Wong\" <djwong@kernel.org>", "date": "Mon, 23 Feb 2026 15:15:27 -0800", "is_openbsd": false, "thread_id": "CAJfpegubENC3LxtG8MbO4OxUgD_Pd1GR9pw6Xcob_JiG+2cOFg@mail.gmail.com.mbox.gz" }
lkml_critique
linux-fsdevel
This is the seventh public draft of a prototype to connect the Linux fuse driver to fs-iomap for regular file IO operations to and from files whose contents persist to locally attached storage devices. With this release, I show that it's possible to build a fuse server for a real filesystem (ext4) that runs entirely i...
null
null
null
[PATCHBLIZZARD v7] fuse/libfuse/e2fsprogs: containerize ext4 for safer operation
From: Darrick J. Wong <djwong@kernel.org> Add tracepoints for the previous patch. Signed-off-by: "Darrick J. Wong" <djwong@kernel.org> --- fs/fuse/fuse_trace.h | 45 +++++++++++++++++++++++++++++++++++++++++++++ fs/fuse/fuse_iomap.c | 7 +++++++ 2 files changed, 52 insertions(+) diff --git a/fs/fuse/fuse_trac...
{ "author": "\"Darrick J. Wong\" <djwong@kernel.org>", "date": "Mon, 23 Feb 2026 15:15:43 -0800", "is_openbsd": false, "thread_id": "CAJfpegubENC3LxtG8MbO4OxUgD_Pd1GR9pw6Xcob_JiG+2cOFg@mail.gmail.com.mbox.gz" }
lkml_critique
linux-fsdevel
This is the seventh public draft of a prototype to connect the Linux fuse driver to fs-iomap for regular file IO operations to and from files whose contents persist to locally attached storage devices. With this release, I show that it's possible to build a fuse server for a real filesystem (ext4) that runs entirely i...
null
null
null
[PATCHBLIZZARD v7] fuse/libfuse/e2fsprogs: containerize ext4 for safer operation
From: Darrick J. Wong <djwong@kernel.org> Allow the fuse server to supply us with the more recently added fields of struct statx. Signed-off-by: "Darrick J. Wong" <djwong@kernel.org> --- include/uapi/linux/fuse.h | 15 ++++++++- fs/fuse/dir.c | 76 ++++++++++++++++++++++++++++++++++++++------- 2 file...
{ "author": "\"Darrick J. Wong\" <djwong@kernel.org>", "date": "Mon, 23 Feb 2026 15:15:59 -0800", "is_openbsd": false, "thread_id": "CAJfpegubENC3LxtG8MbO4OxUgD_Pd1GR9pw6Xcob_JiG+2cOFg@mail.gmail.com.mbox.gz" }
lkml_critique
linux-fsdevel
This is the seventh public draft of a prototype to connect the Linux fuse driver to fs-iomap for regular file IO operations to and from files whose contents persist to locally attached storage devices. With this release, I show that it's possible to build a fuse server for a real filesystem (ext4) that runs entirely i...
null
null
null
[PATCHBLIZZARD v7] fuse/libfuse/e2fsprogs: containerize ext4 for safer operation
From: Darrick J. Wong <djwong@kernel.org> Enable untorn writes of up to a single fsblock, if iomap is enabled. Signed-off-by: "Darrick J. Wong" <djwong@kernel.org> --- fs/fuse/fuse_i.h | 2 ++ fs/fuse/fuse_iomap.h | 7 +++++++ include/uapi/linux/fuse.h | 5 +++++ fs/fuse/fuse_iomap.c | ...
{ "author": "\"Darrick J. Wong\" <djwong@kernel.org>", "date": "Mon, 23 Feb 2026 15:16:14 -0800", "is_openbsd": false, "thread_id": "CAJfpegubENC3LxtG8MbO4OxUgD_Pd1GR9pw6Xcob_JiG+2cOFg@mail.gmail.com.mbox.gz" }
lkml_critique
linux-fsdevel
This is the seventh public draft of a prototype to connect the Linux fuse driver to fs-iomap for regular file IO operations to and from files whose contents persist to locally attached storage devices. With this release, I show that it's possible to build a fuse server for a real filesystem (ext4) that runs entirely i...
null
null
null
[PATCHBLIZZARD v7] fuse/libfuse/e2fsprogs: containerize ext4 for safer operation
From: Darrick J. Wong <djwong@kernel.org> Add tracepoints for the previous patch. Signed-off-by: "Darrick J. Wong" <djwong@kernel.org> --- fs/fuse/fuse_trace.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fs/fuse/fuse_trace.h b/fs/fuse/fuse_trace.h index d3352e75fa6bdf..de7d483d4b0f34 1...
{ "author": "\"Darrick J. Wong\" <djwong@kernel.org>", "date": "Mon, 23 Feb 2026 15:16:30 -0800", "is_openbsd": false, "thread_id": "CAJfpegubENC3LxtG8MbO4OxUgD_Pd1GR9pw6Xcob_JiG+2cOFg@mail.gmail.com.mbox.gz" }
lkml_critique
linux-fsdevel
This is the seventh public draft of a prototype to connect the Linux fuse driver to fs-iomap for regular file IO operations to and from files whose contents persist to locally attached storage devices. With this release, I show that it's possible to build a fuse server for a real filesystem (ext4) that runs entirely i...
null
null
null
[PATCHBLIZZARD v7] fuse/libfuse/e2fsprogs: containerize ext4 for safer operation
From: Darrick J. Wong <djwong@kernel.org> Any fuse server that uses iomap can create a substantial amount of dirty pages in the pagecache because we don't write dirty stuff until reclaim or fsync. Therefore, memory reclaim on any fuse iomap server musn't ever recurse back into the same filesystem. We must also never...
{ "author": "\"Darrick J. Wong\" <djwong@kernel.org>", "date": "Mon, 23 Feb 2026 15:16:46 -0800", "is_openbsd": false, "thread_id": "CAJfpegubENC3LxtG8MbO4OxUgD_Pd1GR9pw6Xcob_JiG+2cOFg@mail.gmail.com.mbox.gz" }
lkml_critique
linux-fsdevel
This is the seventh public draft of a prototype to connect the Linux fuse driver to fs-iomap for regular file IO operations to and from files whose contents persist to locally attached storage devices. With this release, I show that it's possible to build a fuse server for a real filesystem (ext4) that runs entirely i...
null
null
null
[PATCHBLIZZARD v7] fuse/libfuse/e2fsprogs: containerize ext4 for safer operation
From: Darrick J. Wong <djwong@kernel.org> It turns out that fuse supports swapfile activation, so let's enable that. Signed-off-by: "Darrick J. Wong" <djwong@kernel.org> --- fs/fuse/fuse_trace.h | 1 + include/uapi/linux/fuse.h | 5 ++++ fs/fuse/fuse_iomap.c | 54 +++++++++++++++++++++++++++++++++++...
{ "author": "\"Darrick J. Wong\" <djwong@kernel.org>", "date": "Mon, 23 Feb 2026 15:17:01 -0800", "is_openbsd": false, "thread_id": "CAJfpegubENC3LxtG8MbO4OxUgD_Pd1GR9pw6Xcob_JiG+2cOFg@mail.gmail.com.mbox.gz" }
lkml_critique
linux-fsdevel
This is the seventh public draft of a prototype to connect the Linux fuse driver to fs-iomap for regular file IO operations to and from files whose contents persist to locally attached storage devices. With this release, I show that it's possible to build a fuse server for a real filesystem (ext4) that runs entirely i...
null
null
null
[PATCHBLIZZARD v7] fuse/libfuse/e2fsprogs: containerize ext4 for safer operation
From: Darrick J. Wong <djwong@kernel.org> Implement filesystem freezing and block device shutdown notifications for iomap-based servers Signed-off-by: "Darrick J. Wong" <djwong@kernel.org> --- include/uapi/linux/fuse.h | 12 +++++++ fs/fuse/inode.c | 73 +++++++++++++++++++++++++++++++++++++++++++++ 2 ...
{ "author": "\"Darrick J. Wong\" <djwong@kernel.org>", "date": "Mon, 23 Feb 2026 15:17:17 -0800", "is_openbsd": false, "thread_id": "CAJfpegubENC3LxtG8MbO4OxUgD_Pd1GR9pw6Xcob_JiG+2cOFg@mail.gmail.com.mbox.gz" }
lkml_critique
linux-fsdevel
This is the seventh public draft of a prototype to connect the Linux fuse driver to fs-iomap for regular file IO operations to and from files whose contents persist to locally attached storage devices. With this release, I show that it's possible to build a fuse server for a real filesystem (ext4) that runs entirely i...
null
null
null
[PATCHBLIZZARD v7] fuse/libfuse/e2fsprogs: containerize ext4 for safer operation
From: Darrick J. Wong <djwong@kernel.org> Change this from a hardcoded constant to a dynamic field so that fuse servers don't need to translate. Signed-off-by: "Darrick J. Wong" <djwong@kernel.org> --- fs/fuse/fuse_i.h | 7 +++++-- fs/fuse/dir.c | 10 ++++++---- fs/fuse/inode.c | 11 +++++++---- fs/fus...
{ "author": "\"Darrick J. Wong\" <djwong@kernel.org>", "date": "Mon, 23 Feb 2026 15:17:33 -0800", "is_openbsd": false, "thread_id": "CAJfpegubENC3LxtG8MbO4OxUgD_Pd1GR9pw6Xcob_JiG+2cOFg@mail.gmail.com.mbox.gz" }