From owner-freebsd-current@FreeBSD.ORG Fri Jun 9 09:59:58 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 139FA16A41B for ; Fri, 9 Jun 2006 09:59:58 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail06.syd.optusnet.com.au (mail06.syd.optusnet.com.au [211.29.132.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id BEFCF43D95 for ; Fri, 9 Jun 2006 09:59:29 +0000 (GMT) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-19-236.belrs4.nsw.optusnet.com.au [220.239.19.236]) by mail06.syd.optusnet.com.au (8.12.11/8.12.11) with ESMTP id k599xOdH013699 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Fri, 9 Jun 2006 19:59:26 +1000 Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.13.6/8.13.6) with ESMTP id k599xOov019625; Fri, 9 Jun 2006 19:59:24 +1000 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.13.6/8.13.6/Submit) id k599xNmE019624; Fri, 9 Jun 2006 19:59:23 +1000 (EST) (envelope-from peter) Date: Fri, 9 Jun 2006 19:59:23 +1000 From: Peter Jeremy To: "Daniel O'Connor" Message-ID: <20060609095923.GB739@turion.vk2pj.dyndns.org> References: <20060608132048.GD86198@garage.freebsd.pl> <20060608174113.GC1075@roadrunner.q.local> <200606091215.41787.doconnor@gsoft.com.au> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3lcZGd9BuhuYXNfi" Content-Disposition: inline In-Reply-To: <200606091215.41787.doconnor@gsoft.com.au> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.11 Cc: freebsd-current@freebsd.org Subject: Re: Data authentication for geli(8) committed to HEAD. 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: Fri, 09 Jun 2006 09:59:58 -0000 --3lcZGd9BuhuYXNfi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, 2006-Jun-09 12:15:33 +0930, Daniel O'Connor wrote: >I think that in reality with a modern high capacity disk you don't get ato= mic=20 >writes at all because they all re-write whole tracks. AFAIK, this applies to _all_ modern disks, whether they're SATA, PATA or SC= SI. >Yes this violates the assumption soft updates makes, I believe the only wa= y=20 >around it is to buy SCSI drives (not because they're SCSI per se, but beca= use=20 >they're smaller capacity so they don't do this) Not totally. Soft updates requires that the device driver inform the filesystem when a write has been committed to non-volatile media. The device driver can only do this if the underlying device reports this. All SCSI devices do but few ATA devices support tagged queueing so the device driver can only tell that the data has been written to the disk cache, not that the data has been committed. You can work around this (at the cost of reducing write performance by about an order of magnitude) by disabling write caching. --=20 Peter Jeremy --3lcZGd9BuhuYXNfi Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEiUZ3/opHv/APuIcRAlDXAJ92h716J2xAq23+Qf7qz2kjY2UMnACffmC0 kikRsuEcBVIehGCqechqXHM= =BdHB -----END PGP SIGNATURE----- --3lcZGd9BuhuYXNfi--