linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Christian Brauner <brauner@kernel.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Christian Brauner <brauner@kernel.org>,
	linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [GIT PULL 02/17 for v6.19] vfs misc
Date: Fri, 28 Nov 2025 17:48:13 +0100	[thread overview]
Message-ID: <20251128-vfs-misc-v619-0a57215a07b7@brauner> (raw)
In-Reply-To: <20251128-vfs-v619-77cd88166806@brauner>

Hey Linus,

/* Summary */
This contains the usually miscellaneous vfs changes:

Note that this has the kbuild -fms-extensions support merged in as the
pipe changes depends on it.

Features

- Cheaper MAY_EXEC handling for path lookup. This elides MAY_WRITE
  permission checks during path lookup and adds the IOP_FASTPERM_MAY_EXEC
  flag so filesystems like btrfs can avoid expensive permission work.

- Hide dentry_cache behind runtime const machinery.

- Add German Maglione as virtiofs co-maintainer.

Cleanups

- Tidy up and inline step_into() and walk_component() for improved code
  generation.

- Re-enable IOCB_NOWAIT writes to files. This refactors file timestamp
  update logic, fixing a layering bypass in btrfs when updating timestamps
  on device files and improving FMODE_NOCMTIME handling in VFS now that
  nfsd started using it.

- Path lookup optimizations extracting slowpaths into dedicated routines
  and adding branch prediction hints for mntput_no_expire(), fd_install(),
  lookup_slow(), and various other hot paths.

- Enable clang's -fms-extensions flag, requiring a JFS rename to avoid
  conflicts.

- Remove spurious exports in fs/file_attr.c.

- Stop duplicating union pipe_index declaration. This depends on the
  shared kbuild branch that brings in -fms-extensions support which is
  merged into this branch.

- Use MD5 library instead of crypto_shash in ecryptfs.

- Use largest_zero_folio() in iomap_dio_zero().

- Replace simple_strtol/strtoul with kstrtoint/kstrtouint in init and
  initrd code.

- Various typo fixes.

Fixes

- Fix emergency sync for btrfs. Btrfs requires an explicit sync_fs() call
  with wait == 1 to commit super blocks. The emergency sync path never
  passed this, leaving btrfs data uncommitted during emergency sync.

- Use local kmap in watch_queue's post_one_notification().

- Add hint prints in sb_set_blocksize() for LBS dependency on THP.

/* Testing */

gcc (Debian 14.2.0-19) 14.2.0
Debian clang version 19.1.7 (3+b1)

No build failures or warnings were observed.

/* Conflicts */

Merge conflicts with mainline
=============================

No known conflicts.

Merge conflicts with other trees
================================

The following changes since commit dcb6fa37fd7bc9c3d2b066329b0d27dedf8becaa:

  Linux 6.18-rc3 (2025-10-26 15:59:49 -0700)

are available in the Git repository at:

  git@gitolite.kernel.org:pub/scm/linux/kernel/git/vfs/vfs tags/vfs-6.19-rc1.misc

for you to fetch changes up to ebf8538979101ef879742dcfaf04b684f5461e12:

  MAINTAINERS: add German Maglione as virtiofs co-maintainer (2025-11-27 10:00:09 +0100)

Please consider pulling these changes from the signed vfs-6.19-rc1.misc tag.

Thanks!
Christian

----------------------------------------------------------------
vfs-6.19-rc1.misc

----------------------------------------------------------------
Askar Safin (2):
      fs/splice.c: trivial fix: pipes -> pipe's
      include/linux/fs.h: trivial fix: regualr -> regular

Baokun Li (1):
      bdev: add hint prints in sb_set_blocksize() for LBS dependency on THP

Christian Brauner (6):
      Merge patch series "fs: fully sync all fsese even for an emergency sync"
      Merge patch "kbuild: Add '-fms-extensions' to areas with dedicated CFLAGS"
      Merge branch 'kbuild-6.19.fms.extension'
      Merge patch series "cheaper MAY_EXEC handling for path lookup"
      Merge patch series "re-enable IOCB_NOWAIT writes to files v2"
      Merge patch series "fs: tidy up step_into() & friends before inlining"

