ublk: add UBLK_F_NO_AUTO_PART_SCAN feature flag
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | ublk: add UBLK_F_NO_AUTO_PART_SCAN feature flagdrivers/ include/ | +21 | 3 replies | |
| 2/2 | ublk: add selftest for UBLK_F_NO_AUTO_PART_SCANtools/ tools/ tools/ +1 more | +112 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] ublk: add UBLK_F_NO_AUTO_PART_SCAN feature flag
Hello,
Add UBLK_F_NO_AUTO_PART_SCAN for avoiding to scan partition in start dev command automatically, which is useful for network target.
Also add selftest code to make sure it works as expected.
Ming Lei (2):
ublk: add UBLK_F_NO_AUTO_PART_SCAN feature flag
ublk: add selftest for UBLK_F_NO_AUTO_PART_SCAN
drivers/block/ublk_drv.c | 16 ++- include/uapi/linux/ublk_cmd.h | 8 ++ tools/testing/selftests/ublk/Makefile | 1 + tools/testing/selftests/ublk/kublk.c | 6 +- tools/testing/selftests/ublk/kublk.h | 1 + .../testing/selftests/ublk/test_generic_14.sh | 105 ++++++++++++++++++ 6 files changed, 133 insertions(+), 4 deletions(-) create mode 100755 tools/testing/selftests/ublk/test_generic_14.sh
Signature · 1 line
2.47.0