These patches add a few parameters to blkdebug to allow modification of the block device block sizes, both logical and physical. It also adds a test that uses the parameter to verify correct UNMAP behavior in devices with 4k blocks.
v2: fixes style issues Kit Westneat (3): block/blkdebug: add blocksize parameter tests/qtest/virtio-scsi-test: add unmap large LBA with 4k blocks test block/blkdebug: add log-blocksize and phys-blocksize parameters block/blkdebug.c | 56 ++++++++++++++++++++++++++++++++++ tests/qtest/virtio-scsi-test.c | 50 ++++++++++++++++++++++++++++++ 2 files changed, 106 insertions(+) -- 2.26.3