[S390] zcrypt: fix request timeout handling
authorRalph Wuerthner <rwuerthn@de.ibm.com>
Tue, 10 Jul 2007 09:24:19 +0000 (11:24 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 10 Jul 2007 09:24:52 +0000 (11:24 +0200)
commitaf512ed0f8a7e6a3c6fd93b2b5882c8e837a6939
tree2bd15176832b8c6eb671519334d9e1ab5d994d68
parent987ad70a4d90cf0e70dba43ece02c2e2219e092c
[S390] zcrypt: fix request timeout handling

Under very high load zcrypt requests may timeout while waiting on the
request queue. Modify zcrypt that timeouts are based on crypto adapter
responses. A timeout occurs only if a crypto adapter does not respond
within a given time frame to sumitted requests.

Signed-off-by: Ralph Wuerthner <rwuerthn@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/crypto/ap_bus.c
drivers/s390/crypto/ap_bus.h
drivers/s390/crypto/zcrypt_cex2a.c
drivers/s390/crypto/zcrypt_pcica.c
drivers/s390/crypto/zcrypt_pcicc.c
drivers/s390/crypto/zcrypt_pcixcc.c