target: Update UA handling
Status from this message: Applied to target-pending/for-next, with the extra incremental patch for
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | target_core_alua: Correct UA handling when switching statesdrivers/ | +16 | 0 replies | |
| 2/6 | target: Remove 'ua_nacl' pointer from se_ua structuredrivers/ include/ | +0 | 0 replies | |
| 3/6 | target: use 'se_dev_entry' when allocating UAsdrivers/ drivers/ drivers/ +2 more | +59 | 2 replies | |
| 4/6 | target: Send UA on ALUA target port group changedrivers/ drivers/ | +9 | 4 replies | |
| 5/6 | target: Send UA upon LUN RESET tmr completiondrivers/ | +11 | 3 replies | |
| 6/6 | target: Send UA when changing LUN inventorydrivers/ drivers/ | +26 | 3 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/6] target: Update UA handling
Hi Nic,
lio-target is very minimalistic when it comes to generate UAs; primarily they are generated for persistent reservations, but generic changes tend to be ignored.
This patchset updates the UA handling and generates UA for internal state changes (REPORTED LUNS DATA CHANGED, INQUIRY DATA CHANGED, and LUN RESET OCCURRED).
Funnily enough this triggers some issues with the SCSI stack; I'll be sending out patches for that, too.
Hannes Reinecke (6):
target_core_alua: Correct UA handling when switching states
target: Remove 'ua_nacl' pointer from se_ua structure
target: use 'se_dev_entry' when allocating UAs
target: Send UA on ALUA target port group change
target: Send UA upon LUN RESET tmr completion
target: Send UA when changing LUN inventory
drivers/target/target_core_alua.c | 56 +++++++++++++++++++++++++--------- drivers/target/target_core_device.c | 26 +++++++++++++++- drivers/target/target_core_pr.c | 31 +++++++++++++++---- drivers/target/target_core_transport.c | 29 ++++++++++++++---- drivers/target/target_core_ua.c | 24 ++------------- drivers/target/target_core_ua.h | 5 ++- include/target/target_core_base.h | 1 - 7 files changed, 121 insertions(+), 51 deletions(-)
Signature · 1 line
1.8.5.2