public inbox for linux-fsdevel@vger.kernel.org
 help / color / mirror / Atom feed
* [GIT PULL] overlayfs updates for 6.13
@ 2024-11-22  9:57 Amir Goldstein
  2024-11-23  5:21 ` Linus Torvalds
  2024-11-23  5:57 ` pr-tracker-bot
  0 siblings, 2 replies; 53+ messages in thread
From: Amir Goldstein @ 2024-11-22  9:57 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: Miklos Szeredi, Christian Brauner, linux-kernel, linux-fsdevel,
	linux-unionfs

Hi Linus,

Please pull overlayfs updates for 6.13.

This pull request has some changes in code outside of fs/overlayfs:

1. The backing_file API change touches fuse code - that was collaborated
   with Miklos who authored this API change

2. The additions of revert/override_creds_light() helpers in cred.{h,c}
   were collaborated with Christian who has suggested those helpers

There was also an overlayfs change in this cycle coming from Christian
(file descriptors based layer setup).  His changes do not conflict with
this branch and I have also tested his change along with the fs-next
community test branch.

Most of this branch has been sitting in linux-next for over a week except
for one syzbot issue fix that was added three days ago.

The code has gone through the usual overlayfs test routines.

The branch merges cleanly with master branch of the moment.

Thanks,
Amir.

----------------------------------------------------------------
The following changes since commit 2d5404caa8c7bb5c4e0435f94b28834ae5456623:

  Linux 6.12-rc7 (2024-11-10 14:19:35 -0800)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/overlayfs/vfs.git ovl-update-6.13

for you to fetch changes up to c8b359dddb418c60df1a69beea01d1b3322bfe83:

  ovl: Filter invalid inodes with missing lookup function (2024-11-20 10:23:04 +0100)

----------------------------------------------------------------
overlayfs updates for 6.13

- Fix a syzbot reported NULL pointer deref with bfs lower layers

- Fix a copy up failure of large file from lower fuse fs

- Followup cleanup of backing_file API from Miklos

- Introduction and use of revert/override_creds_light() helpers, that were
  suggested by Christian as a mitigation to cache line bouncing and false
  sharing of fields in overlayfs creator_cred long lived struct cred copy.

- Store up to two backing file references (upper and lower) in an ovl_file
  container instead of storing a single backing file in file->private_data.

  This is used to avoid the practice of opening a short lived backing file
  for the duration of some file operations and to avoid the specialized use
  of FDPUT_FPUT in such occasions, that was getting in the way of Al's
  fd_file() conversions.

----------------------------------------------------------------
Amir Goldstein (6):
      ovl: pass an explicit reference of creators creds to callers
      ovl: do not open non-data lower file for fsync
      ovl: allocate a container struct ovl_file for ovl private context
      ovl: store upper real file in ovl_file struct
      ovl: convert ovl_real_fdget_path() callers to ovl_real_file_path()
      ovl: convert ovl_real_fdget() callers to ovl_real_file()

Miklos Szeredi (1):
      backing-file: clean up the API

Oleksandr Tymoshenko (1):
      ovl: properly handle large files in ovl_security_fileattr

Vasiliy Kovalev (1):
      ovl: Filter invalid inodes with missing lookup function

Vinicius Costa Gomes (4):
      cred: Add a light version of override/revert_creds()
      fs/backing-file: Convert to revert/override_creds_light()
      ovl: use wrapper ovl_revert_creds()
      ovl: Optimize override/revert creds

 fs/backing-file.c            |  53 ++++---
 fs/fuse/passthrough.c        |  32 +++--
 fs/overlayfs/copy_up.c       |   2 +-
 fs/overlayfs/dir.c           |  68 ++++++---
 fs/overlayfs/file.c          | 327 +++++++++++++++++++++++++------------------
 fs/overlayfs/inode.c         |  27 ++--
 fs/overlayfs/namei.c         |  10 +-
 fs/overlayfs/overlayfs.h     |   4 +
 fs/overlayfs/readdir.c       |   8 +-
 fs/overlayfs/util.c          |  14 +-
 fs/overlayfs/xattrs.c        |   9 +-
 include/linux/backing-file.h |  11 +-
 include/linux/cred.h         |  18 +++
 kernel/cred.c                |   6 +-
 14 files changed, 352 insertions(+), 237 deletions(-)

^ permalink raw reply	[flat|nested] 53+ messages in thread

end of thread, other threads:[~2024-11-25 14:13 UTC | newest]

