Re: Description of the Journaling topology

看板DFBSD_kernel作者時間21年前 (2005/01/06 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串42/42 (看更多)
Oliver Fromme <check+i9srai00rsgior1y@fromme.com> writes: > Nikita Danilov <nikita@clusterfs.com> wrote: > > [...] > > Attempts to improve performance of journalling file systems in this > > regard, mainly rotate around a cluster of (arguably very old) ideas > > called variously "shadows" (in the data-base world), "phase trees" > > (Tux2), and "wandering logs" (in reiser4). From little technical > > information available on Solaris ZFS, it seems it also uses something > > similar. > > Solaris ZFS doesn't use journalling or anything similar. > You can read some interesting information about it here: > > http://www.sun.com/software/solaris/10/ds/zfs.jsp > > And a few more things here: > > http://www.sun.com/2004-0914/feature/ > > I'd like to quote one of the more interesting paragraphs, > which presents one of the main ZFS features: > > "Solaris ZFS avoids data corruption by keeping the data on > the disk selfconsistent at all times. It manages data using > transaction groups that employ copy-on-write technology to > write data to a new block on disk before changing the > pointers to the data and committing the write. Because the > file system is always consistent, time-consuming recovery > procedures such as fsck are not required if the system is > shut down in an unclean manner. Copy-on-write also enables > administrators to take consistent backups or roll data back > to a known point in time." That "copy-on-write" is the thing I was alluding to. It looks very much like phase tree used in Daniel Phillips' Tux2 file system. While not --technically speaking-- a journalling, this is a technique commonly used to implement transactions. Nikita.
文章代碼(AID): #11t2jp00 (DFBSD_kernel)
討論串 (同標題文章)
文章代碼(AID): #11t2jp00 (DFBSD_kernel)