Skip to contentSkip to conversation

device mapper fixes for 5.18-rc3

GIT PULL Merged Mike Snitzer 2 participants 2 messages Apr 15, 2022

Subsystems (2)
lore
Share & tools
lore

Mike Snitzer

author maintainer
#0 lore raw

Hi Linus,

The following changes since commit ce522ba9ef7e2d9fb22a39eb3371c0c64e2a433e:

Linux 5.18-rc2 (2022-04-10 14:21:36 -1000)

are available in the Git repository at:

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

for you to fetch changes up to 92b914e29af3e99589f2d2876616c0b534892ed4:

dm: fix bio length of empty flush (2022-04-15 16:16:09 -0400)

Please pull, thanks.
Mike

----------------------------------------------------------------
- Fix memory corruption in DM integrity target when tag_size is less than digest size.

- Fix DM multipath's historical-service-time path selector to not use sched_clock() and ktime_get_ns(); only use ktime_get_ns().

- Fix dm_io->orig_bio NULL pointer dereference in dm_zone_map_bio() due to 5.18 changes that overlooked DM zone's use of ->orig_bio

- Fix for regression that broke the use of dm_accept_partial_bio() for "abnormal" IO (e.g. WRITE ZEROES) that does not need duplicate bios

- Fix DM's issuing of empty flush bio so that it's size is 0.

----------------------------------------------------------------
Khazhismel Kumykov (1):
dm mpath: only use ktime_get_ns() in historical selector

Mike Snitzer (2):
dm zone: fix NULL pointer dereference in dm_zone_map_bio
dm: allow dm_accept_partial_bio() for dm_io without duplicate bios

Mikulas Patocka (1):
dm integrity: fix memory corruption when tag_size is less than digest size

Shin'ichiro Kawasaki (1):
dm: fix bio length of empty flush

 drivers/md/dm-integrity.c                  |  7 +++--
 drivers/md/dm-ps-historical-service-time.c | 11 +++----
 drivers/md/dm-zone.c                       | 49 +++++++++++++++++-------------
 drivers/md/dm.c                            | 18 +++++------
 4 files changed, 45 insertions(+), 40 deletions(-)
merge bot Merged
#1 lore raw
The pull request you sent on Fri, 15 Apr 2022 16:43:52 -0400:

The pull request you sent on Fri, 15 Apr 2022 16:43:52 -0400:

Quoted 1 line

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

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

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html