FreeBSD 8.1 and HAST
Pawel Jakub Dawidek
pjd at FreeBSD.org
Mon Jun 14 09:51:02 UTC 2010
On Mon, Jun 14, 2010 at 10:28:15AM +0300, Mikolaj Golub wrote:
> On Sun, 13 Jun 2010 12:24:01 +0200 Pawel Jakub Dawidek wrote:
> >> Jun 13 16:25:37 sv01A hastd: [zfshast] (primary) Header contains no 'seq' field.
> PJD> This is the most important bit from the primary node.
> PJD> The header either does not contain 'seq' field or this field is 0. It
> PJD> can only be 0 if you have old kernel. With recent kernel geom_gate.ko
> PJD> was modified to start seq at 1, so this should not happen.
> I am a bit confused how this seq is supposed to work. For sync thread. I have
> set up hast on 8-STABLE (before I used it on 9-CURRENT only) and have the same
> issue as hiroshi@ does. I have added
> pjdlog_debug(2, "remote_send: seq is %llu.", (uint64_t)ggio->gctl_seq);
> nv_add_uint64(nv, (uint64_t)ggio->gctl_seq, "seq");
> in primary/remote_send thread and observe the following:
Could you find where exactly it looses proper value?
I found that in ggate_recv_thread() after ioctl(2), gctl_seq has
expected value, but I'm not setup to test it further quickly.
Pawel Jakub Dawidek http://www.wheelsystems.com
pjd at FreeBSD.org http://www.FreeBSD.org
FreeBSD committer Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20100614/db05203c/attachment.pgp
More information about the freebsd-fs