Skip to content

selftests: ublk: kublk: fix feature list

Uday Shankar linux-block linux-kselftest lkml 2 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected] change-id 20250916-ublk_features-07af4e321e5a

Versions newest first

  1. v2 Latest3 patches 2 repliesApplied
  2. v13 patches 5 repliesSuperseded

Changes in v2 from the cover letter

- Add log lines to new test in failure case, to tell the user how to fix
the test, and to indicate that the failure is expected when running
an old test suite against a new kernel (Ming Lei)
- Link to v1: https://lore.kernel.org/r/[email protected]

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3selftests: ublk: kublk: simplify feat_map definitiontools/testing/selftests/ublk/kublk.c+16 -150 replies
2/3selftests: ublk: kublk: add UBLK_F_BUF_REG_OFF_DAEMON to feat_maptools/testing/selftests/ublk/kublk.c+1 -00 replies
3/3selftests: ublk: add test to verify that feat_map is completetools/testing/selftests/ublk/Makefile tools/testing/selftests/ublk/test_generic_13.sh+21 -01 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchMing Lei
1/3R-b
2/3R-b
3/3R-b

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

Read the v2 thread

Cover letter [PATCH v2 0/3] selftests: ublk: kublk: fix feature list

This patch simplifies kublk's implementation of the feature list command, fixes a bug where a feature was missing, and adds a test to ensure that similar bugs do not happen in the future.

---
Changes in v2:
- Add log lines to new test in failure case, to tell the user how to fix
the test, and to indicate that the failure is expected when running
an old test suite against a new kernel (Ming Lei)
- Link to v1: https://lore.kernel.org/r/[email protected]

---
Uday Shankar (3):
selftests: ublk: kublk: simplify feat_map definition
selftests: ublk: kublk: add UBLK_F_BUF_REG_OFF_DAEMON to feat_map
selftests: ublk: add test to verify that feat_map is complete

 tools/testing/selftests/ublk/Makefile           |  1 +
 tools/testing/selftests/ublk/kublk.c            | 32 +++++++++++++------------
 tools/testing/selftests/ublk/test_generic_13.sh | 20 ++++++++++++++++
 3 files changed, 38 insertions(+), 15 deletions(-)

---
base-commit: da7b97ba0d219a14a83e9cc93f98b53939f12944
change-id: 20250916-ublk_features-07af4e321e5a

Best regards,

Signature · 1 line
Uday Shankar <[email protected]>