diff mbox series

[GIT,PULL] vfs fixes

Message ID 20250106-vfs-fixes-5a197ffbc262@brauner (mailing list archive)
State New
Headers show
Series [GIT,PULL] vfs fixes | expand

Pull-request

git@gitolite.kernel.org:pub/scm/linux/kernel/git/vfs/vfs tags/vfs-6.13-rc7.fixes

Commit Message

Christian Brauner Jan. 6, 2025, 3:32 p.m. UTC
Hey Linus,

slowly resurrecting from the holidays... What year is it? And have we
already started generating pull requests with AI?

/* Summary */

This contains various fixes for this cycle:

- Relax assertions on failure to encode file handles.
  The ->encode_fh() method can fail for various reasons. None of them
  warrant a WARN_ON().

- Fix overlayfs file handle encoding by allowing encoding an fid from an
  inode without an alias.

- Make sure fuse_dir_open() handles FOPEN_KEEP_CACHE. If it's not
  specified fuse needs to invaludate the directory inode page cache.

- Fix qnx6 so it builds with gcc-15.

- Various fixes for netfslib and ceph and nfs filesystems:

  - Ignore silly rename files from afs and nfs when building header archives.

  - Fix read result collection in netfslib with multiple subrequests.

  - Handle ENOMEM for netfslib buffered reads.

  - Fix oops in nfs_netfs_init_request().

  - Parse the secctx command immediately in cachefiles.

  - Remove a redundant smp_rmb() in netfslib.

  - Handle recursion in read retry in netfslib.

  - Fix clearing of folio_queue.

  - Fix missing cancellation of copy-to_cache when the cache for a file
    is temporarly disabled in netfslib.

- Sanity check the hfs root record.

- Fix zero padding data issues in concurrent write scenarios.

- Fix is_mnt_ns_file() after converting nsfs to path_from_stashed().

- Fix missing declaration of init_files.

- Increase I/O priority when writing revoke records in jbd2.

- Flush filesystem device before updating tail sequence in jbd2.

/* Testing */

gcc version 14.2.0 (Debian 14.2.0-6)
Debian clang version 16.0.6 (27+b1)

No build failures or warnings were observed.

/* Conflicts */

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

- There will be a small merge conflict with mainline. The conflict
  resolution should like this:

