Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Aug 2006 00:36:37 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Craig Boston <craig@xfoil.gank.org>, freebsd-fs@FreeBSD.org, freebsd-current@FreeBSD.org, freebsd-geom@FreeBSD.org
Subject:   Re: GJournal (hopefully) final patches.
Message-ID:  <20060810223637.GB1389@garage.freebsd.pl>
In-Reply-To: <20060810222942.GA1389@garage.freebsd.pl>
References:  <20060808195202.GA1564@garage.freebsd.pl> <20060810184702.GA8567@nowhere> <20060810192841.GA1345@garage.freebsd.pl> <20060810210535.GA9065@nowhere> <20060810222942.GA1389@garage.freebsd.pl>

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

--eJnRUKwClWJh1Khz
Content-Type: text/plain; charset=iso-8859-2
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Aug 11, 2006 at 12:29:42AM +0200, Pawel Jakub Dawidek wrote:
> On Thu, Aug 10, 2006 at 04:05:35PM -0500, Craig Boston wrote:
> > On Thu, Aug 10, 2006 at 09:28:41PM +0200, Pawel Jakub Dawidek wrote:
> > > When you mount file system it sends BIO_GETATTR "GJOURNAL::provider"
> > > requests. So as long as classes between the file system and gjournal
> > > provider pass BIO_GETATTR down, it will work.
> > >=20
> > > I prefer to put gjournal on the top, because it gives consistency to
> > > layers below it. [...]
> > >
> > > [snip]
> > >=20
> > > Fortunatelly with GEOM you can freely mix your puzzles.
> >=20
> > Would there be any ill effects to putting multiple filesystems inside a
> > single gjournal, say with a bsdlabel or gpt on it?
>=20
> I don't see any problems with such configuration, but there are no
> optimization like "synchronize all file systems and then switch
> journals", so it will go like "synchronize one file system switch
> journals, synchronize another file system, switch journals, etc.".

Ok, on second thought it won't work.
If you have many file systems on one gjournal, you synchronize one file
system and switch journals leaving the rest of file systems in an
inconsistent state.
To make it work reliable I'd need to implement the optimization I
mentioned, ie. sync all file systems and then switch journals.

--=20
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd@FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

--eJnRUKwClWJh1Khz
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (FreeBSD)

iD8DBQFE27T1ForvXbEpPzQRAnwYAJ412dgP+UIfoEgtDD7jrx+ot3UnVwCg81XB
H1HlYHamfl2nw/yCB7wK7PI=
=qDh1
-----END PGP SIGNATURE-----

--eJnRUKwClWJh1Khz--



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