<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/source/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in ext_map.c</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>5f5be6584cf5af0d70ee2fd40aa6264da18617ec - Merge tag &apos;vfs-7.4-rc3.fixes&apos; of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs</title>
        <link>http://kernelsources.org:8080/source/history/linux/fs/fuse/ext_map.c#5f5be6584cf5af0d70ee2fd40aa6264da18617ec</link>
        <description>Merge tag &apos;vfs-7.4-rc3.fixes&apos; of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfsPull vfs fixes from Christian Brauner: - libfs: Make readdir on tmpfs walk the offset tree in offset order   instead of d_children to avoid skipping entries or relisting the   whole directory   It&apos;s faster too. Listing a million entries takes 114ms instead of   146ms, and 113ms instead of 470ms with four processes listing in   parallel - iomap: Finish the -&gt;iomap_next() conversion that started in v7.3   The nilfs2 and fuse ext_map iomap code added this merge window is   converted so now we can remove the -&gt;iomap_begin()/-&gt;iomap_end()   fallback. We waited until the new iomap users from other trees were   in mainline otherwise this would have been very messy - errseq: Retry with the current value when the cmpxchg() in   errseq_check_and_advance() fails to avoid an old value coming back   later hiding the errors - aio: Hold an extra count for exit_aio() itself so it can&apos;t return   before the last free_ioctx_reqs() callback has called complete() - pidfd: Fail the namespace ioctls with EREMOTE unless the target is   visible in the caller&apos;s pid namespace like PIDFD_GET_INFO does - eventpoll: Wake the next waiter when a woken waiter returns early   because of a fatal signal to avoid sleeping forever - backing-file: Pass RWF_NOAPPEND on to synchronous writes to the   backing file - initrd: Flush the deferred fput() of the ramdisk file before mounting   root - iov_iter: Take an unsigned long segment count in import_iovec()   The upper 32 bits of the count passed to readv(), writev() and   friends were dropped before the UIO_MAXIOV check - splice: Advance the pipe tail before checking for a full bvec array   in splice_to_socket(). The last buffer was counted again, so MSG_MORE   was set although the pipe was empty and small TCP transfers waited   for the cork timeout - vfs:     - Reject negative offsets for SEEK_DATA and SEEK_HOLE in       default_llseek() and use must_set_pos() for its whence handling     - Only clear tv_nsec in timestamp_truncate() when clamping changed       the seconds. Timestamps whose seconds were exactly at a       filesystem time limit lost their subsecond part     - Don&apos;t leak the kernel-internal STATX_ATTR_CHANGE_MONOTONIC in       stx_attributes_mask     - Clamp the FIONREAD result to the int range so a file with 4 GiB       left isn&apos;t reported as empty     - Fix the SEEK_CUR f_lock check - selftests: Fix the statmount and mount_setattr tests on 32-bit and   s390, build the fchmodat2 and openat2 tests without sanitizers when   the toolchain lacks the runtimes and fix a clang warning in the   mount-notify test - docs: Fix a docutils warning in porting.rst* tag &apos;vfs-7.4-rc3.fixes&apos; of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs: (28 commits)  fs: fix the SEEK_CUR f_lock condition  splice, net: avoid MSG_MORE when the bvec array fills  aio: don&apos;t let exit_aio() return before complete() is done  fs: porting.rst: use literal string to avoid warning  selftests/fs/mount-notify: fix the indentation in the fsmount test  selftests: probe for sanitizer support in fchmodat2 and openat2  selftests/mount_setattr: build with a 64-bit off_t  selftests/statmount: fix format warnings on 32-bit and s390  fs: use must_set_pos() in default_llseek()  fs: reject negative offsets for SEEK_DATA and SEEK_HOLE in default_llseek()  pidfd: restrict task access ioctls to the caller&apos;s pid namespace  fs: clamp FIONREAD result to int range  eventpoll: wake the next waiter when a woken waiter is killed  statx: don&apos;t leak STATX_ATTR_CHANGE_MONOTONIC in stx_attributes_mask  vfs: preserve subsecond timestamps at filesystem time limits  iov_iter: take an unsigned long segment count in import_iovec()  lib/tests: errseq: add a concurrent check_and_advance test  errseq: don&apos;t let errseq_check_and_advance() hide later errors  backing-file: pass RWF_NOAPPEND to synchronous writes  initrd: flush deferred fput() before mounting root  ...

            List of files:
            /linux/fs/fuse/ext_map.c</description>
        <pubDate>Tue, 10 Nov 2026 16:25:09 +0100</pubDate>
        <dc:creator>Linus Torvalds &lt;torvalds@linux-foundation.org&gt;</dc:creator>
    </item>
