From owner-freebsd-stable@FreeBSD.ORG Fri Mar 28 22:37:06 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2A34C106564A for ; Fri, 28 Mar 2008 22:37:05 +0000 (UTC) (envelope-from ivoras@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.186]) by mx1.freebsd.org (Postfix) with ESMTP id BC8528FC12 for ; Fri, 28 Mar 2008 22:37:05 +0000 (UTC) (envelope-from ivoras@gmail.com) Received: by rv-out-0910.google.com with SMTP id g13so285810rvb.43 for ; Fri, 28 Mar 2008 15:37:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=ZsTQThBN865K/mbxtNR9sp5+L4yWxucCOi1YXhOXTN0=; b=CJwZs8BlQHrq/R64V1X82rnnSw5a1F4mmLS1pPjJJXy3F4CBDSXspWIYjGAFjVZqY24gd60WrpZlVJm4wEW6ijIbRtg4ok4c+hSe5Y2igg21DLG3+xHJtimKSTG5BIAvui3rZQmrHrll9bV6cOHpWqparSEmGAemF8RoFIBqefw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=hsjWARo7PTTIkqP3qBgk2/IRaDLPdjTqtn3nIvRri4fSB2F6zdwZG2C7/C8RWJ+O1Fjly/QOv+/oUP8fEqMLcQ7nj69FI4nBsHNgjSJ0ZqfeU9aWDzvXFFQx/3Zolkm8SDRWKfMqOMzmA98E9wPZxPRdVCFvU1E2C/scA9LdXlM= Received: by 10.140.179.25 with SMTP id b25mr1863668rvf.117.1206743825381; Fri, 28 Mar 2008 15:37:05 -0700 (PDT) Received: by 10.141.212.1 with HTTP; Fri, 28 Mar 2008 15:37:05 -0700 (PDT) Message-ID: <9bbcef730803281537k1051f3ffn59f7440318c11df5@mail.gmail.com> Date: Fri, 28 Mar 2008 23:37:05 +0100 From: "Ivan Voras" Sender: ivoras@gmail.com To: "Max Laier" In-Reply-To: <200803282316.34595.max@love2party.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <47EBA3AB.40307@infracaninophile.co.uk> <47EC9245.6060200@infracaninophile.co.uk> <200803282316.34595.max@love2party.net> X-Google-Sender-Auth: e70b098cf3e375e8 Cc: freebsd-stable@freebsd.org Subject: Re: Question about file system checks X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Mar 2008 22:37:06 -0000 On 28/03/2008, Max Laier wrote: > Can you please give more details about your benchmark? It seems to me > that the only thing you are measuring is how many files you managed to > touch between the last sync(2) and plugging the power. This is not an > interesting number. I'd say it's mildly interesting, for a file server. :) >What would be interesting is to stop the syncer, > touch a known number of files and then pull the plug. > > But in the end it boils down to: There is fsync to build transactions - > use it or else. If you find that you lose fsync'ed files, that's a > reason for concern, of course. You are right, of course. If I get the chance I'll redo the whole thing with fsync.