+++ b/fs/smb/client/smb2pdu.c
@@@ -4840,12 -4841,12 +4841,14 @@@ smb2_writev_callback(struct mid_q_entr
                if (written > wdata->subreq.len)
                        written &= 0xFFFF;

 +              cifs_stats_bytes_written(tcon, written);
 +
-               if (written < wdata->subreq.len)
+               if (written < wdata->subreq.len) {
                        wdata->result = -ENOSPC;
-               else
+               } else if (written > 0) {
                        wdata->subreq.len = written;
+                       __set_bit(NETFS_SREQ_MADE_PROGRESS, &wdata->subreq.flags);
+               }
                break;
        case MID_REQUEST_SUBMITTED:
        case MID_RETRY_NEEDED:

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

No known conflicts.

The following changes since commit 40384c840ea1944d7c5a392e8975ed088ecf0b37:

  Linux 6.13-rc1 (2024-12-01 14:28:56 -0800)

are available in the Git repository at:

  git@gitolite.kernel.org:pub/scm/linux/kernel/git/vfs/vfs tags/vfs-6.13-rc7.fixes

for you to fetch changes up to 368fcc5d3f8bf645a630a44e65f5eb008aba7082:

  Merge patch series "Fix encoding overlayfs fid for fanotify delete events" (2025-01-06 15:43:58 +0100)

Please consider pulling these changes from the signed vfs-6.13-rc7.fixes tag.

Thanks!
Christian

----------------------------------------------------------------
vfs-6.13-rc7.fixes

----------------------------------------------------------------
Amir Goldstein (4):
      fs: relax assertions on failure to encode file handles
      fuse: respect FOPEN_KEEP_CACHE on opendir
      ovl: pass realinode to ovl_encode_real_fh() instead of realdentry
      ovl: support encoding fid from inode with no alias

Brahmajit Das (1):
      fs/qnx6: Fix building with GCC 15

Christian Brauner (4):
      Merge patch series "jbd2: two straightforward fixes"
      Merge patch series "iomap: fix zero padding data issue in concurrent append writes"
      Merge patch series "netfs, ceph, nfs, cachefiles: Miscellaneous fixes/changes"
      Merge patch series "Fix encoding overlayfs fid for fanotify delete events"

David Howells (9):
      kheaders: Ignore silly-rename files
      netfs: Fix non-contiguous donation between completed reads
      netfs: Fix enomem handling in buffered reads
      nfs: Fix oops in nfs_netfs_init_request() when copying to cache
      netfs: Fix missing barriers by using clear_and_wake_up_bit()
      netfs: Work around recursion by abandoning retry if nothing read
      netfs: Fix ceph copy to cache on write-begin
      netfs: Fix the (non-)cancellation of copy when cache is temporarily disabled
      netfs: Fix is-caching check in read-retry

Leo Stone (1):
      hfs: Sanity check the root record

Long Li (2):
      iomap: pass byte granular end position to iomap_add_to_ioend
      iomap: fix zero padding data issue in concurrent append writes

Max Kellermann (1):
      cachefiles: Parse the "secctx" immediately

Miklos Szeredi (1):
      fs: fix is_mnt_ns_file()

Zhang Kunbo (1):
      fs: fix missing declaration of init_files

Zhang Yi (2):
      jbd2: increase IO priority for writing revoke records
      jbd2: flush filesystem device before updating tail sequence

Zilin Guan (1):
      netfs: Remove redundant use of smp_rmb()

 fs/9p/vfs_addr.c         |  6 ++++-
 fs/afs/write.c           |  5 +++-
 fs/cachefiles/daemon.c   | 14 +++++-----
 fs/cachefiles/internal.h |  3 ++-
 fs/cachefiles/security.c |  6 ++---
 fs/file.c                |  1 +
 fs/fuse/dir.c            |  2 ++
 fs/hfs/super.c           |  4 ++-
 fs/iomap/buffered-io.c   | 66 +++++++++++++++++++++++++++++++++++++++++-------
 fs/jbd2/commit.c         |  4 +--
 fs/jbd2/revoke.c         |  2 +-
 fs/namespace.c           | 10 ++++++--
 fs/netfs/buffered_read.c | 28 +++++++++++---------
 fs/netfs/direct_write.c  |  1 -
 fs/netfs/read_collect.c  | 33 ++++++++++++++----------
 fs/netfs/read_pgpriv2.c  |  4 +++
 fs/netfs/read_retry.c    |  8 +++---
 fs/netfs/write_collect.c | 14 ++++------
 fs/netfs/write_issue.c   |  2 ++
 fs/nfs/fscache.c         |  9 ++++++-
 fs/notify/fdinfo.c       |  4 +--
 fs/overlayfs/copy_up.c   | 16 ++++++------
 fs/overlayfs/export.c    | 49 +++++++++++++++++++----------------
 fs/overlayfs/namei.c     |  4 +--
 fs/overlayfs/overlayfs.h |  2 +-
 fs/qnx6/inode.c          | 11 +++-----
 fs/smb/client/cifssmb.c  | 13 +++++++---
 fs/smb/client/smb2pdu.c  |  9 ++++---
 include/linux/iomap.h    |  2 +-
 include/linux/netfs.h    |  7 +++--
 kernel/gen_kheaders.sh   |  1 +
 31 files changed, 217 insertions(+), 123 deletions(-)

Comments

pr-tracker-bot@kernel.org Jan. 6, 2025, 6:40 p.m. UTC | #1
The pull request you sent on Mon,  6 Jan 2025 16:32:26 +0100:

> git@gitolite.kernel.org:pub/scm/linux/kernel/git/vfs/vfs tags/vfs-6.13-rc7.fixes

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/fbfd64d25c7af3b8695201ebc85efe90be28c5a3

Thank you!
diff mbox series

Patch

diff --cc fs/smb/client/smb2pdu.c
index 959359301250,458b53d1f9cb..000000000000
--- a/fs/smb/client/smb2pdu.c