<item>
        <title>0af298e62e5cff4ebf9bec47b8711177a7e2f115 - treewide: refresh kmalloc_obj() conversions</title>
        <link>http://kernelsources.org:8080/source/history/linux/fs/fuse/ext_map.c#0af298e62e5cff4ebf9bec47b8711177a7e2f115</link>
        <description>treewide: refresh kmalloc_obj() conversionsRefresh the tree with run of the existing Coccinelle rules inscripts/coccinelle/api/kmalloc_objs.cocci, now that they also convertarrays of multi-byte integers.The conversions break down as:	435	kzalloc_objs()	169	kmalloc_objs()	 52	kvzalloc_objs()	 47	kzalloc_obj()	 42	kvmalloc_objs()	  8	kmalloc_obj()	  2	kzalloc_flex()	  2	kvmalloc_flex()and 37 existing kmalloc_obj() family calls drop a redundant GFP_KERNEL.Build tested with allmodconfig on x86_64 with GCC 16.2.0, and, togetherwith the devm_kmalloc_obj() conversion that follows, on x86_64, arm64,i386, arm, riscv, s390, m68k, mips, parisc, sparc, loongarch, arc,xtensa, and openrisc with GCC 16.2.0 with no new warnings.Signed-off-by: Kees Cook &lt;kees+treewide@kernel.org&gt;

            List of files:
            /linux/fs/fuse/ext_map.c</description>
        <pubDate>Thu, 29 Oct 2026 07:08:12 +0100</pubDate>
        <dc:creator>Kees Cook &lt;kees+treewide@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>9e8fc16dc6b474b9a87843c3d3ee12fc83f2bdcc - iomap: pass iomap_iter_next_fn directly instead of struct iomap_ops</title>
        <link>http://kernelsources.org:8080/source/history/linux/fs/fuse/ext_map.c#9e8fc16dc6b474b9a87843c3d3ee12fc83f2bdcc</link>
        <description>iomap: pass iomap_iter_next_fn directly instead of struct iomap_opsNow that all filesystems implement -&gt;iomap_next() and the legacy-&gt;iomap_begin()/-&gt;iomap_end() fallback is gone, struct iomap_ops onlywraps a single iomap_next function pointer. Drop the struct entirely andpass the iomap_iter_next_fn directly to iomap_iter() and all theiomap/dax entry points. Filesystems pass their iomap_iter_next_fncallback directly instead of an ops struct. Several iomap_iter_next_fncallbacks become non-static and gain header declarations since callersnow reference them directly.The iomap_iter tracepoint&apos;s ops field is renamed to next to match. Thesetracepoints are explicitly not stable ABI (see the note in iomap/trace.h).No functional change intended other than the tracepoint field renamenoted above.Acked-by: Jan Kara &lt;jack@suse.cz&gt;Reviewed-by: Christoph Hellwig &lt;hch@lst.de&gt;Signed-off-by: Joanne Koong &lt;joannelkoong@gmail.com&gt;Link: https://patch.msgid.link/20261027215326.2693300-5-joannelkoong@gmail.comSigned-off-by: Christian Brauner (Amutable) &lt;brauner@kernel.org&gt;

            List of files:
            /linux/fs/fuse/ext_map.c</description>
        <pubDate>Tue, 27 Oct 2026 22:53:25 +0100</pubDate>
        <dc:creator>Joanne Koong &lt;joannelkoong@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>f6c38b3d56c23dc80635477a83535c2b886c3275 - fuse: convert ext_map iomap ops to -&gt;iomap_next()</title>
        <link>http://kernelsources.org:8080/source/history/linux/fs/fuse/ext_map.c#f6c38b3d56c23dc80635477a83535c2b886c3275</link>
        <description>fuse: convert ext_map iomap ops to -&gt;iomap_next()Convert the fuse ext_map iomap_ops to the new -&gt;iomap_next() callback.The callback is generated with the DEFINE_IOMAP_ITER_NEXT() macro, whichwraps the iomap_iter_next() helper to finish the previous mapping ifneeded and produce the next one. No functional changes are intended.Signed-off-by: Joanne Koong &lt;joannelkoong@gmail.com&gt;Link: https://patch.msgid.link/20261027215326.2693300-3-joannelkoong@gmail.comReviewed-by: Christoph Hellwig &lt;hch@lst.de&gt;Signed-off-by: Christian Brauner (Amutable) &lt;brauner@kernel.org&gt;

            List of files:
            /linux/fs/fuse/ext_map.c</description>
        <pubDate>Tue, 27 Oct 2026 22:53:23 +0100</pubDate>
        <dc:creator>Joanne Koong &lt;joannelkoong@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>5a9745611d621ea160854936eb6370e610887bfb - fuse: resolve extent maps in O(1) when possible</title>
        <link>http://kernelsources.org:8080/source/history/linux/fs/fuse/ext_map.c#5a9745611d621ea160854936eb6370e610887bfb</link>
        <description>fuse: resolve extent maps in O(1) when possiblefuse_ext_map_iomap_begin() runs on every mapping fault of a DAXextent-mapped file, meaning the TLB-miss-plus-page-table-miss case,and on every chunk of every read/write.  These are not page faults inthe usual sense: nothing is read in from storage.  The fault onlyinstalls page table entries for memory that is already there, so thereis no I/O to amortize the resolver&apos;s cost against; whatever it costsis added to the cost of a memory access.The rbtree it walks is built from individually allocated nodes.  Eachlevel is a dependent, un-prefetchable dereference and a potential LLCmiss (~100ns), so a striped file with S strips pays log2(S) of themper resolution, and that is a large fraction of a mapping fault thatotherwise costs little more than the page table update itself.Replace the rbtree in struct fuse_backing with a packed, sorted arrayof fuse_iext extents, allocated once per map rather than once perextent.  The array packs the extents into the fewest cache lines, andfault handling is O(1) when the map allows it: - A cyclic (striped) map is required to have equal-length extents   contiguous from zero, so a file offset converts arithmetically to a   strip index and cycle number.  This patch validates that and does   it. - A simple map whose extents happen to be equal-length and contiguous   from zero (the common famfs allocation) resolves as offset / ext_len.   This patch detects that at populate time and does it. - An irregular map falls back to a binary search of the packed array.famfs currently always produces maps that resolve in O(1).Because the extents are sorted at populate time, a cyclic map&apos;s extentsno longer have to arrive in offset order, and the overlap check is anadjacent-pair compare over the sorted array rather than a check at eachrbtree insertion.  Error returns are unchanged: -EIO with a message formalformed extents and overlaps, -EINVAL for a non-uniform cyclic map.Signed-off-by: John Groves &lt;john@groves.net&gt;Signed-off-by: Miklos Szeredi &lt;mszeredi@redhat.com&gt;

            List of files:
            /linux/fs/fuse/ext_map.c</description>
        <pubDate>Mon, 12 Oct 2026 00:34:56 +0200</pubDate>
        <dc:creator>John Groves &lt;john@groves.net&gt;</dc:creator>
    </item>
