Searched hist:"112 ff512fc654d7066936dcc06f77cc60471fdb4" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/arch/s390/include/uapi/asm/ |
H A D | dasd.h | diff 112ff512fc654d7066936dcc06f77cc60471fdb4 Tue Sep 20 14:26:14 CDT 2022 Stefan Haberland <sth@linux.ibm.com> s390/dasd: add ioctl to perform a swap of the drivers copy pair
The newly defined ioctl BIODASDCOPYPAIRSWAP takes a structure that specifies a copy pair that should be swapped. It will call the device discipline function to perform the swap operation.
The structure looks as followed:
struct dasd_copypair_swap_data_t { char primary[20]; char secondary[20]; __u8 reserved[64]; };
where primary is the old primary device that will be replaced by the secondary device. The old primary will become a secondary device afterwards.
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-6-sth@linux.ibm.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
|
/openbmc/linux/drivers/s390/block/ |
H A D | dasd_ioctl.c | diff 112ff512fc654d7066936dcc06f77cc60471fdb4 Tue Sep 20 14:26:14 CDT 2022 Stefan Haberland <sth@linux.ibm.com> s390/dasd: add ioctl to perform a swap of the drivers copy pair
The newly defined ioctl BIODASDCOPYPAIRSWAP takes a structure that specifies a copy pair that should be swapped. It will call the device discipline function to perform the swap operation.
The structure looks as followed:
struct dasd_copypair_swap_data_t { char primary[20]; char secondary[20]; __u8 reserved[64]; };
where primary is the old primary device that will be replaced by the secondary device. The old primary will become a secondary device afterwards.
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-6-sth@linux.ibm.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
|