<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/Documentation/filesystems, branch master</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>Merge tag 'nfs-for-7.4-2' of git://git.linux-nfs.org/projects/anna/linux-nfs</title>
<updated>2026-11-15T21:48:31+00:00</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2026-11-15T21:48:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=f70886e5a510cd7fc2c3aef91c46a14f4485fe63'/>
<id>f70886e5a510cd7fc2c3aef91c46a14f4485fe63</id>
<content type='text'>
Pull NFS client fixes from Anna Schumaker:

 - Various NFS and SunRPC fixes from Avi Weiss

 - Various localio fixes from Mike Snitzer

 - Delegated timestamp fixes from Jeff Layton

 - CB_NOTIFY_LOCK fixes from Olga Kornievskaia

 - Various sunrpc, flexfiles, and xprtrdma fixes from Tim Menninger

* tag 'nfs-for-7.4-2' of git://git.linux-nfs.org/projects/anna/linux-nfs: (26 commits)
  NFSv4: Prevent indefinite waits for out-of-order OPEN stateids
  NFSv4/flexfiles: limit transport disconnects when cancelling I/O
  SUNRPC: add request-scoped disconnects when cancelling tasks
  pNFS: avoid repeatedly cancelling I/O for the same lseg
  xprtrdma: serialize unmap_sync with xprt_disconnect
  NFSv4: remember that the server may send CB_NOTIFY_LOCK
  NFSv4: wake blocking lock waiters when a delegated lock is released
  NFS: stamp after the server's ctime following a CLONE
  NFS: stamp after the server's ctime when truncating under delegated times
  NFS: don't let delegated c/mtime stamps go backward
  NFS/localio: give the LOCALIO probe a short timeout of its own
  NFS/localio: probe again for LOCALIO when localio_enabled is set to Y
  NFS/localio: hold the client across an asynchronous LOCALIO probe
  SUNRPC: Balance queue accounting when relocating a task
  SUNRPC: Balance switch queue length on transport removal
  SUNRPC: Fix TCP-with-TLS transport class identification
  SUNRPC: preserve transport security policy when cloning clients
  SUNRPC: preserve timeout policy when cloning clients
  SUNRPC: preserve fatal network errors during RPC binding
  sunrpc: instantiate rpc_pipefs dentry before publishing it
  ...
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Pull NFS client fixes from Anna Schumaker:

 - Various NFS and SunRPC fixes from Avi Weiss

 - Various localio fixes from Mike Snitzer

 - Delegated timestamp fixes from Jeff Layton

 - CB_NOTIFY_LOCK fixes from Olga Kornievskaia

 - Various sunrpc, flexfiles, and xprtrdma fixes from Tim Menninger

* tag 'nfs-for-7.4-2' of git://git.linux-nfs.org/projects/anna/linux-nfs: (26 commits)
  NFSv4: Prevent indefinite waits for out-of-order OPEN stateids
  NFSv4/flexfiles: limit transport disconnects when cancelling I/O
  SUNRPC: add request-scoped disconnects when cancelling tasks
  pNFS: avoid repeatedly cancelling I/O for the same lseg
  xprtrdma: serialize unmap_sync with xprt_disconnect
  NFSv4: remember that the server may send CB_NOTIFY_LOCK
  NFSv4: wake blocking lock waiters when a delegated lock is released
  NFS: stamp after the server's ctime following a CLONE
  NFS: stamp after the server's ctime when truncating under delegated times
  NFS: don't let delegated c/mtime stamps go backward
  NFS/localio: give the LOCALIO probe a short timeout of its own
  NFS/localio: probe again for LOCALIO when localio_enabled is set to Y
  NFS/localio: hold the client across an asynchronous LOCALIO probe
  SUNRPC: Balance queue accounting when relocating a task
  SUNRPC: Balance switch queue length on transport removal
  SUNRPC: Fix TCP-with-TLS transport class identification
  SUNRPC: preserve transport security policy when cloning clients
  SUNRPC: preserve timeout policy when cloning clients
  SUNRPC: preserve fatal network errors during RPC binding
  sunrpc: instantiate rpc_pipefs dentry before publishing it
  ...
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge tag 'ovl-fixes-7.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/overlayfs/vfs</title>
<updated>2026-11-14T16:32:19+00:00</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2026-11-14T16:32:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=aacb7797504183a90d66b19b1efb555cfe9b3eec'/>
<id>aacb7797504183a90d66b19b1efb555cfe9b3eec</id>
<content type='text'>
Pull overlayfs fixes from Amir Goldstein:

 - Fixes for data-only layers (composefs), some for regressions from
   v6.16, which relaxed the requirements for redirects to data-only
   layers

 - Fix a use-after-free in lookup of a hardlink with a FUSE upper,
   reported by Sashiko

 - Fix a mount failure right after unmount of an overlay with the same
   upperdir

 - Reject lower layers on the same fs with different idmaps, which could
   decode file handles through the wrong layer

 - Minor fixes for a memory leak, an error message and readdir d_ino

