vfs fixes
Christian Brauner
maintainerHey Linus,
/* Summary */
This contains a first round of fixes for this cycle:
- Fix the AT_HANDLE_CONNECTABLE option so filesystems that don't know how to decode a connected non-dir dentry fail the request.
- Use repr(transparent) to ensure identical layout between the C and Rust implementation of struct file.
- Add a missing xas_pause() into the dax code employing wait_entry_unlocked_exclusive().
- Fix FOP_DONTCACHE which we disabled for v6.15. A folio could get redirtied and/or scheduled for writeback after the initial dropbehind test. Change the test accordingly to handle these cases so we can re-enable FOP_DONTCACHE again.
This obviously will need backports to v6.15.
/* Testing */
gcc (Debian 14.2.0-19) 14.2.0
Debian clang version 19.1.7 (3)
No build failures or warnings were observed.
/* Conflicts */
Merge conflicts with mainline
=============================
No known conflicts.
Merge conflicts with other trees
================================
No known conflicts.
The following changes since commit 015a99fa76650e7d6efa3e36f20c0f5b346fe9ce:
Merge tag 'nolibc-20250526-for-6.16-1' of git://git.kernel.org/pub/scm/linux/kernel/git/nolibc/linux-nolibc (2025-05-27 11:27:09 -0700)
are available in the Git repository at:
[email protected]:pub/scm/linux/kernel/git/vfs/vfs tags/vfs-6.16-rc2.fixes
for you to fetch changes up to 5402c4d4d2000a9baa30c1157c97152ec6383733:
exportfs: require ->fh_to_parent() to encode connectable file handles (2025-05-30 07:30:47 +0200)
Please consider pulling these changes from the signed vfs-6.16-rc2.fixes tag.
Thanks!
Christian
----------------------------------------------------------------
vfs-6.16-rc2.fixes
----------------------------------------------------------------
Alistair Popple (1):
fs/dax: Fix "don't skip locked entries when scanning entries"
Amir Goldstein (1):
exportfs: require ->fh_to_parent() to encode connectable file handles
Christian Brauner (2):
Merge patch series "dropbehind fixes and cleanups"
Merge patch series "rust: file: mark LocalFile as repr(transparent)"
Jens Axboe (6):
mm/filemap: gate dropbehind invalidate on folio !dirty && !writeback mm/filemap: use filemap_end_dropbehind() for read invalidation Revert "Disable FOP_DONTCACHE for now due to bugs" mm/filemap: unify read/write dropbehind naming mm/filemap: unify dropbehind flag testing and clearing
iomap: don't lose folio dropbehind state for overwrites
Pekka Ristola (2):
rust: file: mark LocalFile as repr(transparent)
rust: file: improve safety comments
fs/dax.c | 2 +- fs/iomap/buffered-io.c | 2 ++ fs/xfs/xfs_aops.c | 22 ++++++++++++++++++++-- include/linux/exportfs.h | 10 ++++++++++ include/linux/fs.h | 2 +- include/linux/iomap.h | 5 ++++- mm/filemap.c | 39 ++++++++++++++++++++++++--------------- rust/kernel/fs/file.rs | 10 ++++++---- 8 files changed, 68 insertions(+), 24 deletions(-)
The pull request you sent on Mon, 2 Jun 2025 11:02:42 +0200:
The pull request you sent on Mon, 2 Jun 2025 11:02:42 +0200:
Quoted 1 line
[email protected]:pub/scm/linux/kernel/git/vfs/vfs tags/vfs-6.16-rc2.fixes
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/fcd0bb8e99f7f5fbe6979b8633ed86502d822203
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/prtracker.html