On Wed, Apr 26, 2023 at 2:24 PM Yu Kuai <yukuai1@xxxxxxxxxxxxxxx> wrote: > > Hi, > > 在 2023/04/26 14:20, Changhui Zhong 写道: > >> Is this patch in the branch for-6.4/block? > >> > >> 3723091ea188 ("block: don't set GD_NEED_PART_SCAN if scan partition failed") > >>> > > > > Hi, Yu Kuai > > > > this patch was not found in the for-6.4/block branch, and found it > > exist in the master branch > > > > Can you try to test with this patch? > > Thanks, > Kuai > Hi, Kuai after patching this patch, the script test passed, confirm that this patch can fix this issue. :: [ 04:31:01 ] :: [ BEGIN ] :: Running 'mdadm -S /dev/md0' mdadm: stopped /dev/md0 :: [ 04:31:02 ] :: [ PASS ] :: Command 'mdadm -S /dev/md0' (Expected 0, got 0) :: [ 04:31:02 ] :: [ BEGIN ] :: Running 'mdadm -A /dev/md0 /dev/"$dev0" /dev/"$dev1"' mdadm: /dev/md0 has been started with 2 drives. :: [ 04:31:02 ] :: [ PASS ] :: Command 'mdadm -A /dev/md0 /dev/"$dev0" /dev/"$dev1"' (Expected 0, got 0) :: [ 04:31:05 ] :: [ BEGIN ] :: Running 'lsblk' NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS sda 8:0 1 447.1G 0 disk └─md0 9:0 0 447.1G 0 raid1 └─md0p1 259:0 0 100M 0 part sdb 8:16 1 447.1G 0 disk ├─sdb1 8:17 1 1G 0 part /boot └─sdb2 8:18 1 446.1G 0 part ├─rhel_storageqe--104-root 253:0 0 70G 0 lvm / ├─rhel_storageqe--104-swap 253:1 0 7.7G 0 lvm [SWAP] └─rhel_storageqe--104-home 253:2 0 368.4G 0 lvm /home sdc 8:32 1 447.1G 0 disk └─md0 9:0 0 447.1G 0 raid1 └─md0p1 259:0 0 100M 0 part sdd 8:48 1 447.1G 0 disk :: [ 04:31:05 ] :: [ PASS ] :: Command 'lsblk' (Expected 0, got 0) :: [ 04:31:05 ] :: [ BEGIN ] :: Running 'cat /proc/partitions' major minor #blocks name 8 48 468851544 sdd 8 0 468851544 sda 8 32 468851544 sdc 8 16 468851544 sdb 8 17 1048576 sdb1 8 18 467801088 sdb2 253 0 73400320 dm-0 253 1 8060928 dm-1 253 2 386338816 dm-2 9 0 468851392 md0 259 0 102400 md0p1 Thanks,