From owner-freebsd-fs@FreeBSD.ORG Fri Dec 2 08:43:06 2011 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 59755106564A; Fri, 2 Dec 2011 08:43:06 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [IPv6:2a01:4f8:131:60a2::2]) by mx1.freebsd.org (Postfix) with ESMTP id EE97B8FC13; Fri, 2 Dec 2011 08:43:05 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:69b8:2555:9d19:7f7b]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPA id D930A4AC31; Fri, 2 Dec 2011 12:43:03 +0400 (MSK) Date: Fri, 2 Dec 2011 12:42:52 +0400 From: Lev Serebryakov Organization: FreeBSD X-Priority: 3 (Normal) Message-ID: <12310118271.20111202124252@serebryakov.spb.ru> To: Kirk McKusick In-Reply-To: <201112020236.pB22aQi6059579@chez.mckusick.com> References: <20111125110235.GB1642@garage.freebsd.pl> <201112020236.pB22aQi6059579@chez.mckusick.com> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable Cc: freebsd-fs@freebsd.org, Pawel Jakub Dawidek Subject: Re: Does UFS2 send BIO_FLUSH to GEOM when update metadata (with softupdates)? X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lev@FreeBSD.org List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Dec 2011 08:43:06 -0000 Hello, Kirk. You wrote 2 =E4=E5=EA=E0=E1=F0=FF 2011 =E3., 6:36:26: > The one place where a synchronous write (bwrite) is used is when the > completion of a particular I/O is needed to make progress on many other > things (usually an update to the SUJ log) in which case SU will force a > flush on that I/O (e.g., bwrite it) to hasten it along. So, it will be great, if SU will mark such writes additionally :) It could help sometimes -- even if lower layers will not lie about complete writes, it looks that SUJ could work better if such really-critical writes will not delayed at all (even for 30 seconds, which are Ok for all pother SU writes, as you stated earlier). --=20 // Black Lion AKA Lev Serebryakov