From owner-freebsd-stable@FreeBSD.ORG Fri Mar 28 21:03:35 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 AA0D9106566B for ; Fri, 28 Mar 2008 21:03:35 +0000 (UTC) (envelope-from ivoras@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.191]) by mx1.freebsd.org (Postfix) with ESMTP id 780B58FC1C for ; Fri, 28 Mar 2008 21:03:35 +0000 (UTC) (envelope-from ivoras@gmail.com) Received: by rv-out-0910.google.com with SMTP id g13so261030rvb.43 for ; Fri, 28 Mar 2008 14:03:35 -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=HVfppstNuXng+s9XRnnDoeK4h/x5zqubmYP85ON2E1Y=; b=KJQ9JUeTsllW6mAGRCKU5sdcOjVyvYiNHaUlx0LcJe/SP2drj2xGpDnK2bPhK1j0x5mmUG7T8v/EsegMwooTBeSzNxY1mqLzIGtscO7LrouO/fxTyH8OzQk99mlUD1Kb4G5CV0wZ3DHlT7Qn3Sph2wRQBpWBAaM1wZLqQJo1CkQ= 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=gnOxQty0cMMoICAAivkJeHYsdjd8UZNyUviSt8om3g6nDxWzN5YMssMNMgNQTx7/ybpGcEKpxxl90k08eWdkySv43acW7Y63iim1wzO8K4XfcxxmqFKaA4dmn+3aGqCm8aZvXHd6QTd5DfhDMe/zfyL6Dbwe7LE5t2qoBejgqIQ= Received: by 10.141.129.14 with SMTP id g14mr1774892rvn.274.1206738215209; Fri, 28 Mar 2008 14:03:35 -0700 (PDT) Received: by 10.141.212.1 with HTTP; Fri, 28 Mar 2008 14:03:35 -0700 (PDT) Message-ID: <9bbcef730803281403m3f5f71a8u5d29628828b5ae26@mail.gmail.com> Date: Fri, 28 Mar 2008 22:03:35 +0100 From: "Ivan Voras" Sender: ivoras@gmail.com To: "David Malone" In-Reply-To: <20080328153851.GA76472@walton.maths.tcd.ie> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <47EBA3AB.40307@infracaninophile.co.uk> <200803280029.08136.danny@ricin.com> <20080328142843.GD28690@dan.emsphone.com> <20080328153851.GA76472@walton.maths.tcd.ie> X-Google-Sender-Auth: e2f87b5588f59c16 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 21:03:35 -0000 On 28/03/2008, David Malone wrote: > On Fri, Mar 28, 2008 at 04:26:16PM +0100, Ivan Voras wrote: > > All were tested within the same time: 50 seconds. Details: the machine > > being tested was connected to a "reporter" machine via plain crossover > > cable, the reporter had a TCP server and the tested machine had a TCP > > client that run a tight loop of IO operations, single threaded, randomly > > choosing between creating files and directories, appending to them and > > changing (a random amount of data in a random position) them, then > > sending to the server a description (log) of each IO operation after it > > has been done. These were several Python scripts I wrote. > > Our of curiosity, if you call fsync on some subset of the files > after creating them, do they all the files on which fsync completed > exist after the fsck? It should be easy to check, but I don't have the hardware any more so I can't. For what it's worth, files were opened and closed for the duration of the operations. I agree that fsync-ing files should make them more persistent.