Hi,

So when I did stuff like this back in the day, I also had to deal with
some layers doing not just straight static translations, but things
like dynamic sector remapping for what was effectively software error
correction. Reaching "around" the layers with some mapping from
virtual -> physical disk device and blocks ended up being problematic
as between the time you did the lookup and the time you did the IO,
the mapping could change.

So when doing stuff like this, I ended up piggybacking commands
through the translation layers, so stuff was done (a) in line with the
rest of IO processing, and (b) wouldn't suffer from stale data.

It doesn't matter as long as the translation stays static, but there's
nothing in GEOM that requires you to have a static translation layer.
:)



-adrian
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-geom
To unsubscribe, send any mail to "[email protected]"

Reply via email to