Christoph Hellwig (7):
      fs: remove spurious exports in fs/file_attr.c
      fs: refactor file timestamp update logic
      fs: lift the FMODE_NOCMTIME check into file_update_time_flags
      fs: export vfs_utimes
      btrfs: use vfs_utimes to update file timestamps
      btrfs: fix the comment on btrfs_update_time
      orangefs: use inode_update_timestamps directly

Davidlohr Bueso (1):
      watch_queue: Use local kmap in post_one_notification()

Eric Biggers (1):
      ecryptfs: Use MD5 library instead of crypto_shash

Kaushlendra Kumar (1):
      init: Replace simple_strtoul() with kstrtouint() in root_delay_setup()

Mateusz Guzik (13):
      fs: touch up predicts in putname()
      fs: speed up path lookup with cheaper handling of MAY_EXEC
      btrfs: utilize IOP_FASTPERM_MAY_EXEC
      fs: retire now stale MAY_WRITE predicts in inode_permission()
      fs: touch predicts in do_dentry_open()
      fs: hide dentry_cache behind runtime const machinery
      fs: move fd_install() slowpath into a dedicated routine and provide commentary
      fs: touch up predicts in path lookup
      fs: move mntput_no_expire() slowpath into a dedicated routine
      fs: add predicts based on nd->depth
      fs: mark lookup_slow() as noinline
      fs: tidy up step_into() & friends before inlining
      fs: inline step_into() and walk_component()

Nathan Chancellor (2):
      jfs: Rename _inline to avoid conflict with clang's '-fms-extensions'
      kbuild: Add '-fms-extensions' to areas with dedicated CFLAGS

Pankaj Raghav (1):
      iomap: use largest_zero_folio() in iomap_dio_zero()

Qu Wenruo (2):
      fs: do not pass a parameter for sync_inodes_one_sb()
      fs: fully sync all fses even for an emergency sync

Rasmus Villemoes (2):
      Kbuild: enable -fms-extensions
      fs/pipe: stop duplicating union pipe_index declaration

Stefan Hajnoczi (1):
      MAINTAINERS: add German Maglione as virtiofs co-maintainer

