Date: Mon, 14 Jun 2010 11:50:44 +0200 From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: Mikolaj Golub <to.my.trociny@gmail.com> Cc: freebsd-fs@freebsd.org Subject: Re: FreeBSD 8.1 and HAST Message-ID: <20100614095044.GH1721@garage.freebsd.pl> In-Reply-To: <86eigavzsg.fsf@kopusha.home.net> References: <4C1372E0.1000903@soupacific.com> <20100612142311.GF2253@garage.freebsd.pl> <4C139F9C.2090305@soupacific.com> <86iq5oc82y.fsf@kopusha.home.net> <4C14215D.9090304@soupacific.com> <20100613003635.GA60012@icarus.home.lan> <20100613074921.GB1320@garage.freebsd.pl> <4C149A5C.3070401@soupacific.com> <20100613102401.GE1320@garage.freebsd.pl> <86eigavzsg.fsf@kopusha.home.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--82evfD9Ogz2JrdWZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 14, 2010 at 10:28:15AM +0300, Mikolaj Golub wrote: >=20 > On Sun, 13 Jun 2010 12:24:01 +0200 Pawel Jakub Dawidek wrote: >=20 > >> Jun 13 16:25:37 sv01A hastd: [zfshast] (primary) Header contains no '= seq' field. >=20 > PJD> This is the most important bit from the primary node. >=20 > 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. >=20 > 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=20 >=20 > pjdlog_debug(2, "remote_send: seq is %llu.", (uint64_t)ggio->gctl_seq); >=20 > after=20 >=20 > nv_add_uint64(nv, (uint64_t)ggio->gctl_seq, "seq"); >=20 > 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. --=20 Pawel Jakub Dawidek http://www.wheelsystems.com pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --82evfD9Ogz2JrdWZ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkwV+3QACgkQForvXbEpPzQhxQCfaHqWrpagqptbkh6xcfZoNKHr UwoAoJQfuEetO+eKuiGtmRBt2x46ubg1 =VmKM -----END PGP SIGNATURE----- --82evfD9Ogz2JrdWZ--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100614095044.GH1721>