Index of /mirror/
The mirror device here is pretty simple, and some aspects of it reflect that it was created for a specific
application. For instance, it doesn't contain provision for mirroring anything other than /dev/hda and
/dev/hdb. The ll_rw_blk.c file had to be updated to perform initialization, and I also added code to
ide.c to detach mirror devices if they start losing interrupts, because in early testing that happened
to me, and the entire machine was completely unresponsive with "hdb: lost interrupt" scrolling
continuously and had to be rebooted the hard way.
When a device does become detached, the driver writes a dirty bit map to /dev/hda25. It assumes the partition
will be large enough, and having written the dirty state to it, it doesn't do anything with it; if and when
I ever need to perform a recovery from that state, I'll have to write a program to resynchronize the chunks
marked as dirty.
These changes are relative to the 2.2.16 kernel codebase, so don't expect to be able to just merge them
in to the latest 2.6 series kernel. :-)
Name Last Modified Size
ide.c 28-Dec-2007 13:19 96109
ll_rw_blk.c 28-Dec-2007 13:19 28095
mirror.c 28-Dec-2007 13:19 13023
mirror.h 28-Dec-2007 13:18 311
OmniSecure/3.0a5