* tag 'ovl-fixes-7.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/overlayfs/vfs:
  selftests: overlayfs: reject different lower idmaps on same fs
  ovl: reject different lower idmaps on the same fs
  ovl: bump the impure dir version when linking a file with origin
  ovl: return EIO if the lowerdata is missing
  ovl: follow lower to lowerdata redirects from any lower layer
  ovl: report the requested redirect_dir mode in conflicting options
  ovl: do not allow nfs_export with data-only layers
  ovl: do not check the deferred lowerdata redirect on index lookup
  ovl: fix leak of lowerdata redirect on ovl_get_inode() failure
  ovl: do not always clear absolute_redirect
  ovl: release the upperdir/workdir in-use locks before the umount sync
  ovl: do not read the flags of a put upper dentry in lookup
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Pull overlayfs fixes from Amir Goldstein:

 - Fixes for data-only layers (composefs), some for regressions from
   v6.16, which relaxed the requirements for redirects to data-only
   layers

 - Fix a use-after-free in lookup of a hardlink with a FUSE upper,
   reported by Sashiko

 - Fix a mount failure right after unmount of an overlay with the same
   upperdir

 - Reject lower layers on the same fs with different idmaps, which could
   decode file handles through the wrong layer

 - Minor fixes for a memory leak, an error message and readdir d_ino

* tag 'ovl-fixes-7.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/overlayfs/vfs:
  selftests: overlayfs: reject different lower idmaps on same fs
  ovl: reject different lower idmaps on the same fs
  ovl: bump the impure dir version when linking a file with origin
  ovl: return EIO if the lowerdata is missing
  ovl: follow lower to lowerdata redirects from any lower layer
  ovl: report the requested redirect_dir mode in conflicting options
  ovl: do not allow nfs_export with data-only layers
  ovl: do not check the deferred lowerdata redirect on index lookup
  ovl: fix leak of lowerdata redirect on ovl_get_inode() failure
  ovl: do not always clear absolute_redirect
  ovl: release the upperdir/workdir in-use locks before the umount sync
  ovl: do not read the flags of a put upper dentry in lookup
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge tag 'erofs-for-7.4-rc3-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs</title>
<updated>2026-11-13T17:48:11+00:00</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2026-11-13T17:48:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=b970ee43be13fc45851e957469807cac049c10ce'/>
<id>b970ee43be13fc45851e957469807cac049c10ce</id>
<content type='text'>
Pull erofs fixes from Gao Xiang:

 - Fix stacked fs check for file-backed mounts with extra devices

 - Disallow file-backed mounts on shared backing inodes

 - Reset metadata offsets when fsoffset= is used to fix xattr reads
   inside and outside the metabox in ont shot

 - Refine on-disk format summary

* tag 'erofs-for-7.4-rc3-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs:
  docs: erofs: refine the on-disk overview
  erofs: reset buf-&gt;off in erofs_init_metabuf()
  erofs: treat files shared by inode_share as stacked
  erofs: apply the stacked fs check to extra file-backed devices
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Pull erofs fixes from Gao Xiang:

 - Fix stacked fs check for file-backed mounts with extra devices

 - Disallow file-backed mounts on shared backing inodes

 - Reset metadata offsets when fsoffset= is used to fix xattr reads
   inside and outside the metabox in ont shot

 - Refine on-disk format summary

