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 | 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 iomap config tracepoint to report the node id of the root
directory.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
fs/fuse/fuse_trace.h | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/fs/fuse/fuse_trace.h b/fs/fuse/fuse_tr... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:17: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 | From: Darrick J. Wong <djwong@kernel.org>
Provide a new mount option so that fuse servers can actually set the
root nodeid.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
fs/fuse/fuse_i.h | 2 ++
fs/fuse/inode.c | 11 +++++++++++
2 files changed, 13 insertions(+)
diff --git a/fs/fuse/fuse_i.h b/fs/... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:18:04 -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>
Cache the timestamps in the kernel so that the kernel sends FUSE_SETATTR
calls to the fuse server after writes, because the iomap infrastructure
won't do that for us.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
fs/fuse/dir.c | 5 ++++-
fs/fuse/file.c ... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:18: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>
In iomap mode, the kernel is in charge of driving ctime updates to
the fuse server and ignores updates coming from the fuse server.
Therefore, when someone calls fileattr_set to change file attributes, we
must force a ctime update.
Found by generic/277.
Signed-off-by: "Darri... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:18: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>
There are three inode flags (immutable, append, sync) that are enforced
by the VFS. Whenever we go around setting iflags, let's update the VFS
state so that they actually work. Make it so that the fuse server can
set these three inode flags at load time and have the kernel a... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:18: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 | 29 +++++++++++++++++++++++++++++
fs/fuse/ioctl.c | 7 +++++++
2 files changed, 36 insertions(+)
diff --git a/fs/fuse/fuse_trace.h b/fs/fuse/fu... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:19: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>
When we're running in iomap mode, allow the kernel to cache the access
timestamp to further reduce the number of roundtrips to the fuse server.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
fs/fuse/dir.c | 5 +++++
fs/fuse/fuse_iomap.c | 6 ++++++
fs/... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:19: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>
Let the kernel handle killing the suid/sgid bits because the
write/falloc/truncate/chown code already does this, and we don't have to
worry about external modifications that are only visible to the fuse
server (i.e. we're not a cluster fs).
Signed-off-by: "Darrick J. Wong" <d... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:19: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>
Add tracepoints for the previous patch.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
fs/fuse/fuse_trace.h | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++
fs/fuse/dir.c | 5 ++++
2 files changed, 63 insertions(+)
diff --git a/fs/fuse/fuse_tr... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:19: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>
In iomap mode, the fuse kernel driver is in charge of updating file
attributes, so we need to update ctime after an ACL change.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
fs/fuse/acl.c | 18 +++++++++++++++++-
1 file changed, 17 insertions(+), 1 deletion(-)
... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:20: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>
Keep ACLs cached in memory when we're using iomap, so that we don't have
to make a round trip to the fuse server. This might want to become a
FUSE_ATTR_ flag.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
fs/fuse/acl.c | 12 +++++++++---
fs/fuse/dir.c |... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:20: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>
Cache iomaps to a file so that we don't have to upcall the server.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
fs/fuse/fuse_i.h | 3
fs/fuse/fuse_iomap_cache.h | 99 +++
include/uapi/linux/fuse.h | 5
fs/fuse/Makefile | 2
fs/f... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:20: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>
Add tracepoints for the previous patch.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
fs/fuse/fuse_trace.h | 293 ++++++++++++++++++++++++++++++++++++++++++++
fs/fuse/fuse_iomap_cache.c | 36 +++++
2 files changed, 329 insertions(+)
diff --git a/fs/fuse... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:20: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>
Look inside the iomap cache to try to satisfy iomap_begin.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
fs/fuse/fuse_iomap_cache.h | 5 +
fs/fuse/fuse_iomap.c | 221 +++++++++++++++++++++++++++++++++++++++++++-
fs/fuse/fuse_iomap_cache.c | 7 +
3 fil... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:21: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>
Add tracepoints for the previous patch.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
fs/fuse/fuse_trace.h | 34 ++++++++++++++++++++++++++++++++++
fs/fuse/fuse_iomap.c | 7 ++++++-
2 files changed, 40 insertions(+), 1 deletion(-)
diff --git a/fs/fuse/fuse_... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:21: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>
The kernel doesn't know what the fuse server might have done in response
to truncate, fallocate, or ioend events. Therefore, it must invalidate
the mapping cache after those operations to ensure cache coherency.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
fs/fu... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:21: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>
Add tracepoints for the previous patch.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
fs/fuse/fuse_trace.h | 20 ++++++++++++++++++++
fs/fuse/fuse_iomap.c | 2 ++
fs/fuse/fuse_iomap_cache.c | 2 ++
3 files changed, 24 insertions(+)
diff --git... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:21: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>
Provide a means for the fuse server to upload iomappings to the kernel
and invalidate them. This is how we enable iomap caching for better
performance. This is also required for correct synchronization between
pagecache writes and writeback.
Signed-off-by: "Darrick J. Wong"... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:22: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 | 67 ++++++++++++++++++++++++++++++++++++++++++++++++++
fs/fuse/fuse_iomap.c | 4 +++
2 files changed, 71 insertions(+)
diff --git a/fs/fuse/fuse_tra... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:22: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>
It's not possible for a regular file to use iomap mode and writeback
caching at the same time, so we can save some memory in struct
fuse_inode by overlaying them in the union. This is a separate patch
because C unions are rather unsafe and I prefer any errors to be
bisectable... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:22: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>
Provide a means to constrain the size of each iomap mapping cache.
Most files (at least on XFS) don't have more than 1000 extents, so we'll
set the absolute maximum to 10000 and let the fuse server set a lower
limit if it so desires.
Signed-off-by: "Darrick J. Wong" <djwong@k... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:23: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>
Add tracepoints for the previous patch.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
fs/fuse/fuse_trace.h | 31 +++++++++++++++++++++++++++++--
fs/fuse/fuse_iomap_cache.c | 4 +++-
2 files changed, 32 insertions(+), 3 deletions(-)
diff --git a/fs/fus... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:23: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>
Remove the guard that we used to avoid bisection problems.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
fs/fuse/fuse_iomap.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/fs/fuse/fuse_iomap.c b/fs/fuse/fuse_iomap.c
index 8fad9278293bff..74bd18bb4009c6... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:23: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 | From: Darrick J. Wong <djwong@kernel.org>
For the upcoming safemount functionality in libfuse, we will create a
privileged "mount.safe" helper that starts the fuse server in a
completely unprivileged systemd container. The mount helper will pass
the mount options and fds for /dev/fuse and any other files requested by... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:23: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 a new ioctl so that an unprivileged fuse server can set the block
size of a bdev that's opened for iomap usage.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
fs/fuse/fuse_iomap.h | 3 +++
include/uapi/linux/fuse.h | 7 +++++++
fs/fuse/dev.c ... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:24: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>
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... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:24: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>
Add tracepoints to the previous patch.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
fs/fuse/fuse_trace.h | 53 ++++++++++++++++++++++++++++++++++++++++++++++
fs/fuse/fuse_iomap_bpf.c | 10 +++++++++
fs/fuse/trace.c | 1 +
3 files changed, 64 i... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:24: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>
The stub implementation fuse_iomap_bpf_ops_btf_struct_access has the
unfortunate behavior of allowing the bpf program to write to any struct
pointer passed into the function! We don't want to allow random updates
to struct fuse_inode, but we will eventually want to pass the p... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:24: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>
Add a couple of kfuncs so that a BPF program that generates iomappings
can add them to the inode's mapping cache, thereby avoiding the need to
go into BPF program on the next access.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
fs/fuse/fuse_iomap_i.h | 6 +++... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:25: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>
Introduce an opaque type (and some casting helpers) for struct
fuse_inode. This tricks BTF/BPF into thinking that the "inode" object
we pass to BPF programs is an empty structure, which means that the BPF
program cannot even look at the contents.
Signed-off-by: "Darrick J. W... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:25:21 -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>
Bump the kernel ABI version to 7.99 and the libfuse ABI version to 3.99
to start our development. This patch exists to avoid confusion during
the prototyping stage.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
include/fuse_kernel.h | 5 ++++-
ChangeLog.rst ... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:25: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>
This patch complements the Linux kernel patch "fuse: flush pending fuse
events before aborting the connection".
This test opens a large number of files, unlinks them (which really just
renames them to fuse hidden files), closes the program, unmounts the
filesystem, and runs f... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:25: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>
Add some flags to query and request kernel support for filesystem iomap
for regular files.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
include/fuse_common.h | 5 +++++
include/fuse_kernel.h | 3 +++
lib/fuse_lowlevel.c | 12 +++++++++++-
3 files change... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:26: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>
Teach the low level API how to handle iomap begin and end commands that
we get from the kernel.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
include/fuse_common.h | 71 +++++++++++++++++++++++++++++++++
include/fuse_kernel.h | 40 ++++++++++++++++++
inclu... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:26: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>
Teach the upper level fuse library about the iomap begin and end
operations, and connect it to the lower level. This is needed for
fuse2fs to start using iomap.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
include/fuse.h | 17 +++++++++
lib/fuse.c | 102 +... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:26:39 -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>
Plumb in the pieces needed to attach block devices to a fuse+iomap mount
for use with iomap operations. This enables us to have filesystems
where the metadata could live somewhere else, but the actual file IO
goes to locally attached storage.
Signed-off-by: "Darrick J. Wong"... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:26: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>
Make it so that the upper level fuse library can add iomap devices too.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
include/fuse.h | 19 +++++++++++++++++++
lib/fuse.c | 16 ++++++++++++++++
lib/fuse_versionscript | 2 ++
3 files chang... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:27: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>
Teach the low level library about the iomap ioend handler, which gets
called by the kernel when we finish a file write that isn't a pure
overwrite operation.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
include/fuse_common.h | 13 +++++++++++++
include/fuse_k... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:27: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>
Teach the upper level fuse library about iomap ioend events, which
happen when a write that isn't a pure overwrite completes.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
include/fuse.h | 9 +++++++++
lib/fuse.c | 53 +++++++++++++++++++++++++++++++++++++... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:27: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>
Create new fuse_reply_{attr,create,entry}_iflags functions so that we
can send FUSE_ATTR_* flags to the kernel when instantiating an inode.
Servers are expected to send FUSE_IFLAG_* values, which will be
translated into what the kernel can understand.
Signed-off-by: "Darrick ... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:27:57 -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 new ->getattr_iflags function so that iomap filesystems can set
the appropriate in-kernel inode flags on instantiation.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
include/fuse.h | 7 ++
lib/fuse.c | 191 +++++++++++++++++++++++++++++++++++++++++... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:28: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>
Make it so that lowlevel fuse servers can ask for exclusive mode.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
include/fuse_common.h | 2 ++
include/fuse_kernel.h | 4 ++++
lib/fuse_lowlevel.c | 2 ++
3 files changed, 8 insertions(+)
diff --git a/inc... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:28: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>
Make it so that fuse servers can ask the kernel fuse driver to use iomap
to support direct IO.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
include/fuse_common.h | 2 ++
include/fuse_kernel.h | 3 +++
lib/fuse_lowlevel.c | 2 ++
3 files changed, 7 inse... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:28:44 -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>
The upper level fuse library creates a separate node object for every
(i)node referenced by a directory entry. Unfortunately, it doesn't
account for the possibility of hardlinks, which means that we can create
multiple nodeids that refer to the same hardlinked inode. Inode l... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:29: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>
Create a library function so that we can discover the kernel's iomap
capabilities ahead of time.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
include/fuse_common.h | 7 +++++++
include/fuse_kernel.h | 7 +++++++
include/fuse_lowlevel.h | 9 +++++++++
... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:29: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>
Add FUSE_IOMAP_CONFIG helpers to the low level fuse library.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
include/fuse_common.h | 31 ++++++++++++++++++
include/fuse_kernel.h | 31 ++++++++++++++++++
include/fuse_lowlevel.h | 27 +++++++++++++++
lib/fus... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:29: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>
Add FUSE_IOMAP_CONFIG helpers to the upper level fuse library.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
include/fuse.h | 7 +++++++
lib/fuse.c | 37 +++++++++++++++++++++++++++++++++++++
2 files changed, 44 insertions(+)
diff --git a/include/fuse.h... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:29: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>
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.
Signed-off-by: "Darrick J. W... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:30: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>
Wire up the upper-level wrappers to
fuse_lowlevel_iomap_invalidate_device.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
include/fuse.h | 10 ++++++++++
lib/fuse.c | 9 +++++++++
lib/fuse_versionscript | 1 +
3 files changed, 20 inserti... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:30: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 the single flag that we need to turn on atomic write support in
fuse.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
include/fuse_common.h | 4 ++++
include/fuse_kernel.h | 3 +++
lib/fuse_lowlevel.c | 2 ++
3 files changed, 9 insertions(+)
diff --... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:30: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>
Create a library function so that fuse-iomap servers can ask the kernel
to disable direct memory reclaim for filesystems and BDI write
throttling.
Disabling fs reclaim prevents livelocks where the fuse server can
allocate memory, fault into the kernel, and then the allocation... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:30:49 -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 helper function to configure a loop device for an open regular
file fd, and then return an open fd to the loop device. This will
enable the use of fuse+iomap file servers with filesystem image files.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
include/... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:31:05 -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 flags for swapfile activation and deactivation.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
include/fuse_common.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/include/fuse_common.h b/include/fuse_common.h
index a42d70f79d57e1..a8aec81ec123a2 ... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:31:21 -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>
Pass the kernel's filesystem freeze, thaw, and shutdown requests through
to low level fuse servers.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
include/fuse_kernel.h | 12 +++++++++
include/fuse_lowlevel.h | 35 +++++++++++++++++++++++++++
lib/fuse_lowleve... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:31:36 -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>
Pass filesystem freeze, thaw, and shutdown requests from the low level
library to the upper level library so that those fuse servers can handle
the events.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
include/fuse.h | 15 +++++++++
lib/fuse.c | 95 +++++++... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:31:52 -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 this mount option so that fuse servers can configure the root
nodeid if they want to.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
lib/mount.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/mount.c b/lib/mount.c
index 7a856c101a7fc4..c82fd4c293... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:32: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>
fuse+iomap leaves the kernel completely in charge of handling
timestamps. Add the lazytime and strictatime mount options so that
fuse+iomap filesystems can take advantage of those options.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
lib/mount.c | 18 +++++++++... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:32:23 -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 these three fuse_attr::flags bits so that servers can mark a file as
immutable or append-only and have the kernel advertise and enforce that.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
include/fuse_common.h | 6 ++++++
include/fuse_kernel.h | 8 ++++++... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:32:39 -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 the library methods so that fuse servers can manage an in-kernel
iomap cache. This enables better performance on small IOs and is
required if the filesystem needs synchronization between pagecache
writes and writeback.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:32: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>
Make it so that upper-level fuse servers can use the iomap cache too.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
include/fuse.h | 31 +++++++++++++++++++++++++++++++
lib/fuse.c | 30 ++++++++++++++++++++++++++++++
lib/fuse_versionscript ... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:33:10 -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 constrain the maximum size of each iomap
mapping cache.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
include/fuse_common.h | 3 +++
include/fuse_kernel.h | 6 +++++-
include/fuse_lowlevel.h | 3 ++-
lib/fuse.c | ... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:33: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>
Allow high-level fuse servers to constrain the maximum size of each
iomap mapping cache.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
include/fuse.h | 1 +
lib/fuse.c | 12 +++++++-----
2 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/incl... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:33:41 -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>
Remove the guard that we used to avoid bisection problems.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
lib/fuse_lowlevel.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/lib/fuse_lowlevel.c b/lib/fuse_lowlevel.c
index b2bf2e5345cc71..714c26385c044f 100... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:33:57 -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 mount.service helper that can start a fuse server that runs
as a socket-based systemd (or inetd) service. To make things simpler
for fuse server authors, define a new library interface to wrap all the
functionality so that they don't have to know the details
This en... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:34: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>
Teach mount.fuse3 how to start fuse via service, if present.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
util/mount_service.h | 9 ++++++++
doc/fuservicemount3.8 | 10 ++++++++
util/fuservicemount.c | 48 +++++++++++++++++++++++++++++++++++++++++
util/me... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:34:28 -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 mount.service helper to attach whatever privileges it might
have to enable iomap to a /dev/fuse fd before passing that fd to the
fuse server. Assuming that the fuse service itself does not have
sufficient privilege to enable iomap on its own, it can now inherit tha... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:34:44 -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 means for an unprivileged fuse server to set the block size of
a block device that it previously opened and associated with the fuse
connection.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
include/fuse_kernel.h | 7 +++++++
include/fuse_lowlevel.h ... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:34: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>
If a fuse server asks fuservicemount to open a regular file, try to
create an auto-clear loop device so that the fuse server can use iomap.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
include/fuse_service.h | 6 ++++++
include/fuse_service_priv.h | 3 ... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:35:15 -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 the necessary header files to enable lowlevel fuse servers to
compile their own BPF blobs that override iomap functions, and a bunch
of meson code to detect if the system is even capable of compiling BPF.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
includ... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:35: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>
Add a couple of kfuncs so that a BPF program that generates iomappings
can add them to the inode's mapping cache, thereby avoiding the need to
go into BPF program on the next access.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
include/fuse_iomap_bpf.h | 28 +++... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:35: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>
Introduce an opaque type (and some casting helpers) for struct
fuse_inode. This tricks BTF/BPF into thinking that the "inode" object
we pass to BPF programs is an empty structure, which means that the BPF
program cannot even look at the contents.
Signed-off-by: "Darrick J. W... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:36:02 -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 enough of an iomap implementation that we can do FIEMAP and
SEEK_DATA and SEEK_HOLE.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
configure | 49 +++++
configure.ac | 31 +++
fuse4fs/fuse4fs.c | 533 ++++++++++++++++++++++++++++++++++++++++++... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:36: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 a mount option to control iomap usage so that we can test before and
after scenarios.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
fuse4fs/fuse4fs.1.in | 6 ++++++
fuse4fs/fuse4fs.c | 46 ++++++++++++++++++++++++++++++++++++++++++++++
misc/fuse2fs.1.i... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:36:33 -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>
Upload the filesystem geometry to the kernel when asked.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
fuse4fs/fuse4fs.c | 96 +++++++++++++++++++++++++++++++++++++++++++++++++++--
misc/fuse2fs.c | 96 +++++++++++++++++++++++++++++++++++++++++++++++++++--
2... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:36:49 -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>
Register the ext4 block device with the kernel for use with iomap.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
fuse4fs/fuse4fs.c | 44 ++++++++++++++++++++++++++++++++++++++++----
misc/fuse2fs.c | 42 ++++++++++++++++++++++++++++++++++++++----
2 files cha... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:37:04 -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 file reads via iomap. Currently only directio is supported.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
fuse4fs/fuse4fs.c | 14 +++++++++++++-
misc/fuse2fs.c | 14 +++++++++++++-
2 files changed, 26 insertions(+), 2 deletions(-)
diff --git a/... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:37:20 -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 function to dump an inode's extent map for debugging purposes.
This helped debug a problem with generic/299 failing on 1k fsblock
filesystems:
--- a/tests/generic/299.out 2025-07-15 14:45:15.030113607 -0700
+++ b/tests/generic/299.out.bad 2025-07-16 19:33:50.889344998... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:37:36 -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>
Wire up an iomap_begin method that can allocate into holes so that we
can do directio writes.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
fuse4fs/fuse4fs.c | 477 +++++++++++++++++++++++++++++++++++++++++++++++++++++
misc/fuse2fs.c | 471 +++++++++++++++++++... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:37: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>
Turn on iomap for pagecache IO to regular files.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
fuse4fs/fuse4fs.c | 61 +++++++++++++++++++++++++++++++++++++++++++++++------
misc/fuse2fs.c | 61 +++++++++++++++++++++++++++++++++++++++++++++++------
2 files c... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:38: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>
When iomap is in use for the pagecache, it will take care of zeroing the
unaligned parts of punched out regions so we don't have to do it
ourselves.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
fuse4fs/fuse4fs.c | 8 ++++++++
misc/fuse2fs.c | 9 +++++++++... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:38: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>
When iomap is in use for the page cache, the kernel will take care of
all the file data block IO for us, including zeroing of punched ranges
and post-EOF bytes. fuse2fs only needs to do IO for inline data.
Therefore, set the NOBLOCKIO ext2_file flag so that libext2fs will no... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:38: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>
If the filesystem device is a regular file, try to create a loop device
for it so that we can take advantage of iomap.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
configure | 41 +++++++++++++++++++
configure.ac | 23 +++++++++++
fuse4fs/fuse4fs... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:38: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>
Enable file reads and writes from inline data files.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
fuse4fs/fuse4fs.c | 3 ++-
misc/fuse2fs.c | 42 ++++++++++++++++++++++++++++++++++++++++--
2 files changed, 42 insertions(+), 3 deletions(-)
diff --git a/f... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:39: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>
Set FUSE_IFLAG_* when we do a getattr, so that all files will have iomap
enabled.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
fuse4fs/fuse4fs.c | 46 +++++++++++++++++++++++++++++++++++-----------
misc/fuse2fs.c | 20 ++++++++++++++++++++
2 files changed,... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:39: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>
Set the blocksize of the block device to the filesystem blocksize.
This prevents the bdev pagecache from caching file data blocks that
iomap will read and write directly. Cache duplication is dangerous.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
fuse4fs/fuse4f... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:39: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>
Use the new stuff
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
fuse4fs/fuse4fs.c | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++++
misc/fuse2fs.c | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 121 insertions(+)
diff... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:39: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>
Implement statx.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
fuse4fs/fuse4fs.c | 136 +++++++++++++++++++++++++++++++++++++++++++++++++++++
misc/fuse2fs.c | 131 +++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 267 insertions(+)
diff -... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:40: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>
Advertise the single-fsblock atomic write capability that iomap can do.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
fuse4fs/fuse4fs.c | 67 +++++++++++++++++++++++++++++++++++++++++++++++++++
misc/fuse2fs.c | 69 +++++++++++++++++++++++++++++++++++++++++++... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:40: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>
Ask the kernel if we can disable fs reclaim and write throttling.
Disabling fs reclaim prevents livelocks where the fuse server can
allocate memory, fault into the kernel, and then the allocation tries to
initiate writeback by calling back into the same fuse server.
Disablin... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:40: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>
Handle freezing and shutting down the filesystem if requested.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
fuse4fs/fuse4fs.c | 91 +++++++++++++++++++++++++++++++++++++++++++++++++++++
misc/fuse2fs.c | 84 +++++++++++++++++++++++++++++++++++++++++++++++++
... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:41: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>
Prior to the integration of iomap into fuse, the fuse client (aka the
kernel) required that the root directory have an inumber of
FUSE_ROOT_ID, which is 1. However, the ext2 filesystem defines the root
inode number to be EXT2_ROOT_INO, which is 2. This dissonance means
that ... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:41: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>
In iomap mode, we can support the strictatime/lazytime mount options.
Add them to fuse2fs.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
fuse4fs/fuse4fs.1.in | 6 ++++++
fuse4fs/fuse4fs.c | 28 +++++++++++++++++++++++++++-
misc/fuse2fs.1.in | 6 +++++... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:41: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 | From: Darrick J. Wong <djwong@kernel.org>
When iomap is enabled, the kernel is in charge of enforcing permissions
checks on timestamp updates for files. We needn't do that in userspace
anymore.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
fuse4fs/fuse4fs.c | 11 +++++++----
misc/fuse2fs.c | 11 ++... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:41: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 | From: Darrick J. Wong <djwong@kernel.org>
When the kernel is running in iomap mode, it will also manage all the
ACL updates and the resulting file mode changes for us. Disable the
manual implementation of it in fuse2fs.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
fuse4fs/fuse4fs.c | 4 ++--
misc/fus... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:42: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>
Improve the tracing of a chmod operation so that we can debug file mode
updates.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
fuse4fs/fuse4fs.c | 10 ++++++----
misc/fuse2fs.c | 12 +++++++-----
2 files changed, 13 insertions(+), 9 deletions(-)
diff --gi... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:42: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>
Add tracing for timestamp updates to files.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
misc/fuse2fs.c | 97 +++++++++++++++++++++++++++++++++++---------------------
1 file changed, 61 insertions(+), 36 deletions(-)
diff --git a/misc/fuse2fs.c b/misc/fuse2fs... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:42: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>
In iomap mode, the kernel is responsible for maintaining timestamps
because file writes don't upcall to fuse2fs. The kernel's predicate for
deciding if [cm]time should be updated bases its decisions off [cm]time
being an exact match for the coarse clock (instead of checking t... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:42: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>
Add tracing for retrieving timestamps so we can debug the weird
behavior.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
misc/fuse2fs.c | 20 ++++++++++++++------
1 file changed, 14 insertions(+), 6 deletions(-)
diff --git a/misc/fuse2fs.c b/misc/fuse2fs.c
inde... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:43: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>
Enable syncfs calls in fuse2fs.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
fuse4fs/fuse4fs.c | 32 ++++++++++++++++++++++++++++++++
misc/fuse2fs.c | 34 ++++++++++++++++++++++++++++++++++
2 files changed, 66 insertions(+)
diff --git a/fuse4fs/fuse4fs.c... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:43: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>
Convey these three inode flags to the kernel when we're loading a file.
This way the kernel can advertise and enforce those flags so that the
fuse server doesn't have to.
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
---
fuse4fs/fuse4fs.c | 16 ++++++++++++++++
misc... | {
"author": "\"Darrick J. Wong\" <djwong@kernel.org>",
"date": "Mon, 23 Feb 2026 15:43:38 -0800",
"is_openbsd": false,
"thread_id": "CAJfpegubENC3LxtG8MbO4OxUgD_Pd1GR9pw6Xcob_JiG+2cOFg@mail.gmail.com.mbox.gz"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.