From owner-freebsd-fs@FreeBSD.ORG Thu Apr 17 17:46:09 2003 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 836C037B401; Thu, 17 Apr 2003 17:46:05 -0700 (PDT) Received: from mail.tel.fer.hr (zg06-163.dialin.iskon.hr [213.191.148.164]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0119343F3F; Thu, 17 Apr 2003 17:46:02 -0700 (PDT) (envelope-from zec@tel.fer.hr) Received: from marko-tp (marko@[192.168.201.107]) by mail.tel.fer.hr (8.12.6/8.12.6) with ESMTP id h3I0iBxI000859; Fri, 18 Apr 2003 02:44:13 +0200 (CEST) (envelope-from zec@tel.fer.hr) From: Marko Zec To: Terry Lambert Date: Fri, 18 Apr 2003 02:45:52 +0200 User-Agent: KMail/1.5 References: <200304162310.aa96829@salmon.maths.tcd.ie> <200304172143.26387.zec@tel.fer.hr> <3E9F4413.D294E69E@mindspring.com> In-Reply-To: <3E9F4413.D294E69E@mindspring.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200304180245.53107.zec@tel.fer.hr> cc: freebsd-fs@freebsd.org cc: freebsd-stable@freebsd.org Subject: Re: PATCH: Forcible delaying of UFS (soft)updates X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Apr 2003 00:46:10 -0000 On Friday 18 April 2003 02:17, Terry Lambert wrote: > I think people would be happier if you just stopped the soft > updates sync clock, and then if someone actually fsync()'ed, or > the dependency list got too big, it spun up the disk, completed > all the I/O quickly, and then spun it down again. The updated patch does precisely what you just described above. It already includes a tunable vfs.ena_lazy_fsync (off by default) which allows choosing whether blocking (standard) or null- fsync() semantics apply. Check out http://docs.freebsd.org/cgi/getmsg.cgi?fetch=15720+0+current/freebsd-fs :) Marko