]> git.itanic.dy.fi Git - linux-stable/commit
s390/dasd: add query PPRC function
authorStefan Haberland <sth@linux.ibm.com>
Tue, 20 Sep 2022 19:26:11 +0000 (21:26 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 21 Sep 2022 14:32:50 +0000 (08:32 -0600)
commit3f217cceb6846e7533511fc69bc774cdba37ff7d
tree6b7d03bc9c3cb922a9efecb00613e4579bb360b3
parent2b43bf061b2e1b67561cbb1f6f305421f5fc86af
s390/dasd: add query PPRC function

Add function to query the Peer-to-Peer-Remote-Copy (PPRC) state of a
device by reading the related structure through a read subsystem data call.

Signed-off-by: Stefan Haberland <sth@linux.ibm.com>
Reviewed-by: Jan Hoeppner <hoeppner@linux.ibm.com>
Link: https://lore.kernel.org/r/20220920192616.808070-3-sth@linux.ibm.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/s390/block/dasd_eckd.c
drivers/s390/block/dasd_eckd.h
drivers/s390/block/dasd_int.h