From owner-freebsd-questions@FreeBSD.ORG Fri Jul 22 14:42:56 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9CB72106564A for ; Fri, 22 Jul 2011 14:42:56 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 5EF368FC17 for ; Fri, 22 Jul 2011 14:42:56 +0000 (UTC) Received: from r55.edvax.de (port-92-195-103-124.dynamic.qsc.de [92.195.103.124]) by mx01.qsc.de (Postfix) with ESMTP id 46A1F3D311; Fri, 22 Jul 2011 16:42:55 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id p6MEgsOj003330; Fri, 22 Jul 2011 16:42:54 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 22 Jul 2011 16:42:54 +0200 From: Polytropon To: Michael Sierchio Message-Id: <20110722164254.4d4c1093.freebsd@edvax.de> In-Reply-To: References: <201107221337.15804.pieter@degoeje.nl> <1311340592.24555.YahooMailClassic@web160109.mail.bf1.yahoo.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: How to sync a file on FreeBSD? [SOLVED] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jul 2011 14:42:56 -0000 On Fri, 22 Jul 2011 07:37:48 -0700, Michael Sierchio wrote: > This is extremely important, esp. with Softupdates, since fsync() does > not guarantee a flush of all buffers to the medium. But wouldn't sync() (see "man 2 sync") make sure that all buffers, even in regards to soft updates, get immediately flushed / written? > In order to > implement a stable queue, it would be best to use a different > filesystem. What type of filesystem would match those requirements? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...