<item>
        <title>dfc68b6c99f094e06f720b57cf4ee3d0ae5dbe8f - fuse: add support for striped backing</title>
        <link>http://kernelsources.org:8080/source/history/linux/fs/fuse/ext_map.c#dfc68b6c99f094e06f720b57cf4ee3d0ae5dbe8f</link>
        <description>fuse: add support for striped backingAdd the FUSE_BACKING_MAP_CYCLIC flag for FUSE_NOTIFY_BACKING_MAPnotifications to enable creating striped maps.This is just a set of regular extents that repeats after the end of thelast extent using a striping pattern (i.e. on the target backings thestripes have a contiguous footprint).Two additional limits apply compared to non-cyclic extent map population: - the size of the extents (chunk size) must be equal - the extents must start from zero offset and follow each other without   gaps.Originally-by: John Groves &lt;john@groves.net&gt;Reviewed-by: Amir Goldstein &lt;amir73il@gmail.com&gt;Signed-off-by: Miklos Szeredi &lt;mszeredi@redhat.com&gt;

            List of files:
            /linux/fs/fuse/ext_map.c</description>
        <pubDate>Mon, 21 Sep 2026 13:12:23 +0200</pubDate>
        <dc:creator>Miklos Szeredi &lt;mszeredi@redhat.com&gt;</dc:creator>
    </item>
