]> git.baikalelectronics.ru Git - kernel.git/commit
s390/dasd: process all requests in the device tasklet
authorHannes Reinecke <hare@suse.de>
Wed, 30 Jan 2013 09:26:13 +0000 (09:26 +0000)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 1 Jul 2013 15:31:18 +0000 (17:31 +0200)
commitf0010e9f4b401b71ce59208bc6dbb24936d2c845
tree0862b4abdf089eb5ad613d3470b03d54fed868ca
parentf7fb63964624276b62391a26afbd756f9f24b4ff
s390/dasd: process all requests in the device tasklet

Originally the DASD device tasklet would process the entries on
the ccw_queue until the first non-final request was found.
Which was okay as long as all requests have the same retries and
expires parameter.
However, as we're now allowing to modify both it is possible to
have requests _after_ the first request which already have expired.
So we need to check all requests in the device tasklet.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Stefan Weinhuber <wein@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/block/dasd.c