Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Apr 2007 14:38:52 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Ivan Voras <ivoras@fer.hr>
Cc:        freebsd-geom@freebsd.org
Subject:   Re: gjournal & async
Message-ID:  <20070422123852.GA52622@garage.freebsd.pl>
In-Reply-To: <f0eb3i$97s$2@sea.gmane.org>
References:  <f0eb3i$97s$2@sea.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070422123852.GA52622>