* tag 'erofs-for-7.4-rc3-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs:
  docs: erofs: refine the on-disk overview
  erofs: reset buf-&gt;off in erofs_init_metabuf()
  erofs: treat files shared by inode_share as stacked
  erofs: apply the stacked fs check to extra file-backed devices
</pre>
</div>
</content>
</entry>
<entry>
<title>docs: erofs: refine the on-disk overview</title>
<updated>2026-11-12T09:31:25+00:00</updated>
<author>
<name>Gao Xiang</name>
<email>xiang.gao@docker.com</email>
</author>
<published>2026-11-12T09:16:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=7906eac042a4d6facd3b2dcebfe7179fedfcf1f2'/>
<id>7906eac042a4d6facd3b2dcebfe7179fedfcf1f2</id>
<content type='text'>
The existing on-disk summary mainly describes inode and shared xattr
metadata views, leaving the overall layout and design rationale unclear.

Expand the summary and refine the terminology and wording while keeping
the section a high-level overview.

Assisted-by: chatgpt:gpt-6.1-sol
Reviewed-by: Chengyu Zhu &lt;hudsonzhu@tencent.com&gt;
Signed-off-by: Gao Xiang &lt;xiang.gao@docker.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The existing on-disk summary mainly describes inode and shared xattr
metadata views, leaving the overall layout and design rationale unclear.

Expand the summary and refine the terminology and wording while keeping
the section a high-level overview.

Assisted-by: chatgpt:gpt-6.1-sol
Reviewed-by: Chengyu Zhu &lt;hudsonzhu@tencent.com&gt;
Signed-off-by: Gao Xiang &lt;xiang.gao@docker.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge tag 'vfs-7.4-rc3.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs</title>
<updated>2026-11-10T15:25:09+00:00</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2026-11-10T15:25:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=5f5be6584cf5af0d70ee2fd40aa6264da18617ec'/>
<id>5f5be6584cf5af0d70ee2fd40aa6264da18617ec</id>
<content type='text'>
Pull 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'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'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'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'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'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 'vfs-7.4-rc3.fixes' 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'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's pid namespace
  fs: clamp FIONREAD result to int range
  eventpoll: wake the next waiter when a woken waiter is killed
  statx: don'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't let errseq_check_and_advance() hide later errors
  backing-file: pass RWF_NOAPPEND to synchronous writes
  initrd: flush deferred fput() before mounting root
  ...
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Pull 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'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'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'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'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'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 'vfs-7.4-rc3.fixes' 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'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's pid namespace
  fs: clamp FIONREAD result to int range
  eventpoll: wake the next waiter when a woken waiter is killed
  statx: don'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't let errseq_check_and_advance() hide later errors
  backing-file: pass RWF_NOAPPEND to synchronous writes
  initrd: flush deferred fput() before mounting root
  ...
