linux/drivers/s390
Stefan Haberland 32ff8ce08b s390/dasd: add device ping attribute
Add a function to check if a device is accessible.
This makes mostly sense for copy pair secondary devices but it will work
for all devices.

The sysfs attribute ping is a write only attribute and will issue a NOP
CCW to the device.
In case of success it will return zero. If the device is not accessible
it will return an error code.

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-8-sth@linux.ibm.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2022-09-21 08:32:51 -06:00
..
block s390/dasd: add device ping attribute 2022-09-21 08:32:51 -06:00
char s390 updates for 5.20 merge window 2022-08-06 17:05:21 -07:00
cio VFIO updates for v6.0-rc1 2022-08-06 08:59:35 -07:00
crypto s390/ap: fix crash on older machines based on QCI info missing 2022-08-15 17:19:52 +02:00
net s390/qeth: cache link_info for ethtool 2022-08-08 20:57:56 -07:00
scsi scsi: zfcp: Fix missing auto port scan and thus missing target ports 2022-08-01 19:50:00 -04:00
virtio virtio: Revert "virtio: find_vqs() add arg sizes" 2022-08-16 01:40:24 -04:00
Makefile