Thorsten Blum (1):
      initrd: Replace simple_strtol with kstrtoint to improve ramdisk_start_setup

 MAINTAINERS                           |   1 +
 Makefile                              |   3 +
 arch/arm64/kernel/vdso32/Makefile     |   3 +-
 arch/loongarch/vdso/Makefile          |   2 +-
 arch/parisc/boot/compressed/Makefile  |   2 +-
 arch/powerpc/boot/Makefile            |   3 +-
 arch/s390/Makefile                    |   3 +-
 arch/s390/purgatory/Makefile          |   3 +-
 arch/x86/Makefile                     |   4 +-
 arch/x86/boot/compressed/Makefile     |   7 +-
 block/bdev.c                          |  19 ++++-
 drivers/firmware/efi/libstub/Makefile |   4 +-
 fs/btrfs/inode.c                      |  16 +++-
 fs/btrfs/volumes.c                    |  11 +--
 fs/dcache.c                           |   6 +-
 fs/ecryptfs/Kconfig                   |   2 +-
 fs/ecryptfs/crypto.c                  |  90 +++------------------
 fs/ecryptfs/ecryptfs_kernel.h         |  13 +---
 fs/ecryptfs/inode.c                   |   7 +-
 fs/ecryptfs/keystore.c                |  65 +++-------------
 fs/ecryptfs/main.c                    |   7 ++
 fs/ecryptfs/super.c                   |   5 +-
 fs/file.c                             |  35 +++++++--
 fs/file_attr.c                        |   4 -
 fs/inode.c                            |  58 +++++---------
 fs/iomap/direct-io.c                  |  38 ++++-----
 fs/jfs/jfs_incore.h                   |   6 +-
 fs/namei.c                            | 142 +++++++++++++++++++++++++---------
 fs/namespace.c                        |  38 +++++----
 fs/open.c                             |   6 +-
 fs/orangefs/inode.c                   |   4 +-
 fs/splice.c                           |   2 +-
 fs/sync.c                             |   7 +-
 fs/utimes.c                           |   1 +
 include/asm-generic/vmlinux.lds.h     |   3 +-
 include/linux/fs.h                    |  15 ++--
 include/linux/pipe_fs_i.h             |  23 ++----
 init/do_mounts.c                      |   3 +-
 init/do_mounts_rd.c                   |   3 +-
 kernel/watch_queue.c                  |   4 +-
 scripts/Makefile.extrawarn            |   4 +-
 41 files changed, 329 insertions(+), 343 deletions(-)

  parent reply	other threads:[~2025-11-28 16:51 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-28 16:48 [GIT PULL 00/17 for v6.19] v6.19 Christian Brauner
2025-11-28 16:48 ` [GIT PULL 01/17 for v6.19] vfs iomap Christian Brauner
2025-12-01 22:08   ` pr-tracker-bot
2025-11-28 16:48 ` Christian Brauner [this message]
2025-12-01 22:08   ` [GIT PULL 02/17 for v6.19] vfs misc pr-tracker-bot
2025-11-28 16:48 ` [GIT PULL 03/17 for v6.19] vfs inode Christian Brauner
2025-12-01 22:08   ` pr-tracker-bot
2025-11-28 16:48 ` [GIT PULL 04/17 for v6.19] vfs writeback Christian Brauner
2025-12-01 22:08   ` pr-tracker-bot
2025-11-28 16:48 ` [GIT PULL 05/17 for v6.19] namespaces Christian Brauner
2025-12-01 19:06   ` Eric W. Biederman
2025-12-02 17:00     ` Linus Torvalds
2025-12-03 10:07       ` Christian Brauner
2025-12-01 22:08   ` pr-tracker-bot
2025-11-28 16:48 ` [GIT PULL 06/17 for v6.19] vfs coredump Christian Brauner
2025-12-01 22:08   ` pr-tracker-bot
2025-11-28 16:48 ` [GIT PULL 07/17 for v6.19] vfs folio Christian Brauner
2025-12-01 22:08   ` pr-tracker-bot
2025-11-28 16:48 ` [GIT PULL 08/17 for v6.19] cred guards Christian Brauner
2025-12-01 21:53   ` Linus Torvalds
2025-12-02  1:26     ` Sasha Levin
2025-12-02  1:36       ` [PATCH] nfs/localio: make do_nfs_local_call_write() return void Sasha Levin
2025-12-01 22:08   ` [GIT PULL 08/17 for v6.19] cred guards pr-tracker-bot
2025-11-28 16:48 ` [GIT PULL 09/17 for v6.19] vfs headers Christian Brauner
2025-12-01 23:22   ` pr-tracker-bot
2025-11-28 16:48 ` [GIT PULL 10/17 for v6.19] vfs super guards Christian Brauner
2025-12-01 23:22   ` pr-tracker-bot
2025-11-28 16:48 ` [GIT PULL 11/17 for v6.19] minix Christian Brauner
2025-12-01 23:22   ` pr-tracker-bot
2025-11-28 16:48 ` [GIT PULL 12/17 for v6.19] vfs directory delegations Christian Brauner
2025-12-02  3:19   ` pr-tracker-bot
2025-11-28 16:48 ` [GIT PULL 13/17 for v6.19] vfs directory locking Christian Brauner
2025-12-02  3:19   ` pr-tracker-bot
2025-11-28 16:48 ` [GIT PULL 14/17 for v6.19] overlayfs cred guards Christian Brauner
2025-12-02  3:19   ` pr-tracker-bot
2025-11-28 16:48 ` [GIT PULL 15/17 for v6.19] autofs Christian Brauner
2025-12-02  3:19   ` pr-tracker-bot
2025-11-28 16:48 ` [GIT PULL 16/17 for v6.19] vfs fd prepare Christian Brauner
2025-12-01 14:15   ` Al Viro
2025-12-01 18:41     ` Sean Christopherson
2025-11-28 16:48 ` [GIT PULL 17/17 for v6.19] vfs fd prepare minimal Christian Brauner
2025-12-02  1:35   ` Linus Torvalds
2025-12-02  9:42     ` Christian Brauner
2025-12-02  3:19   ` pr-tracker-bot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20251128-vfs-misc-v619-0a57215a07b7@brauner \
    --to=brauner@kernel.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).