From owner-freebsd-current@FreeBSD.ORG Mon May 23 21:11:30 2011 Return-Path: Delivered-To: current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D6F60106564A; Mon, 23 May 2011 21:11:30 +0000 (UTC) (envelope-from sobomax@sippysoft.com) Received: from mail.sippysoft.com (mail.sippysoft.com [4.59.13.245]) by mx1.freebsd.org (Postfix) with ESMTP id 8461A8FC15; Mon, 23 May 2011 21:11:30 +0000 (UTC) Received: from [4.59.13.245] (helo=[192.168.1.79]) by mail.sippysoft.com with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.72 (FreeBSD)) (envelope-from ) id 1QOcPR-0001zJ-Kr; Mon, 23 May 2011 14:11:29 -0700 Message-ID: <4DDACD7F.7040704@sippysoft.com> Date: Mon, 23 May 2011 14:11:27 -0700 From: Maxim Sobolev Organization: Sippy Software, Inc. User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 Thunderbird/3.1.10 MIME-Version: 1.0 To: Pawel Jakub Dawidek References: <4DD2CEE7.1070805@sippysoft.com> <20110521155755.GC3326@garage.freebsd.pl> In-Reply-To: <20110521155755.GC3326@garage.freebsd.pl> Content-Type: text/plain; charset=KOI8-U; format=flowed Content-Transfer-Encoding: 7bit X-ssp-trusted: yes X-Mailman-Approved-At: Mon, 23 May 2011 21:15:57 +0000 Cc: "current@freebsd.org" Subject: Re: Randomization in hastd(8) synchronization thread X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 May 2011 21:11:30 -0000 On 5/21/2011 8:57 AM, Pawel Jakub Dawidek wrote: > Hmm, hastd keeps separate bitmap for synchronization. It is stored in > am_syncmap field. Blocks that are dirtied during regular writes should > not effect on synchronization bitmap and synchronization progress. Possibly, but this policy is not very appropriate for slow links. Please see my other patch, which only dirties blocks on write. Regards, -- Maksym Sobolyev Sippy Software, Inc. Internet Telephony (VoIP) Experts Tel: +1-646-651-1110 Fax: +1-866-857-6942 Web: http://www.sippysoft.com MSN: sales@sippysoft.com Skype: SippySoft