]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r231015, r231016:
authortrociny <trociny@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 12 Feb 2012 07:59:25 +0000 (07:59 +0000)
committertrociny <trociny@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 12 Feb 2012 07:59:25 +0000 (07:59 +0000)
commit735bf9b09d388ac1d53a1e850706d5c889cfe2cb
tree291d92a1820a7dbdf2f4327c3a1c5a9b6d1f9204
parent7297b969ff504d7a2f404e2db00f1a9c30c8f2ba
MFC r231015, r231016:

r231015:

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

r231016:

If a local write request is from the synchronization thread, when it
is synchronizing data that is out of date on the local component, we
should not send G_GATE_CMD_DONE acknowledge to the kernel.

This fixes the issue, observed in async mode, when on synchronization
from the remote component the worker terminated with "G_GATE_CMD_DONE
failed" error.

Reported by: Artem Kajalainen <artem kayalaynen ru>
Reviewed by: pjd

git-svn-id: svn://svn.freebsd.org/base/stable/8@231557 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sbin/hastd/primary.c