It leaves a lot to the imagination ...
My yoke device already fixes some of the problem with leaving devices
accessible under a raid mirror, by simply not requiring any overlying
device. It hooks together the raw devices, hijacking their request_fn's
in the kernel, and doing other bits of cuckoo-type things. (uh,
probably available via www.freshmeat.net; /yoke).
But I don't see why part of the action of the ordinary raid device
couldn't be to do the same thing in reverse .. disable access via the
underlying devices. I might suggest a patch in a while (soon
as I can get hold of a recent kernel source). It should probably
stash the ops structure already registerered for the device
and substitute its own. To check .. if raid depends on the strcuture
being available just where it used to be ...
Peter
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/