Am Fri, 1 Mar 2019 13:30:50 -0500 schrieb Mike Snitzer <snitzer@xxxxxxxxxx>: > On Fri, Mar 01 2019 at 12:33pm -0500, > Michael Holzheu <holzheu@xxxxxxxxxxxxx> wrote: > > > Hi Mike, > > > > On Fedora 29, the following "linux-next" commit introduced a regression on s390: > > > > commit 1efa3bb79d3de8ca1b7f6770313a1fc0bebe25c7 > > Author: Mike Snitzer <snitzer@xxxxxxxxxx> > > Date: Fri Feb 22 11:23:01 2019 -0500 > > > > dm: must allocate dm_noclone for stacked noclone devices > > > > Otherwise various lvm2 testsuite tests fail because the lower layers of > > the stacked noclone device aren't updated to allocate a new 'struct > > dm_clone' that reflects the upper layer bio that was issued to it. > > > > Fixes: 97a89458020b38 ("dm: improve noclone bio support") > > Reported-by: Mikulas Patocka <mpatocka@xxxxxxxxxx> > > Signed-off-by: Mike Snitzer <snitzer@xxxxxxxxxx> > > > > With this commit the boot hangs three minutes on a z/VM system with the > > following device mapper setup: > > > > # dmsetup ls --tree > > mpathe (252:5) > > ├─ (8:128) > > └─ (8:144) > > mpathd (252:4) > > ├─ (8:96) > > └─ (8:112) > > mpathc (252:3) > > ├─ (8:64) > > └─ (8:80) > > mpathb (252:2) > > ├─ (8:32) > > └─ (8:48) > > mpatha1 (252:1) > > └─mpatha (252:0) > > ├─ (8:16) > > └─ (8:0) > > > > On the console we get messages like the following: > > > > 10.116863 sd 3:0:0:1083719813: sdj Write Protect is off > > 10.117170 sd 3:0:0:1083719813: sdj Write cache: enabled, read cache: enabled, doesn't support DPO or FUA > > 10.130562 sd 3:0:0:1083719813: sdj Attached SCSI disk > > A start job is running for udev Wai Device Initialization (6s / 3min) > > A start job is running for udev Wai Device Initialization (6s / 3min) > > A start job is running for udev Wai Device Initialization (7s / 3min) > > A start job is running for udev Wai Device Initialization (7s / 3min) > > A start job is running for udev Wai Device Initialization (8s / 3min) > > ... > > > > After three minutes the boot process continues and the system comes. > > > > As kernel config we used "performance_defconfig" (make performance_defconfig). > > I'm struggling to see why this particular change would cause such a boot > stall -- but then resolve itself. > > Can you provide the output from 'dmsetup table'? # dmsetup table mpathe: 0 41943040 multipath 1 queue_if_no_path 1 alua 1 1 service-time 0 2 2 8:64 1 1 8:128 1 1 mpathd: 0 41943040 multipath 1 queue_if_no_path 1 alua 1 1 service-time 0 2 2 8:48 1 1 8:112 1 1 mpathc: 0 41943040 multipath 1 queue_if_no_path 1 alua 1 1 service-time 0 2 2 8:32 1 1 8:96 1 1 mpathb: 0 41943040 multipath 1 queue_if_no_path 1 alua 1 1 service-time 0 2 2 8:16 1 1 8:80 1 1 mpatha: 0 209715200 multipath 1 queue_if_no_path 1 alua 1 1 service-time 0 1 2 8:0 1 1 mpatha1: 0 209713152 linear 252:0 2048 > Multipath defaults to blk-mq (request-based). The change you've called > into question is related to bio-based DM. So There must be some > bio-based DM layer ontop of the multipath devices. Is mpatha1 a > dm-linear device layered ontop of multipath? See above output of "dmsetup table". Best Regards, Michael -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel