On 2022-05-23 03:51, Guoqing Jiang wrote: > I have tried with both ubuntu 22.04 kernel which is 5.15 and vanilla > 5.12, none of them > can pass your mentioned tests. > > [root@localhost mdadm]# lsblk|grep vd > vda 252:0 0 1G 0 disk > vdb 252:16 0 1G 0 disk > vdc 252:32 0 1G 0 disk > vdd 252:48 0 1G 0 disk > [root@localhost mdadm]# ./test --dev=disk --disks=/dev/vd{a..d} > --tests=05r1-add-internalbitmap > Testing on linux-5.12.0-default kernel > /root/mdadm/tests/05r1-add-internalbitmap... succeeded > [root@localhost mdadm]# ./test --dev=disk --disks=/dev/vd{a..d} > --tests=07reshape5intr > Testing on linux-5.12.0-default kernel > /root/mdadm/tests/07reshape5intr... FAILED - see > /var/tmp/07reshape5intr.log and /var/tmp/fail07reshape5intr.log for details > [root@localhost mdadm]# ./test --dev=disk --disks=/dev/vd{a..d} > --tests=07revert-grow > Testing on linux-5.12.0-default kernel > /root/mdadm/tests/07revert-grow... FAILED - see > /var/tmp/07revert-grow.log and /var/tmp/fail07revert-grow.log for details > [root@localhost mdadm]# head -10 /var/tmp/07revert-grow.log | grep mdadm > + . /root/mdadm/tests/07revert-grow > *++ mdadm -CR --assume-clean /dev/md0 -l5 -n4 -x1 /dev/vda /dev/vdb > /dev/vdc /dev/vdd /dev/vda /dev/vdb /dev/vdc /dev/vdd --metadata=0.9** > * > The above line is clearly wrong from my understanding. > > And let's check ubuntu 22.04. > > root@vm:/home/gjiang/mdadm# lsblk|grep vd > vda 252:0 0 1G 0 disk > vdb 252:16 0 1G 0 disk > vdc 252:32 0 1G 0 disk > root@vm:/home/gjiang/mdadm# ./test --dev=disk --disks=/dev/vd{a..d} > --tests=05r1-failfast > Testing on linux-5.15.0-30-generic kernel > /home/gjiang/mdadm/tests/05r1-failfast... succeeded > root@vm:/home/gjiang/mdadm# ./test --dev=disk --disks=/dev/vd{a..c} > --tests=07reshape5intr > Testing on linux-5.15.0-30-generic kernel > /home/gjiang/mdadm/tests/07reshape5intr... FAILED - see > /var/tmp/07reshape5intr.log and /var/tmp/fail07reshape5intr.log for details > root@vm:/home/gjiang/mdadm# ./test --dev=disk --disks=/dev/vd{a..c} > --tests=07revert-grow > Testing on linux-5.15.0-30-generic kernel > /home/gjiang/mdadm/tests/07revert-grow... FAILED - see > /var/tmp/07revert-grow.log and /var/tmp/fail07revert-grow.log for details > > So I would not consider it is regression. I definitely had those test working (at least some of the time) before I rebased on md-next or if I revert 7e6ba434cc6080. You might need to try my branch (plus that patch reverted) and my mdadm branch as there are a number of fixes that may have helped with that specific test. https://github.com/lsgunth/mdadm/ bugfixes2 https://github.com/sbates130272/linux-p2pmem md-bug Thanks, Logan