Make ABORT and LUN RESET handling synchronous
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest17 patches 24 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/17 | target/core: Fix spelling in two source code commentsdrivers/ | +2 | 0 replies | |
| 2/17 | target/core: Use the SECTOR_SHIFT constantdrivers/ drivers/ | +2 | 0 replies | |
| 3/17 | target/core: Remove an unused data member from struct xcopy_pt_cmddrivers/ | +0 | 0 replies | |
| 4/17 | target/core: Change the return type of transport_init_session from void to intdrivers/ drivers/ include/ | +14 | 0 replies | |
| 5/17 | target/core: Make sure that target_wait_for_sess_cmds() waits long enoughdrivers/ include/ | +19 | 4 replies | |
| 6/17 | target/core: Use sg_alloc_table() instead of open-coding itdrivers/ | +5 | 4 replies | |
| 7/17 | target/core: Use system workqueues for TMFdrivers/ drivers/ include/ | +1 | 3 replies | |
| 8/17 | target/core: Make compare_and_write_callback() accept NULL as third argumentdrivers/ | +2 | 3 replies | |
| 9/17 | target/core: Always call transport_complete_callback() upon failuredrivers/ drivers/ | +8 | 2 replies | |
| 10/17 | target/core: Make it possible to wait from more than one context for command completiodrivers/ include/ | +60 | 2 replies | |
| 11/17 | target/core: Make ABORT and LUN RESET handling synchronousdrivers/ drivers/ drivers/ +2 more | +153 | 0 replies | |
| 12/17 | target/core: Reduce the amount of code executed with a spinlock helddrivers/ | +3 | 0 replies | |
| 13/17 | target/core: Avoid that LUN reset sporadically triggers data corruptiondrivers/ | +5 | 0 replies | |
| 14/17 | target/qla2xxx: Simplify the code for handling aborted commandsdrivers/ | +5 | 3 replies | |
| 15/17 | target/core: Remove the write_pending_status() callback functionDocumentation/ drivers/ drivers/ +13 more | +0 | 0 replies | |
| 16/17 | target/core: Remove several state tests from the TMF codedrivers/ drivers/ include/ | +0 | 0 replies | |
| 17/17 | target/core: Simplify the LUN RESET implementationdrivers/ | +2 | 0 replies |
Reviews trailers per patch
5 of 17 patches have a Reviewed-by or Acked-by.
| Patch | Felipe Balbi | Sagi Grimberg | Andy Grover | Christoph Hellwig | Hannes Reinecke | Bryant G. Ly | Nicholas Bellinger | Himanshu Madhani |
|---|---|---|---|---|---|---|---|---|
| 1/17 | ||||||||
| 2/17 | ||||||||
| 3/17 | ||||||||
| 4/17 | ||||||||
| 5/17 | ||||||||
| 6/17 | ||||||||
| 7/17 | R-b | |||||||
| 8/17 | ||||||||
| 9/17 | R-b | R-b | ||||||
| 10/17 | ||||||||
| 11/17 | ||||||||
| 12/17 | ||||||||
| 13/17 | ||||||||
| 14/17 | A-b | |||||||
| 15/17 | A-b | R-b | R-b | R-b | R-b | R-b | ||
| 16/17 | ||||||||
| 17/17 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 8 reviewers.
Cover letter [PATCH 00/17] Make ABORT and LUN RESET handling synchronous
Hello Martin,
As you maybe know the LIO task management handling code is complicated because it is asynchronous compared to the command execution flow. This patch series makes task management function handling synchronous and thereby significantly simplifies the LIO code. Please consider these patches for kernel v4.20.
Thanks,
Bart.
Bart Van Assche (17):
target/core: Fix spelling in two source code comments target/core: Use the SECTOR_SHIFT constant
target/core: Remove an unused data member from struct xcopy_pt_cmd target/core: Change the return type of transport_init_session from
void to int
target/core: Make sure that target_wait_for_sess_cmds() waits long
enough
target/core: Use sg_alloc_table() instead of open-coding it target/core: Use system workqueues for TMF
target/core: Make compare_and_write_callback() accept NULL as third
argument
target/core: Always call transport_complete_callback() upon failure target/core: Make it possible to wait from more than one context for
command completion
target/core: Make ABORT and LUN RESET handling synchronous target/core: Reduce the amount of code executed with a spinlock held target/core: Avoid that LUN reset sporadically triggers data
corruption
target/qla2xxx: Simplify the code for handling aborted commands target/core: Remove the write_pending_status() callback function target/core: Remove several state tests from the TMF code target/core: Simplify the LUN RESET implementation
Documentation/target/tcm_mod_builder.py | 8 - drivers/infiniband/ulp/srpt/ib_srpt.c | 9 - drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c | 6 - drivers/scsi/qla2xxx/tcm_qla2xxx.c | 31 -- drivers/target/iscsi/iscsi_target_configfs.c | 13 - drivers/target/loopback/tcm_loop.c | 6 - drivers/target/sbp/sbp_target.c | 6 - drivers/target/target_core_configfs.c | 4 - drivers/target/target_core_device.c | 16 - drivers/target/target_core_iblock.c | 4 +- drivers/target/target_core_iblock.h | 1 - drivers/target/target_core_internal.h | 2 - drivers/target/target_core_sbc.c | 20 +- drivers/target/target_core_tmr.c | 97 ++--- drivers/target/target_core_transport.c | 430 +++++++++---------- drivers/target/target_core_xcopy.c | 15 +- drivers/target/tcm_fc/tcm_fc.h | 1 - drivers/target/tcm_fc/tfc_cmd.c | 7 - drivers/target/tcm_fc/tfc_conf.c | 1 - drivers/usb/gadget/function/f_tcm.c | 9 - drivers/vhost/scsi.c | 6 - drivers/xen/xen-scsiback.c | 6 - include/target/target_core_base.h | 6 +- include/target/target_core_fabric.h | 4 +- 24 files changed, 272 insertions(+), 436 deletions(-)
Signature · 1 line
2.18.0