Hello, The 1st patch adds one mini ublk program, which only supports null & loop targets. The 2nd patch add blktests/033 for covering gendisk leak issue. Ming Lei (2): blktests/src: add mini ublk source code blktests/033: add test to cover gendisk leak Makefile | 2 +- common/ublk | 32 + src/Makefile | 13 +- src/ublk/miniublk.c | 1385 +++++++++++++++++++++++++++++++++++++++++++ src/ublk/ublk_cmd.h | 278 +++++++++ tests/block/033 | 33 ++ tests/block/033.out | 2 + 7 files changed, 1741 insertions(+), 4 deletions(-) create mode 100644 common/ublk create mode 100644 src/ublk/miniublk.c create mode 100644 src/ublk/ublk_cmd.h create mode 100755 tests/block/033 create mode 100644 tests/block/033.out -- 2.31.1