aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_out.c
diff options
context:
space:
mode:
authorStefan Haberland <[email protected]>2022-09-20 21:26:16 +0200
committerJens Axboe <[email protected]>2022-09-21 08:32:51 -0600
commit32ff8ce08b47a5fe64ef9827443ba6cc49a659c8 (patch)
tree343760d0880b01dbab1e205d1f74f306fb3a78ce /net/lapb/lapb_out.c
parent1fca631a1185d1de9eab65ee963fec20efcc528a (diff)
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 <[email protected]> Reviewed-by: Jan Hoeppner <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions