mbox series

[blktests,v2,0/2] blktests: add mini ublk source and blktests/033

Message ID 20230217013851.1402864-1-ming.lei@redhat.com (mailing list archive)
Headers show
Series blktests: add mini ublk source and blktests/033 | expand

Message

Ming Lei Feb. 17, 2023, 1:38 a.m. UTC
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.

v2:
	- cleanup & bugfix on miniublk.c
	- avoid ignoring build warning just for addressing missed liburing
	  or ublk kernel header
	- patch style fix
	- make 'make check' happy


Ming Lei (2):
  src: add mini ublk source code
  block/033: add test to cover gendisk leak

 Makefile            |    2 +-
 common/ublk         |   34 ++
 src/Makefile        |   18 +
 src/ublk/miniublk.c | 1376 +++++++++++++++++++++++++++++++++++++++++++
 tests/block/033     |   40 ++
 tests/block/033.out |    2 +
 6 files changed, 1471 insertions(+), 1 deletion(-)
 create mode 100644 common/ublk
 create mode 100644 src/ublk/miniublk.c
 create mode 100755 tests/block/033
 create mode 100644 tests/block/033.out