s390/dasd: Add dasd_sleep_on_queue_interruptible()
authorJan Höppner <hoeppner@linux.ibm.com>
Thu, 27 Jun 2019 12:33:17 +0000 (14:33 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Thu, 11 Jul 2019 18:39:54 +0000 (20:39 +0200)
commitbcf36768ea688e926b04639c88c77d8caea3b736
treeb82414bf752734689a3ce9a8396e33addcf117f7
parentd7a4434d6013c750f6c180f9678a870abc21993b
s390/dasd: Add dasd_sleep_on_queue_interruptible()

There is dasd_sleep_on() and dasd_sleep_on_interruptible() to start CCW
requests uninterruptible and interruptible. However, there is only
dasd_sleep_on_queue() to start requests from CCW queues uninterruptible.

Add dasd_sleep_on_queue_interruptible() to provide a way to start
requests from CCW queues interruptible. _dasd_sleep_on_queue() already
provides this functionality.

Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
Reviewed-by: Stefan Haberland <sth@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
drivers/s390/block/dasd.c
drivers/s390/block/dasd_int.h