linux/drivers/s390/block
Sebastian Ott 8360cb5f38 s390/scm_blk: fix request number accounting
If a block device driver cannot fetch all requests from the blocklayer
it's in his responsibility to call the request function at a later time.
Normally this would be done after the next irq for the underlying device
is handled. However in situations where we have no outstanding request
we have to schedule the request function for a later time.

This is determined using an internal counter of requests issued to the
hardware.

In some cases where we give a request back to the block layer unhandled
the number of queued requests was not adjusted. Fix this class of
failures by adjusting queued_requests in all functions used to give
a request back to the block layer.

Reviewed-by: Peter Oberparleiter <peter.oberparleiter@de.ibm.com>
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Peter Oberparleiter <peter.oberparleiter@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2013-03-07 09:52:20 +01:00
..
dasd_3990_erp.c s390/time: rename tod clock access functions 2013-02-14 15:55:10 +01:00
dasd_alias.c s390/time: rename tod clock access functions 2013-02-14 15:55:10 +01:00
dasd_devmap.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux 2012-12-13 14:20:19 -08:00
dasd_diag.c s390/time: rename tod clock access functions 2013-02-14 15:55:10 +01:00
dasd_diag.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
dasd_eckd.c s390/dasd: fix unresponsive device after all channel paths were lost 2013-02-28 09:37:07 +01:00
dasd_eckd.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
dasd_eer.c s390/time: rename tod clock access functions 2013-02-14 15:55:10 +01:00
dasd_erp.c s390/time: rename tod clock access functions 2013-02-14 15:55:10 +01:00
dasd_fba.c s390/time: rename tod clock access functions 2013-02-14 15:55:10 +01:00
dasd_fba.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
dasd_genhd.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
dasd_int.h s390/dasd: add safe offline interface 2012-11-30 15:40:44 +01:00
dasd_ioctl.c s390: use ccw_device_get_schid 2012-11-23 11:14:28 +01:00
dasd_proc.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
dasd.c dasd: fix sysfs cleanup in dasd_generic_remove 2013-02-14 15:55:17 +01:00
dcssblk.c s390/dcssblk: cleanup device attribute usage 2012-10-09 14:16:56 +02:00
Kconfig s390/scm_block: force cluster writes 2012-09-26 15:45:01 +02:00
Makefile s390/scm_block: force cluster writes 2012-09-26 15:45:01 +02:00
scm_blk_cluster.c s390/scm_block: force cluster writes 2012-09-26 15:45:01 +02:00
scm_blk.c s390/scm_blk: fix request number accounting 2013-03-07 09:52:20 +01:00
scm_blk.h s390/scm: use inline dummy functions 2013-02-14 15:55:09 +01:00
scm_drv.c s390/scm: reorder scm_remove 2012-09-26 15:45:10 +02:00
xpram.c driver-core: remove sysdev.h usage. 2011-12-21 16:26:03 -08:00