Thread overview: 53+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-22  9:57 [GIT PULL] overlayfs updates for 6.13 Amir Goldstein
2024-11-23  5:21 ` Linus Torvalds
2024-11-23  5:22   ` Linus Torvalds
2024-11-23  6:09   ` Linus Torvalds
2024-11-23  6:14     ` Al Viro
2024-11-23 17:18       ` Linus Torvalds
2024-11-23 12:06   ` Christian Brauner
2024-11-23 17:29     ` Linus Torvalds
2024-11-24 13:43       ` [PATCH 00/26] cred: rework {override,revert}_creds() Christian Brauner
2024-11-24 13:43         ` [PATCH 01/26] tree-wide: s/override_creds()/override_creds_light(get_new_cred())/g Christian Brauner
2024-11-24 13:43         ` [PATCH 02/26] cred: return old creds from revert_creds_light() Christian Brauner
2024-11-24 13:43         ` [PATCH 03/26] tree-wide: s/revert_creds()/put_cred(revert_creds_light())/g Christian Brauner
2024-11-24 13:43         ` [PATCH 04/26] cred: remove old {override,revert}_creds() helpers Christian Brauner
2024-11-24 13:43         ` [PATCH 05/26] tree-wide: s/override_creds_light()/override_creds()/g Christian Brauner
2024-11-24 13:43         ` [PATCH 06/26] tree-wide: s/revert_creds_light()/revert_creds()/g Christian Brauner
2024-11-24 13:43         ` [PATCH 07/26] firmware: avoid pointless reference count bump Christian Brauner
2024-11-24 14:56           ` Amir Goldstein
2024-11-24 13:43         ` [PATCH 08/26] sev-dev: avoid pointless cred " Christian Brauner
2024-11-24 18:19           ` Al Viro
2024-11-24 13:43         ` [PATCH 09/26] target_core_configfs: " Christian Brauner
2024-11-24 18:26           ` Al Viro
2024-11-25 11:31             ` Christian Brauner
2024-11-24 13:43         ` [PATCH 10/26] aio: " Christian Brauner
2024-11-24 13:43         ` [PATCH 11/26] binfmt_misc: " Christian Brauner
2024-11-24 13:43         ` [PATCH 12/26] coredump: " Christian Brauner
2024-11-24 13:43         ` [PATCH 13/26] nfs/localio: avoid pointless cred reference count bumps Christian Brauner
2024-11-24 13:44         ` [PATCH 14/26] nfs/nfs4idmap: avoid pointless reference count bump Christian Brauner
2024-11-24 13:44         ` [PATCH 15/26] nfs/nfs4recover: avoid pointless cred " Christian Brauner
2024-11-25 13:10           ` Chuck Lever
2024-11-24 13:44         ` [PATCH 16/26] nfsfh: " Christian Brauner
2024-11-25 13:11           ` Chuck Lever
2024-11-24 13:44         ` [PATCH 17/26] open: " Christian Brauner
2024-11-24 13:44         ` [PATCH 18/26] ovl: " Christian Brauner
2024-11-24 14:59           ` Amir Goldstein
2024-11-25 11:30             ` Christian Brauner
2024-11-24 13:44         ` [PATCH 19/26] cifs: " Christian Brauner
2024-11-24 13:44         ` [PATCH 20/26] " Christian Brauner
2024-11-24 13:44         ` [PATCH 21/26] smb: " Christian Brauner
2024-11-24 18:37           ` Al Viro
2024-11-25 11:22             ` Christian Brauner
2024-11-24 13:44         ` [PATCH 22/26] io_uring: " Christian Brauner
2024-11-24 13:44         ` [PATCH 23/26] acct: avoid pointless " Christian Brauner
2024-11-24 13:44         ` [PATCH 24/26] cgroup: avoid pointless cred " Christian Brauner
2024-11-24 13:44         ` [PATCH 25/26] trace: " Christian Brauner
2024-11-24 13:44         ` [PATCH 26/26] dns_resolver: " Christian Brauner
2024-11-24 17:00         ` [PATCH 00/26] cred: rework {override,revert}_creds() Amir Goldstein
2024-11-24 18:00         ` Linus Torvalds
2024-11-25 11:46           ` Christian Brauner
2024-11-25 12:55           ` Amir Goldstein
2024-11-25 14:13             ` Christian Brauner
2024-11-25 13:51         ` Jeff Layton
2024-11-23 18:47     ` [GIT PULL] overlayfs updates for 6.13 Christian Brauner
2024-11-23  5:57 ` pr-tracker-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox