[GIT PULL] vfs fixes
From: Christian Brauner
Date: Thu Oct 03 2024 - 05:00:47 EST
Hey Linus,
/* Summary */
This contains fixes for this merge window:
vfs:
- Ensure that iter_folioq_get_pages() advances to the next slot otherwise it
will end up using the same folio with an out-of-bound offset.
iomap:
- Dont unshare delalloc extents which can't be reflinked, and thus can't be shared.
- Constrain the file range passed to iomap_file_unshare() directly in iomap
instead of requiring the callers to do it.
netfs:
- Use folioq_count instead of folioq_nr_slot to prevent an unitialized value
warning in netfs_clear_buffer().
- Fix missing wakeup after issuing writes by scheduling the write collector
only if all the subrequest queues are empty and thus no writes are pending.
- Fix two minor documentation bugs.
/* Testing */
gcc version 14.2.0 (Debian 14.2.0-3)
Debian clang version 16.0.6 (27+b1)
/* Conflicts */
No known conflicts.
The following changes since commit e32cde8d2bd7d251a8f9b434143977ddf13dcec6:
Merge tag 'sched_ext-for-6.12-rc1-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/sched_ext (2024-09-30 12:58:17 -0700)
are available in the Git repository at:
git@xxxxxxxxxxxxxxxxxxx:pub/scm/linux/kernel/git/vfs/vfs tags/vfs-6.12-rc2.fixes.2
for you to fetch changes up to a311a08a4237241fb5b9d219d3e33346de6e83e0:
iomap: constrain the file range passed to iomap_file_unshare (2024-10-03 10:22:28 +0200)
Please consider pulling these changes from the signed vfs-6.12-rc2.fixes.2 tag.
Thanks!
Christian
----------------------------------------------------------------
vfs-6.12-rc2.fixes.2
----------------------------------------------------------------
Chang Yu (1):
netfs: Fix a KMSAN uninit-value error in netfs_clear_buffer
Christian Brauner (2):
folio_queue: fix documentation
Documentation: add missing folio_queue entry
Darrick J. Wong (2):
iomap: don't bother unsharing delalloc extents
iomap: constrain the file range passed to iomap_file_unshare
David Howells (1):
netfs: Fix missing wakeup after issuing writes
Omar Sandoval (1):
iov_iter: fix advancing slot in iter_folioq_get_pages()
Documentation/core-api/index.rst | 1 +
fs/dax.c | 6 +++++-
fs/iomap/buffered-io.c | 9 +++++++--
fs/netfs/misc.c | 2 +-
fs/netfs/write_issue.c | 42 ++++++++++++++++++++++++++--------------
include/linux/folio_queue.h | 2 +-
lib/iov_iter.c | 2 +-
7 files changed, 43 insertions(+), 21 deletions(-)