Re: [dm-devel] [git pull] device mapper fixes for 5.7

2020-04-03 Thread pr-tracker-bot
The pull request you sent on Fri, 3 Apr 2020 11:42:13 -0400: > git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git > tags/for-5.7/dm-fixes has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/8267d8fb4819afa76b2a54dca48efdda6f0b1910 Thank you! -- Dee

Re: [dm-devel] [git pull v2] device mapper fixes for 5.7

2020-04-03 Thread pr-tracker-bot
The pull request you sent on Fri, 3 Apr 2020 13:15:43 -0400: > git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git > tags/for-5.7/dm-fixes has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/de3c913c6e9d8bbf8b2d3caaed55ff3e40a62e56 Thank you! -- Dee

Re: [dm-devel] [RFC Patch 3/3] multipath: add libmpathvalid library

2020-04-03 Thread Benjamin Marzinski
On Fri, Apr 03, 2020 at 09:14:58AM +, Martin Wilck wrote: > Hi Ben, > > On Tue, 2020-03-31 at 12:31 -0500, Benjamin Marzinski wrote: > > On Tue, Mar 31, 2020 at 03:38:25PM +, Martin Wilck wrote: > > > On Mon, 2020-03-30 at 21:00 -0500, Benjamin Marzinski wrote: > > > > This library allows

[dm-devel] [git pull v2] device mapper fixes for 5.7

2020-04-03 Thread Mike Snitzer
Hi Linus, I updated the tag after my initial pull request to include one more fix from Mikulas. The following changes since commit 81d5553d1288c2ec0390f02f84d71ca0f0f9f137: dm clone metadata: Fix return type of dm_clone_nr_of_hydrated_regions() (2020-03-27 14:42:51 -0400) are available in th

[dm-devel] [PATCH] dm-integrity: fix logic bug in integrity tag testing

2020-04-03 Thread Mikulas Patocka
If all the bytes are equal to DISCARD_FILLER, we want to accept the buffer. If any of the bytes is different, we must do thorough tag-by-tag checking. The condition was inverted. Signed-off-by: Mikulas Patocka Fixes: 84597a44a9d8 ("dm integrity: add optional discard support") -- drivers/md/dm-

Re: [dm-devel] [PATCH v2 2/2] kpartx.rules: check for skip_kpartx on synthetic uevents

2020-04-03 Thread Benjamin Marzinski
On Fri, Apr 03, 2020 at 01:19:14PM +0200, mwi...@suse.com wrote: > From: Martin Wilck > > The current test to detect "spurious" uevents, and thus whether to > import DM_SUBSYSTEM_UDEV_FLAG1 (the flag for the "skip_kpartx" option) > from the udev db is wrong. In 10-dm.rules, DM_UDEV_PRIMARY_SOURCE

Re: [dm-devel] [PATCH v2 1/2] kpartx.rules: honor DM_UDEV_DISABLE_OTHER_RULES_FLAG

2020-04-03 Thread Benjamin Marzinski
On Fri, Apr 03, 2020 at 01:19:13PM +0200, mwi...@suse.com wrote: > From: Martin Wilck > > 10-dm.rules sets DM_UDEV_DISABLE_OTHER_RULES_FLAG for spurious > events that should be ignored by other layers. This means devices > with DISK_RO set, and devices that have never been set up properly > by de

[dm-devel] [git pull] device mapper fixes for 5.7

2020-04-03 Thread Mike Snitzer
Hi Linus, The following changes since commit 81d5553d1288c2ec0390f02f84d71ca0f0f9f137: dm clone metadata: Fix return type of dm_clone_nr_of_hydrated_regions() (2020-03-27 14:42:51 -0400) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/lin

[dm-devel] [PATCH v2 2/2] kpartx.rules: check for skip_kpartx on synthetic uevents

2020-04-03 Thread mwilck
From: Martin Wilck The current test to detect "spurious" uevents, and thus whether to import DM_SUBSYSTEM_UDEV_FLAG1 (the flag for the "skip_kpartx" option) from the udev db is wrong. In 10-dm.rules, DM_UDEV_PRIMARY_SOURCE_FLAG is imported from the db if it isn't set, meaning that it's always 1 f

[dm-devel] [PATCH v2 1/2] kpartx.rules: honor DM_UDEV_DISABLE_OTHER_RULES_FLAG

2020-04-03 Thread mwilck
From: Martin Wilck 10-dm.rules sets DM_UDEV_DISABLE_OTHER_RULES_FLAG for spurious events that should be ignored by other layers. This means devices with DISK_RO set, and devices that have never been set up properly by device-mapper before. This flag should be respected by kpartx. Signed-off-by:

[dm-devel] [PATCH v2 0/2] multipath-tools: fixes for kpartx.rules and skip_kpartx

2020-04-03 Thread mwilck
From: Martin Wilck Hi Christophe, Ben, The "skip_kpartx" option serves to prevent creation of partitions on top of multipath devices where that's undesired, e.g. on VM hosts which are supposed to provide the unpartitioned dm devices to guests. This is broken with our current udev rules, because

Re: [dm-devel] [RFC Patch 3/3] multipath: add libmpathvalid library

2020-04-03 Thread Martin Wilck
Hi Ben, On Tue, 2020-03-31 at 12:31 -0500, Benjamin Marzinski wrote: > On Tue, Mar 31, 2020 at 03:38:25PM +, Martin Wilck wrote: > > On Mon, 2020-03-30 at 21:00 -0500, Benjamin Marzinski wrote: > > > This library allows other programs to check if a path should be > > > claimed > > > by multipa