From owner-freebsd-geom@FreeBSD.ORG Sun Apr 22 12:39:57 2007 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0DF7716A402 for ; Sun, 22 Apr 2007 12:39:57 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.freebsd.org (Postfix) with ESMTP id ABDEA13C48A for ; Sun, 22 Apr 2007 12:39:56 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 6BDCE45CD9; Sun, 22 Apr 2007 14:39:54 +0200 (CEST) Received: from localhost (public-gprs38729.centertel.pl [91.94.23.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 6B7BB45696; Sun, 22 Apr 2007 14:39:44 +0200 (CEST) Date: Sun, 22 Apr 2007 14:38:52 +0200 From: Pawel Jakub Dawidek To: Ivan Voras Message-ID: <20070422123852.GA52622@garage.freebsd.pl> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jRHKVT23PllUwdXP" Content-Disposition: inline In-Reply-To: X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-2.5 required=3.0 tests=BAYES_00,RCVD_IN_NJABL_DUL autolearn=no version=3.0.4 Cc: freebsd-geom@freebsd.org Subject: Re: gjournal & async X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Apr 2007 12:39:57 -0000 --jRHKVT23PllUwdXP Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Apr 22, 2007 at 02:43:29AM +0200, Ivan Voras wrote: > How does gjournal guarantee corectness if UFS is mounted async? AFAIK > the "async" handling of IO requests is done by the UFS, the writes are > not rescheduled at the GEOM layer? GJournal has some minimum knowledge about VFS. Before it does journal switch, it synchronize and suspends file system. This way we can be sure everything is on disk in a consistent state. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --jRHKVT23PllUwdXP Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFGK1dcForvXbEpPzQRAuP0AJ9eoDQFYDxPcmcNwtXK9aF8GSPF9wCghcQF sRXrTWffigHFo0Dq7RqBhmo= =e3hd -----END PGP SIGNATURE----- --jRHKVT23PllUwdXP--