Skip to content

blktests: add mini ublk source and blktests/033

Ming Lei linux-block 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 4 repliesIn review
  2. v32 patches 11 repliesSuperseded
  3. v22 patches 4 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v12 patches8 repliesSuperseded

Changes in v4 from the cover letter

- fix one error handling bug in src/miniublk.c
- patch style improvement on src/miniublk.c
- both are suggested by Chaitanya Kulkarni

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2src: add mini ublk source codesrc/.gitignore src/Makefile src/miniublk.c+1386 -00 replies
2/2block/033: add test to cover gendisk leakcommon/ublk tests/block/033 tests/block/033.out+78 -00 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchChaitanya Kulkarni
SeriesR-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH blktests v4 0/2] blktests: add mini ublk source and blktests/033

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.

v4:
- fix one error handling bug in src/miniublk.c
- patch style improvement on src/miniublk.c
- both are suggested by Chaitanya Kulkarni

v3:
- move minublk.c into src/
- remove '-i' in top Makefile
- fix commit log for 1/2
- add 'udevadm settle' after adding device, so that the following test can be done reliably
- fix _init_ublk()
- redirect runtime log into $FULL
- all are suggested by Shinichiro Kawasaki

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

 common/ublk         |   35 ++
 src/.gitignore      |    1 +
 src/Makefile        |   18 +
 src/miniublk.c      | 1367 +++++++++++++++++++++++++++++++++++++++++++
 tests/block/033     |   41 ++
 tests/block/033.out |    2 +
 6 files changed, 1464 insertions(+)
 create mode 100644 common/ublk
 create mode 100644 src/miniublk.c
 create mode 100755 tests/block/033
 create mode 100644 tests/block/033.out
Signature · 1 line
2.31.1