mbox series

[GIT,PULL] iomap: fix unshare data corruption bug

Message ID 169542943249.26581.2290117144266358331.stg-ugh@frogsfrogsfrogs (mailing list archive)
State New, archived
Headers show
Series [GIT,PULL] iomap: fix unshare data corruption bug | expand

Pull-request

https://git.kernel.org/pub/scm/fs/xfs/xfs-linux.git tags/iomap-6.6-fixes-2

Message

Darrick J. Wong Sept. 23, 2023, 12:39 a.m. UTC
Hi Linus,

Please pull this branch with changes for iomap for 6.6-rc3.

As usual, I did a test-merge with the main upstream branch as of a few
minutes ago, and didn't see any conflicts.  Please let me know if you
encounter any problems.

--D

The following changes since commit 0bb80ecc33a8fb5a682236443c1e740d5c917d1d:

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

are available in the Git repository at:

https://git.kernel.org/pub/scm/fs/xfs/xfs-linux.git tags/iomap-6.6-fixes-2

for you to fetch changes up to a5f31a5028d1e88e97c3b6cdc3e3bf2da085e232:

iomap: convert iomap_unshare_iter to use large folios (2023-09-19 09:05:35 -0700)

----------------------------------------------------------------
Fixes for 6.6-rc3:

* Return EIO on bad inputs to iomap_to_bh instead of BUGging, to deal
less poorly with block device io racing with block device resizing.
* Fix a stale page data exposure bug introduced in 6.6-rc1 when
unsharing a file range that is not in the page cache.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>

----------------------------------------------------------------
Christoph Hellwig (1):
iomap: handle error conditions more gracefully in iomap_to_bh

Darrick J. Wong (2):
iomap: don't skip reading in !uptodate folios when unsharing a range
iomap: convert iomap_unshare_iter to use large folios

fs/buffer.c            | 25 ++++++++++++++-----------
fs/iomap/buffered-io.c | 30 ++++++++++++++++++------------
2 files changed, 32 insertions(+), 23 deletions(-)

Comments

pr-tracker-bot@kernel.org Sept. 23, 2023, 6:25 p.m. UTC | #1
The pull request you sent on Fri, 22 Sep 2023 17:39:01 -0700:

> https://git.kernel.org/pub/scm/fs/xfs/xfs-linux.git tags/iomap-6.6-fixes-2

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

Thank you!