[PATCH v6.15 0/3] ublk: one selftest fix and two zero copy fixes

Ming Lei
2025-04-27T13:49:50Z

Hello Jens,

The 1st patch fixes UBLK_F_NEED_GET_DATA support in ublk selftest side.

The other two patches enhances check for zero copy feature.

Thanks,
Ming

Ming Lei (3):
selftests: ublk: fix UBLK_F_NEED_GET_DATA
ublk: decouple zero copy from user copy
ublk: enhance check for register/unregister io buffer command

drivers/block/ublk_drv.c | 59 ++++++++++++++-----
tools/testing/selftests/ublk/Makefile | 1 +
tools/testing/selftests/ublk/kublk.c | 20 ++++---
tools/testing/selftests/ublk/kublk.h | 1 +
.../testing/selftests/ublk/test_generic_07.sh | 24 ++++++++
.../testing/selftests/ublk/test_stress_05.sh | 8 +--
6 files changed, 86 insertions(+), 27 deletions(-)
create mode 100755 tools/testing/selftests/ublk/test_generic_07.sh

--
2.47.0