• Joel Becker's avatar
    ocfs2: New slot map format · 386a2ef8
    Joel Becker authored
    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: default avatarJoel Becker <joel.becker@oracle.com>
    Signed-off-by: default avatarMark Fasheh <mfasheh@suse.com>
    386a2ef8
ocfs2.h 14 KB