From owner-freebsd-fs@FreeBSD.ORG Sun Jun 13 10:56:36 2010 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A290C1065670; Sun, 13 Jun 2010 10:56:36 +0000 (UTC) (envelope-from to.my.trociny@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id A79F08FC12; Sun, 13 Jun 2010 10:56:35 +0000 (UTC) Received: by bwz2 with SMTP id 2so1896329bwz.13 for ; Sun, 13 Jun 2010 03:56:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :x-comment-to:date:in-reply-to:message-id:user-agent:mime-version :content-type; bh=NMyagLLt8sAUrK2s6SrJw1A0jka1U0jNqph/0pTaXpM=; b=pjBMfwojMS8hvMr6mf1WvWuWQdpGd/TSeTzeNlNjBEuk3nVKkRRTnq6hAGx4yfog1T aWBklUR8PM/Od26PCcnY1IO1f57GgfujJ09+youqsvBlnxEPzNzvuG8vNV+yTBFEP+5j SyuOQK3siLjIQ9BaBBbhMC/PhTqb7F6RBhUvY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:x-comment-to:date:in-reply-to :message-id:user-agent:mime-version:content-type; b=OmJHmaw8ruZFrapSTzscDIhS6v5UiUGA9lilAIXZeo1mCEwOCMqUvVnw8XHuNri5Mr 3hsTsfFucxkcqFqOwdDxBGIS40dCcoGdj7MIv5/XNztrI4e5Za6z9207MyskEiScKFvW dIFCzjCwYl+sULsIoXQc9uzJRNPUzXmzitegw= Received: by 10.204.83.211 with SMTP id g19mr3214976bkl.44.1276426594569; Sun, 13 Jun 2010 03:56:34 -0700 (PDT) Received: from localhost ([95.69.160.52]) by mx.google.com with ESMTPS id v3sm14165596bkz.10.2010.06.13.03.56.33 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 13 Jun 2010 03:56:33 -0700 (PDT) From: Mikolaj Golub To: Pawel Jakub Dawidek References: <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> <86iq5oc82y.fsf@kopusha.home.net> <4C14215D.9090304@soupacific.com> <20100613003635.GA60012@icarus.home.lan> <20100613074921.GB1320@garage.freebsd.pl> <4C149A5C.3070401@soupacific.com> X-Comment-To: hiroshi@soupacific.com Date: Sun, 13 Jun 2010 13:56:31 +0300 In-Reply-To: <4C149A5C.3070401@soupacific.com> (hiroshi@soupacific.com's message of "Sun, 13 Jun 2010 17:44:12 +0900") Message-ID: <86ljajw68w.fsf@kopusha.home.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Cc: freebsd-fs@freebsd.org Subject: Re: FreeBSD 8.1 and HAST X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Jun 2010 10:56:36 -0000 --=-=-= Just a note, not related to this problem: On Sun, 13 Jun 2010 17:44:12 +0900 hiroshi@soupacific.com wrote: h> Jun 13 17:35:54 sv01B hastd: Accepting connection to tcp4://0.0.0.0:8457. h> Jun 13 17:35:54 sv01B hastd: Connection from tcp4://192.168.0.241:8457 to tcp4://192.168.0.240:24260. It looks like the addresses in this message are swapped. Also I have noticed one typo in another log message and the issue with send thread logging as if it is disk thread (I reported about this earlier in this thread). Please look at the attached patch. -- Mikolaj Golub --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=hastd.log.patch Index: sbin/hastd/hastd.c =================================================================== --- sbin/hastd/hastd.c (revision 208960) +++ sbin/hastd/hastd.c (working copy) @@ -200,7 +200,7 @@ listen_accept(void) proto_local_address(conn, laddr, sizeof(laddr)); proto_remote_address(conn, raddr, sizeof(raddr)); - pjdlog_info("Connection from %s to %s.", laddr, raddr); + pjdlog_info("Connection from %s to %s.", raddr, laddr); /* Error in setting timeout is not critical, but why should it fail? */ if (proto_timeout(conn, HAST_TIMEOUT) < 0) @@ -286,7 +286,7 @@ listen_accept(void) if (token != NULL && memcmp(token, res->hr_token, sizeof(res->hr_token)) != 0) { pjdlog_error("Token received from %s doesn't match.", raddr); - nv_add_stringf(nverr, "errmsg", "Toke doesn't match."); + nv_add_stringf(nverr, "errmsg", "Token doesn't match."); goto fail; } /* 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; --=-=-=--