s390/dasd: make query host access interruptible
authorStefan Haberland <sth@linux.vnet.ibm.com>
Thu, 22 Sep 2016 08:49:40 +0000 (10:49 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 26 Sep 2016 14:45:31 +0000 (16:45 +0200)
commitf50af850f407df7b548802461bc248c7683c6dd3
treeb54a6d0933bb2df111d2b84edd56574e97894a45
parentc020d722b110a44c613ef71e657e6dd4116e09d9
s390/dasd: make query host access interruptible

If the DASD device gets blocked for any reason, e.g. because it is reserved
somewhere, the host_access_count sysfs entry or the host_access_list
debugfs entry may sleep forever. Make it interruptible so that userspace
can use ^C to abort the operation.

Signed-off-by: Stefan Haberland <sth@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/block/dasd_eckd.c