Re: Converting LBAs to byte offsets through the GEOM stack

2014-12-28 Thread Pokala, Ravi
Hi Poul-Henning, >If this were important, the geom(8) tool could probably do it, based on >the exported XML state of the geom-mesh and support modules mirroring >actual logic for all relevant geoms, that way it would at least live in >userland. I did some digging in our source tree, and it turns

Re: Converting LBAs to byte offsets through the GEOM stack

2014-12-28 Thread Adrian Chadd
On 28 December 2014 at 11:48, Pokala, Ravi wrote: > Hi Adrian, > >>So I had a thing that I attached commands to that would funnel down to >>the geom layer that did this mirroring/caching/remapping thing, and it >>would handle schedule the commands to whatever block(s) on whatever >>disk(s) actuall

Re: Converting LBAs to byte offsets through the GEOM stack

2014-12-28 Thread Pokala, Ravi
Hi Adrian, >So I had a thing that I attached commands to that would funnel down to >the geom layer that did this mirroring/caching/remapping thing, and it >would handle schedule the commands to whatever block(s) on whatever >disk(s) actually represented that particular logical offset. I actually >