diff options
author | trociny <trociny@FreeBSD.org> | 2012-02-05 15:21:08 +0000 |
---|---|---|
committer | trociny <trociny@FreeBSD.org> | 2012-02-05 15:21:08 +0000 |
commit | d2786f0a2c3f16ec2f18af460036f9a264286ef1 (patch) | |
tree | 9bb8e15ccda4df8183b8c63aa047b93a795214ee /sbin | |
parent | 73dbcb64518f1cc87d692fcae08ff8b8fb226385 (diff) | |
download | FreeBSD-src-d2786f0a2c3f16ec2f18af460036f9a264286ef1.zip FreeBSD-src-d2786f0a2c3f16ec2f18af460036f9a264286ef1.tar.gz |
Fix the regression introduced in r226859: if the local component is
out of date BIO_READ requests got lost instead of being sent to the
remote component.
Reviewed by: pjd
MFC after: 1 week
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/hastd/primary.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/hastd/primary.c b/sbin/hastd/primary.c index ca1ab53..54d955d 100644 --- a/sbin/hastd/primary.c +++ b/sbin/hastd/primary.c @@ -1255,7 +1255,7 @@ ggate_recv_thread(void *arg) pjdlog_debug(2, "ggate_recv: (%p) Moving request to the send queues.", hio); refcount_init(&hio->hio_countdown, ncomps); - for (ii = ncomp; ii < ncomps; ii++) + for (ii = ncomp; ii < ncomp + ncomps; ii++) QUEUE_INSERT1(hio, send, ii); } /* NOTREACHED */ |