No, blkid=0, level=0 is a different block from blkid=0 level=1. If you draw the tree of blocks, each level will start with blkid 0, then 1, 2, etc. See traverse_visitbp(), the "BP_GET_LEVEL(bp) > 0" section, for more details.

--matt

On 9/28/10 11:34 AM, Steve Gonczi wrote:
Hello,

Do the logical block id-s of a given dnode form a single id space, or are they 
layered per level?

In other words, do all blocks, regardless of  their level belong to the same id 
space 0..n
or is each level assigned its own set ob block id-s 0..n?

I am guessing it is a single id space per dnode, but I notice many of the block 
traversal
primitives take both the id and the level.

Tia for clarifying this,

Steve

_______________________________________________
zfs-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/zfs-code

Reply via email to