Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Jun 2010 23:24:53 +0300
From:      Mikolaj Golub <to.my.trociny@gmail.com>
To:        "hiroshi\@soupacific.com" <hiroshi@soupacific.com>
Cc:        freebsd-fs@freebsd.org, Pawel Jakub Dawidek <pjd@FreeBSD.org>
Subject:   Re: FreeBSD 8.1 and HAST
Message-ID:  <86iq5oc82y.fsf@kopusha.home.net>
In-Reply-To: <4C139F9C.2090305@soupacific.com> (hiroshi@soupacific.com's message of "Sat, 12 Jun 2010 23:54:20 %2B0900")
References:  <4BCFA4C2.6000109@soupacific.com> <4BCFB1C5.5000908@soupacific.com> <4BD01800.9040901@soupacific.com> <4BD0438B.5080308@soupacific.com> <4BD0E432.1000108@soupacific.com> <20100423061521.GC1670@garage.freebsd.pl> <4BD17B0D.5080601@soupacific.com> <4C10B526.4040908@soupacific.com> <20100612104336.GA2253@garage.freebsd.pl> <4C1372E0.1000903@soupacific.com> <20100612142311.GF2253@garage.freebsd.pl> <4C139F9C.2090305@soupacific.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--=-=-=


On Sat, 12 Jun 2010 23:54:20 +0900 hiroshi@soupacific.com wrote:

 >> Could you send the debug from the whole session, but when the problem
 >> appears? I don't see those "socket is not connected" errors in the
 >> output you sent.

 h> "socket is not connected" errors is in message log

 >> If it is possible could you turn off lines wrapping or maybe send the
 >> debug output as an attachment?
 >>
 h> I here attache debug.log and message files.

It would be good to have all.log enabled in newsyslog.conf and provide the
output from there so all lines are in one log and it is clear which message
appeared earlier. Also the logs from the primary could be useful too.

 h> Jun 12 23:40:09 sv01B hastd: [zfshast] (secondary) send: (0x8011f52e0) Got request: WRITE(0, 131072).
 h> Jun 12 23:40:09 sv01B hastd: [zfshast] (secondary) disk: (0x8011f52e0) Moving request to the free queue.

BTW, this message lies that it is from the disk thread. It is from the send
thread too. See the attached patch.

 h> Jun 12 23:40:09 sv01B hastd: [zfshast] (secondary) send: Taking request.
 h> Jun 12 23:40:09 sv01B hastd: [zfshast] (secondary) send: No requests, waiting.

-- 
Mikolaj Golub

--=-=-=
Content-Type: text/x-patch
Content-Disposition: inline; filename=secondary.c.send.patch

Index: sbin/hastd/secondary.c
===================================================================
--- sbin/hastd/secondary.c	(revision 208960)
+++ sbin/hastd/secondary.c	(working copy)
@@ -687,7 +687,7 @@ send_thread(void *arg)
 			pjdlog_exit(EX_TEMPFAIL, "Unable to send reply.");
 		}
 		nv_free(nvout);
-		pjdlog_debug(2, "disk: (%p) Moving request to the free queue.",
+		pjdlog_debug(2, "send: (%p) Moving request to the free queue.",
 		    hio);
 		nv_free(hio->hio_nv);
 		hio->hio_error = 0;

--=-=-=--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86iq5oc82y.fsf>