>I don't think it's a benefit but really ugly. There is no reason to now
>allow access to the lower layers. How do I e.g. write a new volume label
to
>the lower level devices?
I am not sure I understand your question. Did you mean that there does not
appear to be a **way** to access lower level devices or did you really mean
no reason to do so? The reason to do so is for plug-ins such as MD which
may want to kick an array member out of the array which is a command
specific to MD. The way in which this is accomplished in EVMS is as Mark
described above through the use of the DIRECT_IOCTL which allows for direct
communication to intermediate levels of an EVMS volume stack.
Note that this method is only used for certain cases like the MD one
described. For normal IO type operations such as writing metadata or
changing volume labels, since EVMS in userspace knows about ALL of the
layers of the volume stack we can resolve all metadata writes to disk
relative offsets in our userspace config tools and thus don't have to write
to intermediate nodes to build more complex volumes.
Steve
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/