ublk: cleanup & improvement & zc follow-up
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest11 patches 2 repliesApplied
- v18 patches 17 repliesSuperseded
Changes in v2 from the cover letter
- use io_uring_cmd_to_pdu() (Uday)
- improve zc document (Caleb)
- consolidate segment parameter interface (Caleb)
- add reviewed-by
- add one fix and comment on ubq->canceling
- fix one hang bug in V2
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/11 | ublk: make sure ubq->canceling is set when queue is frozendrivers/ | +29 | 0 replies | |
| 2/11 | ublk: comment on ubq->canceling handling in ublk_queue_rq()drivers/ | +5 | 0 replies | |
| 3/11 | ublk: remove two unused fields from 'struct ublk_queue'drivers/ | +0 | 0 replies | |
| 4/11 | ublk: add helper of ublk_need_map_io()drivers/ | +9 | 0 replies | |
| 5/11 | ublk: call io_uring_cmd_to_pdu to get uring_cmd pdudrivers/ | +1 | 1 reply | |
| 6/11 | ublk: add segment parameterdrivers/ include/ | +44 | 0 replies | |
| 7/11 | ublk: document zero copy featureDocumentation/ | +26 | 0 replies | |
| 8/11 | ublk: implement ->queue_rqs()drivers/ | +111 | 0 replies | |
| 9/11 | ublk: rename ublk_rq_task_work_cb as ublk_cmd_tw_cbdrivers/ | +3 | 0 replies | |
| 10/11 | selftests: ublk: add more tests for covering MQtools/ tools/ tools/ +7 more | +132 | 0 replies | |
| 11/11 | selftests: ublk: add test for checking zero copy related parametertools/ tools/ tools/ | +39 | 0 replies |
Reviews trailers per patch
3 of 11 patches have a Reviewed-by or Acked-by.
| Patch | Caleb Sander Mateos |
|---|---|
| 1/11 | |
| 2/11 | |
| 3/11 | R-b |
| 4/11 | R-b |
| 5/11 | R-b |
| 6/11 | |
| 7/11 | |
| 8/11 | |
| 9/11 | |
| 10/11 | |
| 11/11 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH V2 00/11] ublk: cleanup & improvement & zc follow-up
Hello Jens,
The 1st two fixes ublk_abort_requests(), and adds comment on handling ubq->canceling.
The 3rd ~ 5th patches are cleanup.
The 6th and 7th are zc-followup.
The 8th & 9th patch implements ->queue_rqs() and improves IOPS by > 10%.
The last two patches are self-test for ->queue_rqs() & segment parameter change.
V2:
- use io_uring_cmd_to_pdu() (Uday)
- improve zc document (Caleb)
- consolidate segment parameter interface (Caleb)
- add reviewed-by
- add one fix and comment on ubq->canceling
- fix one hang bug in V2
Ming Lei (11):
ublk: make sure ubq->canceling is set when queue is frozen
ublk: comment on ubq->canceling handling in ublk_queue_rq()
ublk: remove two unused fields from 'struct ublk_queue'
ublk: add helper of ublk_need_map_io()
ublk: call io_uring_cmd_to_pdu to get uring_cmd pdu
ublk: add segment parameter
ublk: document zero copy feature
ublk: implement ->queue_rqs()
ublk: rename ublk_rq_task_work_cb as ublk_cmd_tw_cb
selftests: ublk: add more tests for covering MQ
selftests: ublk: add test for checking zero copy related parameter
Documentation/block/ublk.rst | 35 ++- drivers/block/ublk_drv.c | 214 ++++++++++++++---- include/uapi/linux/ublk_cmd.h | 25 ++ tools/testing/selftests/ublk/Makefile | 4 + tools/testing/selftests/ublk/null.c | 11 +- tools/testing/selftests/ublk/test_common.sh | 6 + .../testing/selftests/ublk/test_generic_02.sh | 44 ++++ .../testing/selftests/ublk/test_generic_03.sh | 28 +++ tools/testing/selftests/ublk/test_loop_01.sh | 14 +- tools/testing/selftests/ublk/test_loop_03.sh | 14 +- tools/testing/selftests/ublk/test_loop_05.sh | 28 +++ .../testing/selftests/ublk/test_stress_01.sh | 6 +- .../testing/selftests/ublk/test_stress_02.sh | 6 +- .../testing/selftests/ublk/test_stripe_01.sh | 14 +- .../testing/selftests/ublk/test_stripe_03.sh | 30 +++ 15 files changed, 397 insertions(+), 82 deletions(-) create mode 100755 tools/testing/selftests/ublk/test_generic_02.sh create mode 100755 tools/testing/selftests/ublk/test_generic_03.sh create mode 100755 tools/testing/selftests/ublk/test_loop_05.sh create mode 100755 tools/testing/selftests/ublk/test_stripe_03.sh
Signature · 1 line
2.47.0