From owner-freebsd-questions@FreeBSD.ORG Sun Aug 13 04:36:11 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A7A6516A4DA for ; Sun, 13 Aug 2006 04:36:11 +0000 (UTC) (envelope-from cdtelting-ml@comcast.net) Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [63.240.77.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 47FE543D45 for ; Sun, 13 Aug 2006 04:36:11 +0000 (GMT) (envelope-from cdtelting-ml@comcast.net) Received: from mail.local (c-24-126-49-116.hsd1.ca.comcast.net[24.126.49.116]) by comcast.net (sccrmhc12) with ESMTP id <2006081304361001200mqi16e>; Sun, 13 Aug 2006 04:36:10 +0000 Received: from [192.168.1.63] (Hermes.local [192.168.1.63]) by mail.local (Postfix) with ESMTP id F2D813FE for ; Sat, 12 Aug 2006 21:36:09 -0700 (PDT) Message-ID: <44DEABD4.9020905@comcast.net> Date: Sat, 12 Aug 2006 21:34:28 -0700 From: Chris User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Can someone elplain Synchronous Writes? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Aug 2006 04:36:11 -0000 I did a search but was unable to find a good explanation of what synchronous writes are in filesystems. A disk can only write one block of data at a time so I fail to see what is synchronous and why it is slow. Is synchronous used in this case to mean serialized file operations? Also modern hard drives have write caches so doesn't that defeat filesystem's consistency efforts? Lastly "soft updates" I think caches file system meta data so it updates multiple records at once. Isn't this similar to a hard drives write cache and SCSI and now IDE's "native command queing" which reoders and combines read and writes? Chris