[GIT PULL] vfs fixes

From: Christian Brauner
Date: Tue Sep 26 2023 - 06:40:45 EST


Hey Linus,

/* Summary */
This contains the usual miscellaneous fixes and cleanups for vfs and
individual fses:

Fixes
=====

* Revert ki_pos on error from buffered writes for direct io fallback
* Add missing documentation for block device and superblock handling
for changes merged this cycle.
* Fix reiserfs flexible array usage
* Ensure that overlayfs sets ctime when setting mtime and atime.
* Disable deferred caller completions with overlayfs writes until proper
support exists.

Cleanups
========

* Remove duplicate initialization in pipe code.
* Annotate aio kioctx_table with __counted_by.

/* Testing */
clang: Ubuntu clang version 15.0.7
gcc: (Ubuntu 12.2.0-3ubuntu1) 12.2.0

All patches are based on v6.5-rc1 and have been sitting in linux-next.
No build failures or warnings were observed. xfstests pass without
regressions.

/* Conflicts */
At the time of creating this PR no merge conflicts were reported from
linux-next and no merge conflicts showed up doing a test-merge with
current mainline.

The following changes since commit 0bb80ecc33a8fb5a682236443c1e740d5c917d1d:

Linux 6.6-rc1 (2023-09-10 16:28:41 -0700)

are available in the Git repository at:

git@xxxxxxxxxxxxxxxxxxx:pub/scm/linux/kernel/git/vfs/vfs tags/v6.6-rc4.vfs.fixes

for you to fetch changes up to 03dbab3bba5f009d053635c729d1244f2c8bad38:

overlayfs: set ctime when setting mtime and atime (2023-09-25 14:53:54 +0200)

Please consider pulling these changes from the signed v6.6-rc4.vfs.fixes tag.

Thanks!
Christian

----------------------------------------------------------------
v6.6-rc4.vfs.fixes

----------------------------------------------------------------
Al Viro (1):
direct_write_fallback(): on error revert the ->ki_pos update from buffered write

Christian Brauner (3):
porting: document new block device opening order
porting: document superblock as block device holder
ntfs3: put resources during ntfs_fill_super()

Chunhai Guo (1):
fs-writeback: do not requeue a clean inode having skipped pages

Jeff Layton (1):
overlayfs: set ctime when setting mtime and atime

Jens Axboe (1):
ovl: disable IOCB_DIO_CALLER_COMP

Kees Cook (1):
aio: Annotate struct kioctx_table with __counted_by

Max Kellermann (1):
fs/pipe: remove duplicate "offset" initializer

Shigeru Yoshida (1):
reiserfs: Replace 1-element array with C99 style flex-array

Documentation/filesystems/porting.rst | 96 +++++++++++++++++++++++++++++++++++
fs/aio.c | 2 +-
fs/fs-writeback.c | 11 ++--
fs/libfs.c | 1 +
fs/ntfs3/super.c | 1 +
fs/overlayfs/copy_up.c | 2 +-
fs/overlayfs/file.c | 6 +++
fs/pipe.c | 1 -
fs/reiserfs/reiserfs.h | 6 +--
9 files changed, 117 insertions(+), 9 deletions(-)