]> git.ipfire.org Git - thirdparty/linux.git/commit
s390/dasd: Move quiesce state with pprc swap
authorStefan Haberland <sth@linux.ibm.com>
Tue, 10 Mar 2026 14:23:29 +0000 (15:23 +0100)
committerJens Axboe <axboe@kernel.dk>
Tue, 10 Mar 2026 14:58:38 +0000 (08:58 -0600)
commit40e9cd4ae8ec43b107ed2bff422a8fa39dcf4e4b
treed1f536aefdfa988eb9669e0a90bda925246267bd
parent155a3bedccaf57c69aa0b590ba3fb579debf3a4d
s390/dasd: Move quiesce state with pprc swap

Quiesce and resume is a mechanism to suspend operations on DASD devices.
In the context of a controlled copy pair swap operation, the quiesce
operation is usually issued before the actual swap and a resume
afterwards.

During the swap operation, the underlying device is exchanged. Therefore,
the quiesce flag must be moved to the secondary device to ensure a
consistent quiesce state after the swap.

The secondary device itself cannot be suspended separately because there
is no separate block device representation for it.

Fixes: 413862caad6f ("s390/dasd: add copy pair swap capability")
Cc: stable@vger.kernel.org #6.1
Reviewed-by: Jan Hoeppner <hoeppner@linux.ibm.com>
Signed-off-by: Stefan Haberland <sth@linux.ibm.com>
Link: https://patch.msgid.link/20260310142330.4080106-2-sth@linux.ibm.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/s390/block/dasd_eckd.c