</pre>
</div>
</content>
</entry>
<entry>
<title>ovl: follow lower to lowerdata redirects from any lower layer</title>
<updated>2026-11-10T14:47:33+00:00</updated>
<author>
<name>Giuseppe Scrivano</name>
<email>giuseppe@scrivano.org</email>
</author>
<published>2026-11-07T20:34:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=cbf4ccabcbfdda3da70c10b37e21e99cd2ee0946'/>
<id>cbf4ccabcbfdda3da70c10b37e21e99cd2ee0946</id>
<content type='text'>
Commit 5ef7bcdeecc9 ("ovl: relax redirect/metacopy requirements for lower
-&gt; data redirect") allowed following redirects from a lower layer to a
data-only layer without redirect_dir=follow and metacopy=on, so that
data-only layers can be used with userxattr.

That fix was incomplete.  Without metacopy=on, a metacopy file with an
absolute redirect into a data-only layer is followed only from the lowest
lower layer.  From any other lower layer, the lookup fails with EPERM.

That commit also changed the behavior of redirect_dir=nofollow without
making it visible to users.  With data-only layers, some redirects are
followed, although the mount options show redirect_dir=nofollow, or
show nothing when that is the default.

Add redirect_dir=followdata, which follows only redirects from lower to
lowerdata, and select it when there are data-only layers, unless
redirect_dir=follow or redirect_dir=on is in effect, so the redirect
follow mode in effect is shown in /proc/self/mountinfo.

Without metacopy=on, the absolute redirect of a lower metacopy file stops
the lookup in the lower layers and the data is looked up in the data-only
layers.  Data-only layers cannot be used without following redirects,
so reject an explicit redirect_dir=nofollow with data-only layers.

Fixes: 5ef7bcdeecc9 ("ovl: relax redirect/metacopy requirements for lower -&gt; data redirect")
Cc: stable@vger.kernel.org
Signed-off-by: Giuseppe Scrivano &lt;giuseppe@scrivano.org&gt;
Signed-off-by: Amir Goldstein &lt;amir73il@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Commit 5ef7bcdeecc9 ("ovl: relax redirect/metacopy requirements for lower
-&gt; data redirect") allowed following redirects from a lower layer to a
data-only layer without redirect_dir=follow and metacopy=on, so that
data-only layers can be used with userxattr.

That fix was incomplete.  Without metacopy=on, a metacopy file with an
absolute redirect into a data-only layer is followed only from the lowest
lower layer.  From any other lower layer, the lookup fails with EPERM.

That commit also changed the behavior of redirect_dir=nofollow without
making it visible to users.  With data-only layers, some redirects are
followed, although the mount options show redirect_dir=nofollow, or
show nothing when that is the default.

Add redirect_dir=followdata, which follows only redirects from lower to
lowerdata, and select it when there are data-only layers, unless
redirect_dir=follow or redirect_dir=on is in effect, so the redirect
follow mode in effect is shown in /proc/self/mountinfo.

Without metacopy=on, the absolute redirect of a lower metacopy file stops
the lookup in the lower layers and the data is looked up in the data-only
layers.  Data-only layers cannot be used without following redirects,
so reject an explicit redirect_dir=nofollow with data-only layers.

Fixes: 5ef7bcdeecc9 ("ovl: relax redirect/metacopy requirements for lower -&gt; data redirect")
Cc: stable@vger.kernel.org
Signed-off-by: Giuseppe Scrivano &lt;giuseppe@scrivano.org&gt;
Signed-off-by: Amir Goldstein &lt;amir73il@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>NFS/localio: give the LOCALIO probe a short timeout of its own</title>
<updated>2026-11-09T20:05:53+00:00</updated>
<author>
<name>Mike Snitzer</name>
<email>snitzer@kernel.org</email>
</author>
<published>2026-11-02T21:52:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=5e810a57a1cf2fc785d89e711ff40f1112f6404c'/>
<id>5e810a57a1cf2fc785d89e711ff40f1112f6404c</id>
<content type='text'>
The LOCALIO probe clones the NFS client with rpc_bind_new_program(),
which NULL-pings the new program before the probe sends UUID_IS_LOCAL.
Both calls use the mount's timeout.  With timeo=600 and the default
retrans, a server that does not answer the LOCALIO program holds each
probe for about 170 s.  The client then logs "nfslocalio: server ... not
responding, timed out".  On such a server, one mkdir took about 170 s
of a 202 s run and ended when the probe gave up.

Give the probe a soft timeout of its own, with no retries and no log
message.  The new nfs module parameter localio_timeout sets it in
seconds, 10 by default and at most 600.  Set it on a private clone of
the NFS client before rpc_bind_new_program(), so that the ping uses it
as well.  Clear cl_noretranstimeo, which NFSv4 mounts set, because with
it a sent call does not time out while the connection stays up.  With
localio_timeout set to 0, the probe uses the NFS client's timeouts, as
before.  The probe still shares the NFS client's transport and runs
beside its RPCs.  The NFS client's own timeouts do not change.

Tested through a proxy that drops every call to the LOCALIO program:
the probe gave up after 10.6 s and logged nothing.  With
localio_timeout=0 it took 182.9 s and logged the message above.  The
probe still succeeds against a server that supports LOCALIO: with no
proxy, a 64 MiB O_DIRECT write through LOCALIO sent no WRITE RPCs.

Signed-off-by: Mike Snitzer &lt;snitzer@kernel.org&gt;
Signed-off-by: Anna Schumaker &lt;anna.schumaker@hammerspace.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The LOCALIO probe clones the NFS client with rpc_bind_new_program(),
which NULL-pings the new program before the probe sends UUID_IS_LOCAL.
Both calls use the mount's timeout.  With timeo=600 and the default
retrans, a server that does not answer the LOCALIO program holds each
probe for about 170 s.  The client then logs "nfslocalio: server ... not
responding, timed out".  On such a server, one mkdir took about 170 s
of a 202 s run and ended when the probe gave up.

Give the probe a soft timeout of its own, with no retries and no log
message.  The new nfs module parameter localio_timeout sets it in
seconds, 10 by default and at most 600.  Set it on a private clone of
the NFS client before rpc_bind_new_program(), so that the ping uses it
as well.  Clear cl_noretranstimeo, which NFSv4 mounts set, because with
it a sent call does not time out while the connection stays up.  With
localio_timeout set to 0, the probe uses the NFS client's timeouts, as
before.  The probe still shares the NFS client's transport and runs
beside its RPCs.  The NFS client's own timeouts do not change.

Tested through a proxy that drops every call to the LOCALIO program:
the probe gave up after 10.6 s and logged nothing.  With
localio_timeout=0 it took 182.9 s and logged the message above.  The
probe still succeeds against a server that supports LOCALIO: with no
proxy, a 64 MiB O_DIRECT write through LOCALIO sent no WRITE RPCs.

Signed-off-by: Mike Snitzer &lt;snitzer@kernel.org&gt;
Signed-off-by: Anna Schumaker &lt;anna.schumaker@hammerspace.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>NFS/localio: probe again for LOCALIO when localio_enabled is set to Y</title>
<updated>2026-11-09T20:04:58+00:00</updated>
<author>
<name>Mike Snitzer</name>
<email>snitzer@kernel.org</email>
</author>
<published>2026-11-02T21:52:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=b3497ac6e96effd5450b820de171e1137223d36c'/>
<id>b3497ac6e96effd5450b820de171e1137223d36c</id>
<content type='text'>
localio_enabled is checked on every I/O.  Setting it to N sends the next
I/O of every client over the network, and setting it back to Y resumes
LOCALIO for a client that uses it.  But a client that probed while
localio_enabled was N was disabled by the probe, and nothing probes it
again: NFSv3 probes again only when nfs3_localio_probe_throttle is set,
and NFSv4 only after state recovery.  Such a client stays on the network
after localio_enabled is set to Y.

Give localio_enabled a set handler that, on a change from N to Y, queues
a probe for every ready client, in every network namespace, that does not
use LOCALIO.  On the module command line there are no clients yet, and
nothing is probed.

Tested with NFSv3 and NFSv4.2 on a loopback mount: a client mounted with
localio_enabled=N sent its writes over the network, and after
localio_enabled was set to Y it sent none.

Signed-off-by: Mike Snitzer &lt;snitzer@kernel.org&gt;
Signed-off-by: Anna Schumaker &lt;anna.schumaker@hammerspace.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
localio_enabled is checked on every I/O.  Setting it to N sends the next
I/O of every client over the network, and setting it back to Y resumes
LOCALIO for a client that uses it.  But a client that probed while
localio_enabled was N was disabled by the probe, and nothing probes it
again: NFSv3 probes again only when nfs3_localio_probe_throttle is set,
and NFSv4 only after state recovery.  Such a client stays on the network
after localio_enabled is set to Y.

Give localio_enabled a set handler that, on a change from N to Y, queues
a probe for every ready client, in every network namespace, that does not
use LOCALIO.  On the module command line there are no clients yet, and
nothing is probed.

Tested with NFSv3 and NFSv4.2 on a loopback mount: a client mounted with
localio_enabled=N sent its writes over the network, and after
localio_enabled was set to Y it sent none.

Signed-off-by: Mike Snitzer &lt;snitzer@kernel.org&gt;
Signed-off-by: Anna Schumaker &lt;anna.schumaker@hammerspace.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge tag 'x86-urgent-2026-11-08' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip</title>
<updated>2026-11-08T18:29:22+00:00</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2026-11-08T18:29:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=11b6438b9e9f30e2eead2f232a58ef3f71a206be'/>
<id>11b6438b9e9f30e2eead2f232a58ef3f71a206be</id>
<content type='text'>
Pull x86 fixes from Ingo Molnar:

 - Select the BHI mitigation based on the attack vector properly
   (Breno Leitao)

 - Fix i386-gcov build bug in csum_ipv6_magic() due to overly
   strict asm constraints that cannot be met in that build mode
   (Rosen Penev)

 - Fix Vmware-guest i386 high-bandwidth hypercall arguments
   under UNWINDER_GUESS &amp; disabled frame-pointers (Zack Rusin)

 - Fix resctrl AMD ABMC counter ID field width (Babu Moger)

 - Fix restctrl pqos tool ABI breakage by reverting the
   mbm_assign_mode to default mode at boot (Babu Moger)

 - Initialize wall clock in get_rtc_noop() (Naman Jain)

 - Fix ptrace historic ABI quirk regression (Thomas Gleixner)

 - Add Drew Fustini as resctrl reviewer and Ben Horgan
   as fs/resctrl reviewer

 - Clear SEV RMPOPT when segmented RMP is disabled by firmware but
   is advertised as available (Ashish Kalra)

 - Set up SEV RMPOPT only on an active SNP host (Ashish Kalra)

 - Don't emit KCFI_REFERENCE() in modules (Ridge Lomont)

 - Ignore negative NMI handler durations (Breno Leitao)

 - Fix off-by-one error in boot-time sme_clear_pgd() (Thorsten Blum)

 - Fix ASID allocation bug (Chris Mason)

* tag 'x86-urgent-2026-11-08' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  x86/mm: Fix global ASID handed out to two processes
  x86/boot: Fix off-by-one error in sme_clear_pgd()
  MAINTAINERS: Add Ben Horgan as fs/resctrl reviewer
  x86/nmi: Ignore negative NMI handler durations
  x86/kcfi: Don't emit KCFI_REFERENCE() in modules
  x86/sev: Set up RMPOPT only on an active SNP host
  x86/sev: Clear RMPOPT when segmented RMP is disabled by firmware
  MAINTAINERS: resctrl: Add myself as reviewer
  x86/entry: Fix ptrace regression
  x86/init: Initialize wall clock in get_rtc_noop()
  x86,fs/resctrl: Keep mbm_assign_mode in default mode at boot
  x86/resctrl: Correct ABMC counter ID field width
  x86/vmware: Fix i386 high-bandwidth hypercall arguments
  x86/csum: Relax the len and proto constraints in 32-bit csum_ipv6_magic()
  x86/bugs: Select the BHI mitigation based on the attack vector properly
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Pull x86 fixes from Ingo Molnar:

 - Select the BHI mitigation based on the attack vector properly
   (Breno Leitao)

 - Fix i386-gcov build bug in csum_ipv6_magic() due to overly
   strict asm constraints that cannot be met in that build mode
   (Rosen Penev)

 - Fix Vmware-guest i386 high-bandwidth hypercall arguments
   under UNWINDER_GUESS &amp; disabled frame-pointers (Zack Rusin)

 - Fix resctrl AMD ABMC counter ID field width (Babu Moger)

 - Fix restctrl pqos tool ABI breakage by reverting the
   mbm_assign_mode to default mode at boot (Babu Moger)

 - Initialize wall clock in get_rtc_noop() (Naman Jain)

 - Fix ptrace historic ABI quirk regression (Thomas Gleixner)

 - Add Drew Fustini as resctrl reviewer and Ben Horgan
   as fs/resctrl reviewer

 - Clear SEV RMPOPT when segmented RMP is disabled by firmware but
   is advertised as available (Ashish Kalra)

 - Set up SEV RMPOPT only on an active SNP host (Ashish Kalra)

 - Don't emit KCFI_REFERENCE() in modules (Ridge Lomont)

 - Ignore negative NMI handler durations (Breno Leitao)

 - Fix off-by-one error in boot-time sme_clear_pgd() (Thorsten Blum)

 - Fix ASID allocation bug (Chris Mason)

* tag 'x86-urgent-2026-11-08' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  x86/mm: Fix global ASID handed out to two processes
  x86/boot: Fix off-by-one error in sme_clear_pgd()
  MAINTAINERS: Add Ben Horgan as fs/resctrl reviewer
  x86/nmi: Ignore negative NMI handler durations
  x86/kcfi: Don't emit KCFI_REFERENCE() in modules
  x86/sev: Set up RMPOPT only on an active SNP host
  x86/sev: Clear RMPOPT when segmented RMP is disabled by firmware
  MAINTAINERS: resctrl: Add myself as reviewer
  x86/entry: Fix ptrace regression
  x86/init: Initialize wall clock in get_rtc_noop()
  x86,fs/resctrl: Keep mbm_assign_mode in default mode at boot
  x86/resctrl: Correct ABMC counter ID field width
  x86/vmware: Fix i386 high-bandwidth hypercall arguments
  x86/csum: Relax the len and proto constraints in 32-bit csum_ipv6_magic()
  x86/bugs: Select the BHI mitigation based on the attack vector properly
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge tag 'ovl-fixes-7.4-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/overlayfs/vfs</title>
<updated>2026-11-06T16:28:14+00:00</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2026-11-06T16:28:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=ce8f7280865e90c02878419733b7bed420eba94b'/>
<id>ce8f7280865e90c02878419733b7bed420eba94b</id>
<content type='text'>
Pull overlayfs fixes from Amir Goldstein:

 - Fix a self deadlock of a fanotify permission event listener that also
   watches the layers, when it reads an overlay directory

 - Three casefold fixes, found by Chris Mason's AI review

 - Fix a decode of a modified file handle with nfs_export=on, which
   could read the stale lower data of a copied up file, also found by
   Chris Mason's AI review

 - Fix an overlay selftest after an errno change

* tag 'ovl-fixes-7.4-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/overlayfs/vfs:
  selftests/fscontext_ns: expect EINVAL for overlay descendant userns create
  ovl: look up the index by the decoded origin
  ovl: inherit FMODE_NONOTIFY when reading directory layers
  ovl: inherit FMODE_NONOTIFY when opening directory realfiles
  ovl: fix whiteout creation in casefolded directories
  ovl: do not let chattr change the casefold flag
  ovl: fail the mount if the casefold flag has changed
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Pull overlayfs fixes from Amir Goldstein:

 - Fix a self deadlock of a fanotify permission event listener that also
   watches the layers, when it reads an overlay directory

 - Three casefold fixes, found by Chris Mason's AI review

 - Fix a decode of a modified file handle with nfs_export=on, which
   could read the stale lower data of a copied up file, also found by
   Chris Mason's AI review

 - Fix an overlay selftest after an errno change

* tag 'ovl-fixes-7.4-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/overlayfs/vfs:
  selftests/fscontext_ns: expect EINVAL for overlay descendant userns create
  ovl: look up the index by the decoded origin
  ovl: inherit FMODE_NONOTIFY when reading directory layers
  ovl: inherit FMODE_NONOTIFY when opening directory realfiles
  ovl: fix whiteout creation in casefolded directories
  ovl: do not let chattr change the casefold flag
  ovl: fail the mount if the casefold flag has changed
</pre>
</div>
</content>
</entry>
</feed>
