Re: Sidetracked: why gjournal over soft-updates (Was: Re: UFS2 Journaling implementation detail)

2008-04-26 Thread Dieter
> SU requires that data it once sends to the drive gets written > immediately, not cached by the drive. Modern desktop drives > don't do that They do if you set them to write-through cache instead of write-back cache. Modern SATA drives also provide NCQ. When is FreeBSD going to support NCQ? ___

Re: Sidetracked: why gjournal over soft-updates (Was: Re: UFS2 Journaling implementation detail)

2008-04-19 Thread Ivan Voras
2008/4/19 Mel <[EMAIL PROTECTED]>: > On Friday 18 April 2008 17:40:04 Ivan Voras wrote: > > > > 5. "Some UFS implementations avoid journaling and > > > instead implement soft updates: they order their > > > writes in such a way that the on-disk file system is > > > never inconsistent, or th

Sidetracked: why gjournal over soft-updates (Was: Re: UFS2 Journaling implementation detail)

2008-04-19 Thread Mel
On Friday 18 April 2008 17:40:04 Ivan Voras wrote: > > 5. "Some UFS implementations avoid journaling and > > instead implement soft updates: they order their > > writes in such a way that the on-disk file system is > > never inconsistent, or that the only inconsistency > > that can be created

Re: UFS2 Journaling implementation detail

2008-04-19 Thread Ivan Voras
2008/4/19 Unga <[EMAIL PROTECTED]>: > --- Ivan Voras <[EMAIL PROTECTED]> wrote: > > > > No, gjournal is a layer below the file system (think > > of it as a virtual disk drive) that does > journalling. > > You need to create a file system on top of gjournal. > > > Pawel added some necessary inte

Re: UFS2 Journaling implementation detail

2008-04-19 Thread Unga
--- Ivan Voras <[EMAIL PROTECTED]> wrote: > No, gjournal is a layer below the file system (think > of it as a virtual disk drive) that does journalling. > You need to create a file system on top of gjournal. > Pawel added some necessary integration for UFS. > Since the gjournal is block level jo

Re: UFS2 Journaling implementation detail

2008-04-18 Thread Unga
--- Ivan Voras <[EMAIL PROTECTED]> wrote: > > Does it log anywhere if the journal size is too > small for the system load? > > Yes, you'll get a system panic in this case. Yes, > it's a bad solution, complain to Pawel :) > So the gjournal can corrupt the file system as well as can fix it :) I

Re: UFS2 Journaling implementation detail

2008-04-18 Thread Ivan Voras
> Ivan, thanks for the links. What I mean is configure > journaling via gjournal(8) for the UFS file system. Just follow the example in gjournal(8) :) > I have following questions in this regard: > > 1. "Pawel (pjd) has reimplemented gjournal with hooks > in the file system code so it can p

Re: UFS2 Journaling implementation detail

2008-04-18 Thread Manolis Kiagias
Unga wrote: --- Ivan Voras <[EMAIL PROTECTED]> wrote: Unga wrote: Hi all I'm looking for papers or documentation covering details of the UFS2 Journaling implementation of the FreeBSD. Please give me links to them if you guys know any. Many thanks in advance.

Re: UFS2 Journaling implementation detail

2008-04-18 Thread Unga
--- Ivan Voras <[EMAIL PROTECTED]> wrote: > Unga wrote: > > Hi all > > > > I'm looking for papers or documentation covering > > details of the UFS2 Journaling implementation of > the > > FreeBSD. > > > > Please give me links to them if you guys know any. > > > > Many thanks in advance. > > The

Re: UFS2 Journaling implementation detail

2008-04-16 Thread Ivan Voras
Unga wrote: Hi all I'm looking for papers or documentation covering details of the UFS2 Journaling implementation of the FreeBSD. Please give me links to them if you guys know any. Many thanks in advance. There's no such thing as UFS2 Journalling in FreeBSD (yet). There's "gjournal" which i