RFC: backporting GEOM to the 4.x branch

Thomas Sparrevohn Thomas.Sparrevohn at btinternet.com
Tue Mar 1 00:08:33 GMT 2005


On Monday 28 February 2005 00:15, Maxim Sobolev wrote:
> Roland Dowdeswell wrote:
> > [ cc'ing tech-security at NetBSD.org, because there has been talk
> >   of GBDE there in the past.]
>
> So what? If the write fails in the middle, reading sector will just
> produce garbage. I don't think that it's different from plain old HDD
> which has been powered down in the middle of doing disk write. Disk
> encryption layer is definitely not the level at which journaling should
> be implemented. It's task of file system to do this. The task of
> encryption layer is merely to inform the file system when transaction
> (i.e. both of those two writes in this case) have been completed
> successfully, so that FS can adjust its journal accordingly.
>
> -Maxim

I could be wrong but I would assume that if it is correctly handled within 
softupdates there should be no need for journalling - e.g. If both 
transactions are not completed the writes are ignored



More information about the freebsd-hackers mailing list