diff options
author | Jan Glauber <jang@linux.vnet.ibm.com> | 2008-12-25 13:38:48 +0100 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2008-12-25 13:39:00 +0100 |
commit | 7a0b4cbc7d7d99763511b488b08bbc2607ddd1e3 (patch) | |
tree | 96344f73eb9d802b0f488b7d086c8094b93635f8 /drivers/s390/cio/qdio_setup.c | |
parent | 50f769df1c4bea766c4eb927eae35728fb93e305 (diff) | |
download | op-kernel-dev-7a0b4cbc7d7d99763511b488b08bbc2607ddd1e3.zip op-kernel-dev-7a0b4cbc7d7d99763511b488b08bbc2607ddd1e3.tar.gz |
[S390] qdio: fix error reporting for hipersockets
Hipersocket connections can encounter temporary busy conditions.
In case of the busy bit set we retry the SIGA operation immediatelly.
If the busy condition still persists after 100 ms we fail and report
the error to the upper layer. The second stage retry logic is removed.
In case of ongoing busy conditions the upper layer needs to reset the
connection.
The reporting of a SIGA error is now done synchronously to allow the
network driver to requeue the buffers. Also no error trace is created
for the temporary SIGA errors so the error message view is not flooded.
Signed-off-by: Jan Glauber <jang@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/cio/qdio_setup.c')
-rw-r--r-- | drivers/s390/cio/qdio_setup.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/s390/cio/qdio_setup.c b/drivers/s390/cio/qdio_setup.c index 18d54fc..c08356b 100644 --- a/drivers/s390/cio/qdio_setup.c +++ b/drivers/s390/cio/qdio_setup.c @@ -117,6 +117,7 @@ static void setup_queues_misc(struct qdio_q *q, struct qdio_irq *irq_ptr, q->mask = 1 << (31 - i); q->nr = i; q->handler = handler; + spin_lock_init(&q->lock); } static void setup_storage_lists(struct qdio_q *q, struct qdio_irq *irq_ptr, |