• J
    ocfs2: New slot map format · 386a2ef8
    Joel Becker 提交于
    The old slot map had a few limitations:
    
    - It was limited to one block, so the maximum slot count was 255.
    - Each slot was signed 16bits, limiting node numbers to INT16_MAX.
    - An empty slot was marked by the magic 0xFFFF (-1).
    
    The new slot map format provides 32bit node numbers (UINT32_MAX), a
    separate space to mark a slot in use, and extra room to grow.  The slot
    map is now bounded by i_size, not a block.
    Signed-off-by: NJoel Becker <joel.becker@oracle.com>
    Signed-off-by: NMark Fasheh <mfasheh@suse.com>
    386a2ef8
ocfs2.h 14.0 KB