no. lets look at a cwfs config.

filsys main c(/dev/sdC0/fscache)(/dev/sdC0/fsworm)
filsys dump o
filsys other (/dev/sdC0/fsother)

main is composed from fscache and fsworm. the cache contains the current
working set of blocks.

when data is requested and its not in the cache, it is read from
the worm and copied to the cache.

when you write new files, they are allocated in the cache. every day,
the filesystem runs a dump process wich copies the blocks that are in
the cache but not written to worm (dirty blocks) to the worm. and then
flags them as dumped so they can be replaced for other data in the cache.

its like a write cache to accumulate changes before they get written
to stable storage (worm).

only blocks that are new or got modified are dumped. this is like a
incremental backup. just that its not just backup, its the main
storage.

just read the fs paper erik linked. it explains it mutch better and
in more detail.

--
cinap

Reply via email to