From owner-freebsd-stable@FreeBSD.ORG Sat Apr 12 01:07:47 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 84D6E37B401 for ; Sat, 12 Apr 2003 01:07:47 -0700 (PDT) Received: from ece.cmu.edu (ECE.CMU.EDU [128.2.136.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id CFF3643FBD for ; Sat, 12 Apr 2003 01:07:46 -0700 (PDT) (envelope-from allbery@ece.cmu.edu) Received: from [10.9.204.1] (allbery@allbery.dsl.telerama.com [205.201.8.182]) (authenticated) by ece.cmu.edu (8.11.0/8.10.2) with ESMTP id h3C87d327028; Sat, 12 Apr 2003 04:07:39 -0400 (EDT) From: "Brandon S. Allbery " KF8NH To: Alfred Perlstein In-Reply-To: <20030412033307.GR30960@elvis.mu.org> References: <3E976EBD.C3E66EF8@tel.fer.hr> <20030412033307.GR30960@elvis.mu.org> Content-Type: text/plain Organization: Message-Id: <1050134860.7300.0.camel@rushlight.kf8nh.apk.net> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 Date: 12 Apr 2003 04:07:40 -0400 Content-Transfer-Encoding: 7bit cc: freebsd-stable@freebsd.org Subject: Re: PATCH: Forcible delaying of UFS (soft)updates X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Apr 2003 08:07:47 -0000 On Fri, 2003-04-11 at 23:33, Alfred Perlstein wrote: > * Marko Zec [030411 19:01] wrote: > > - fsync() no longer flushes the buffers to disk, but returns immediately > > instead; > > This is really the only bad thing I can see here, what about introducing > a slight delay and seeing if one can coalesce the writes? Is this > part really needed? Making fsync() not work is a good way to make > any sort of userland based transactional system break badly. If you're running that kind of thing you really don't want to be using extended delays anyway, I'd think. -- brandon s allbery [openafs/solaris/japh/freebsd] allbery@kf8nh.apk.net system administrator [linux/heimdal/too many hats] allbery@ece.cmu.edu electrical and computer engineering KF8NH carnegie mellon university [better check the oblivious first -ke6sls]