<item>
        <title>e8bc74b6ed1b107f67ee7c362e9f6c1b035e2fe9 - fuse: add extent map I/O support</title>
        <link>http://kernelsources.org:8080/source/history/linux/fs/fuse/ext_map.c#e8bc74b6ed1b107f67ee7c362e9f6c1b035e2fe9</link>
        <description>fuse: add extent map I/O supportWire up read, write, splice and mmap operations for extent-mappedfiles through the iomap/DAX infrastructure.When a passthrough file is opened with an EXTMAP backing, I/O isdispatched to the dax devices referenced by the extent map.If an address is not mapped, EIO is returned on the I/O operation.Originally-by: John Groves &lt;john@groves.net&gt;Reviewed-by: Amir Goldstein &lt;amir73il@gmail.com&gt;Signed-off-by: Miklos Szeredi &lt;mszeredi@redhat.com&gt;

            List of files:
            /linux/fs/fuse/ext_map.c</description>
        <pubDate>Mon, 21 Sep 2026 13:11:44 +0200</pubDate>
        <dc:creator>Miklos Szeredi &lt;mszeredi@redhat.com&gt;</dc:creator>
    </item>
<item>
        <title>bf75733445820e511ca0b9158a639f6c255eaf7d - fuse: add extent map data structure</title>
        <link>http://kernelsources.org:8080/source/history/linux/fs/fuse/ext_map.c#bf75733445820e511ca0b9158a639f6c255eaf7d</link>
        <description>fuse: add extent map data structureAdd support for creating and managing extent maps that map file regions todax device regions.Introduce FUSE_NOTIFY_BACKING_MAP for populating extent maps fromuserspace.Extent maps are handled as a new type of backing and are assigned a 64 bitbacking ID by the server.One extent consists of - offset within the containing backing - length of extent - target backing ID - offset into target backingExtents must be non-overlapping, and can only refer to dax device backingsfor now.At this point only support creating and populating the extent map in oneoperation, though the interface is not limited by this and later may bechanged, so that partial population of an extent map would be possible.Originally-by: John Groves &lt;john@groves.net&gt;Signed-off-by: Miklos Szeredi &lt;mszeredi@redhat.com&gt;

            List of files:
            /linux/fs/fuse/ext_map.c</description>
        <pubDate>Mon, 21 Sep 2026 13:06:40 +0200</pubDate>
        <dc:creator>Miklos Szeredi &lt;mszeredi@redhat.com&gt;</dc:creator>
    </item>
</channel>
</rss>
