]> asedeno.scripts.mit.edu Git - linux.git/commit
s390/zcrypt: Fixed attrition of AP adapters and domains
authorIngo Tuchscherer <ingo.tuchscherer@linux.vnet.ibm.com>
Fri, 14 Oct 2016 12:34:51 +0000 (14:34 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 14 Dec 2016 15:33:39 +0000 (16:33 +0100)
commite47de21dd35bad6d1e71482a66699cd04e83ea40
tree1089dd285e8cde50690b546db76285efa198b8cc
parentb886a9d1560d6c7d5d58344b16f53ab2cba5b666
s390/zcrypt: Fixed attrition of AP adapters and domains

Currently the first eligible AP adapter respectively domain will be
selected to service requests. In case of sequential workload, the
very same adapter/domain will be used.

The adapter/domain selection algorithm now considers the completed
transactions per adaper/domain and therefore ensures a homogeneous
utilization.

Signed-off-by: Ingo Tuchscherer <ingo.tuchscherer@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/crypto/ap_bus.h
drivers/s390/crypto/ap_card.c
drivers/s390/crypto/ap_queue.c
drivers/s390/crypto/zcrypt_api.c