Note for QA:
It's very difficult to find hardware with 4K disk, that's why we can verify the patch just by checking that after provisioning cloud-init drive has ext2 format (the last partition):
root@node-2:~# parted /dev/vda print list
Model: Virtio Block Device (virtblk)
Disk /dev/vda: 107GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Note for QA:
It's very difficult to find hardware with 4K disk, that's why we can verify the patch just by checking that after provisioning cloud-init drive has ext2 format (the last partition):
root@node-2:~# parted /dev/vda print list
Model: Virtio Block Device (virtblk)
Disk /dev/vda: 107GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 1049kB 26.2MB 25.2MB primary bios_grub
2 26.2MB 236MB 210MB primary
3 236MB 446MB 210MB ext2 primary
4 446MB 26.3GB 25.8GB primary
5 26.3GB 107GB 81.0GB primary
6 107GB 107GB 21.0MB ext2 primary