[23.04 FEAT] Transparent DASD PPRC (Peer-to-Peer Remote Copy) handling

Bug #1982341 reported by bugproxy
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu on IBM z Systems
Fix Released
High
Skipper Bug Screeners
linux (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Enable user of Linux on Z to use DASD volumes in a PPRC (Peer-to-Peer Remote Copy) relation like a normal DASD volume.

Value:
- Required for hyperswap implementation
- Reduce complexity and increase stability when using PPRC with DASD (due to no dm-multipath tools being required)
- Allow for use with zdsfs on PPRC setups (where no dm-multitpathing is possible due to raw track access mode)

bugproxy (bugproxy)
tags: added: architecture-s39064 bugnameltc-199024 severity-high targetmilestone-inin2210
Changed in ubuntu:
assignee: nobody → Skipper Bug Screeners (skipper-screen-team)
affects: ubuntu → linux (Ubuntu)
Frank Heimes (fheimes)
affects: linux (Ubuntu) → s390-tools (Ubuntu)
Changed in ubuntu-z-systems:
assignee: nobody → Skipper Bug Screeners (skipper-screen-team)
Changed in s390-tools (Ubuntu):
importance: Undecided → High
Changed in ubuntu-z-systems:
importance: Undecided → High
Changed in s390-tools (Ubuntu):
status: New → Incomplete
Changed in ubuntu-z-systems:
status: New → Incomplete
Frank Heimes (fheimes)
affects: s390-tools (Ubuntu) → linux (Ubuntu)
Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2022-07-20 09:43 EDT-------
Details:

? DASD driver provides new interfaces to specify copy relationship in Linux
? DASD driver provides interface to swap roles
? DASD driver provides interface to trigger path-check that also works on PPRC secondary
? DASD driver creates a kernel message when switching between primary and secondary
? DASD driver and tools provide a way for users to check if primary and secondary are registered, and which volume is primary
? DASD driver also supports raw_track_access for this mode

Frank Heimes (fheimes)
Changed in linux (Ubuntu):
assignee: Skipper Bug Screeners (skipper-screen-team) → nobody
Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2022-08-02 07:57 EDT-------
Feature will not make it in time for the kinetic / 22.10 FF.
We have to move this to 23.04

Changing 'Target Milestone' to: 23.04

tags: added: targetmilestone-inin2304
removed: targetmilestone-inin2210
Frank Heimes (fheimes)
summary: - [22.10 FEAT] Transparent DASD PPRC (Peer-to-Peer Remote Copy) handling
+ [23.04 FEAT] Transparent DASD PPRC (Peer-to-Peer Remote Copy) handling
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Frank Heimes (fheimes) wrote :

Is this the list of commits from v6.1 upstream that is needed for this 'Transparent DASD PPRC (Peer-to-Peer Remote Copy) handling' feature?
1fca631a1185 s390/dasd: suppress generic error messages for PPRC secondary devices
112ff512fc65 s390/dasd: add ioctl to perform a swap of the drivers copy pair
413862caad6f s390/dasd: add copy pair swap capability
a91ff09d39f9 s390/dasd: add copy pair setup
3f217cceb684 s390/dasd: add query PPRC function
2b43bf061b2e s390/dasd: put block allocation in separate function

Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2023-01-18 21:37 EDT-------
This is the list of required commits which should all be upstream with 6.1:

2b43bf061b2e ("s390/dasd: put block allocation in separate function")
3f217cceb684 ("s390/dasd: add query PPRC function")
a91ff09d39f9 ("s390/dasd: add copy pair setup")
413862caad6f ("s390/dasd: add copy pair swap capability")
112ff512fc65 ("s390/dasd: add ioctl to perform a swap of the drivers copy pair")
1fca631a1185 ("s390/dasd: suppress generic error messages for PPRC secondary devices")
32ff8ce08b47 ("s390/dasd: add device ping attribute")

Revision history for this message
Frank Heimes (fheimes) wrote :

Thx - I can confirm that all commits are upstream with kernel 6.1.
With that they will also be part of 6.2, which is the planned target kernel for lunar.
Hence I'm updating the status of this ticket to In Progress (since the kernel team is already working on getting an early 6.2 for lunar out).

Changed in linux (Ubuntu):
status: Expired → In Progress
Changed in ubuntu-z-systems:
status: Incomplete → In Progress
Revision history for this message
Frank Heimes (fheimes) wrote :

Kernel 6.2 just landed in lunar-proposed - hence updating the status to 'Fix Committed'.

Changed in linux (Ubuntu):
status: In Progress → Fix Committed
Changed in ubuntu-z-systems:
status: In Progress → Fix Committed
information type: Private → Public
Frank Heimes (fheimes)
Changed in linux (Ubuntu):
status: Fix Committed → Fix Released
Changed in ubuntu-z-systems:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.