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

Uday Shankar posted 3 patches 1 week, 6 days ago
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(-)
[PATCH v2 0/3] selftests: ublk: kublk: fix feature list
Posted by Uday Shankar 1 week, 6 days ago
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.

Signed-off-by: Uday Shankar <ushankar@purestorage.com>
---
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/20250916-ublk_features-v1-0-52014be9cde5@purestorage.com

---
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,
-- 
Uday Shankar <ushankar@purestorage.com>
Re: [PATCH v2 0/3] selftests: ublk: kublk: fix feature list
Posted by Jens Axboe 1 week, 5 days ago
On Thu, 18 Sep 2025 13:34:06 -0600, Uday Shankar wrote:
> 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.
> 
> 

Applied, thanks!

[1/3] selftests: ublk: kublk: simplify feat_map definition
      commit: 1f924cf781de47432f220185bb2beeb12c666aa1
[2/3] selftests: ublk: kublk: add UBLK_F_BUF_REG_OFF_DAEMON to feat_map
      commit: 742bcc1101bcaca92901fe3fe434e4b1a467b5e8
[3/3] selftests: ublk: add test to verify that feat_map is complete
      commit: a755da0dd0530e53aa026fd4d08b3097e1be6455

Best regards,
-- 
Jens Axboe