mbox series

[git,pull] device mapper fixes for 6.4-rc7

Message ID ZItQzl4ommfR82jP@redhat.com (mailing list archive)
State New, archived
Headers show
Series [git,pull] device mapper fixes for 6.4-rc7 | expand

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git tags/for-6.4/dm-fixes

Message

Mike Snitzer June 15, 2023, 5:56 p.m. UTC
Hi Linus,

The following changes since commit f1fcbaa18b28dec10281551dfe6ed3a3ed80e3d6:

  Linux 6.4-rc2 (2023-05-14 12:51:40 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git tags/for-6.4/dm-fixes

for you to fetch changes up to be04c14a1bd262a49e5764e5cf864259b7e740fd:

  dm: use op specific max_sectors when splitting abnormal io (2023-06-15
  12:47:16 -0400)

Please pull, thanks.
Mike

----------------------------------------------------------------
- Fix DM thinp discard performance regression introduced during 6.4
  merge; where DM core was splitting large discards every 128K
  (max_sectors_kb) rather than every 64M (discard_max_bytes).

- Extend DM core LOCKFS fix, made during 6.4 merge, to also fix race
  between do_mount and dm's do_suspend (in addition to the earlier
  fix's do_mount race with dm's do_resume).

- Fix DM thin metadata operations to first check if the thin-pool is
  in "fail_io" mode; otherwise UAF can occur.

- Fix DM thinp's call to __blkdev_issue_discard to use GFP_NOIO rather
  than GFP_NOWAIT (__blkdev_issue_discard cannot handle NULL return
  from bio_alloc).
-----BEGIN PGP SIGNATURE-----

iQEzBAABCAAdFiEEJfWUX4UqZ4x1O2wixSPxCi2dA1oFAmSLTh0ACgkQxSPxCi2d
A1rmqggAildPKBjT8nqZmU86lpsy60E03OwvBnGPkMF5pjkOUmTjkb5EWVSAmeuO
ojj0pWlC+1ZvVkiDfkWxt0NL/4ETD4q+5oy1ARBcOawPX6bj0eXLoBr6m10b+KOb
mKAoXgYrESEzQ2qPBe4a4Lj3zIBXzXpMpW9TtF23z4HnDpnwpED5xNPWBgiWc3O/
/6MF1ASLp0DWldoL+gmIp9hEzyQzbzgM4uBOGC4UAYk3U1I55qwX6bWDZ9cQNGMh
AqCSrphuKHvbsb31yb1X3hB3g1XbAeSvvcizgFY0g9ZpncddKm5gx0BWVDO7qGBG
UxLIec19kQ2CIEx/QJZIhEjneLlJ/g==
=mME4
-----END PGP SIGNATURE-----

----------------------------------------------------------------
Li Lingfeng (2):
      dm: don't lock fs when the map is NULL during suspend or resume
      dm thin metadata: check fail_io before using data_sm

Mike Snitzer (2):
      dm thin: fix issue_discard to pass GFP_NOIO to __blkdev_issue_discard
      dm: use op specific max_sectors when splitting abnormal io

 drivers/md/dm-ioctl.c         |  5 +----
 drivers/md/dm-thin-metadata.c | 20 ++++++++++++--------
 drivers/md/dm-thin.c          |  3 +--
 drivers/md/dm.c               | 29 ++++++++++++++++++++---------
 4 files changed, 34 insertions(+), 23 deletions(-)

Comments

pr-tracker-bot@kernel.org June 16, 2023, 4:16 a.m. UTC | #1
The pull request you sent on Thu, 15 Jun 2023 13:56:30 -0400:

> git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git tags/for-6.4/dm-fixes

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

Thank you!