Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce blob meta format v2 #796

Merged
merged 7 commits into from
Oct 26, 2022
Merged

Commits on Oct 23, 2022

  1. storage: use filemap for blob meta

    Use FileMapState for blob meta to reduce duplicated code.
    
    Signed-off-by: Jiang Liu <gerry@linux.alibaba.com>
    jiangliu committed Oct 23, 2022
    Configuration menu
    Copy the full SHA
    9ba2a78 View commit details
    Browse the repository at this point in the history
  2. storage: rename BlobChunkInfoOndisk to BlobChunkInfoV1Ondisk

    Rename BlobChunkInfoOndisk to BlobChunkInfoV1Ondisk.
    
    Signed-off-by: Jiang Liu <gerry@linux.alibaba.com>
    jiangliu committed Oct 23, 2022
    Configuration menu
    Copy the full SHA
    df3115a View commit details
    Browse the repository at this point in the history
  3. storage: introduce trait BlobMetaChunkInfo

    Introduce trait BlobMetaChunkInfo so we could introduce other chunk
    info format later.
    
    Signed-off-by: Jiang Liu <gerry@linux.alibaba.com>
    jiangliu committed Oct 23, 2022
    Configuration menu
    Copy the full SHA
    2455c7e View commit details
    Browse the repository at this point in the history
  4. storage: make BlobChunkInfoV1Ondisk private

    Make BlobChunkInfoV1Ondisk private so we could support different chunk
    information format later.
    
    Signed-off-by: Jiang Liu <gerry@linux.alibaba.com>
    jiangliu committed Oct 23, 2022
    Configuration menu
    Copy the full SHA
    3dbc6f9 View commit details
    Browse the repository at this point in the history
  5. storage: prepare for supporting of multiple blob meta formats

    Change the blob meta implement to prepare for supporting of
    multiple blob meta formats.
    
    Signed-off-by: Jiang Liu <gerry@linux.alibaba.com>
    jiangliu committed Oct 23, 2022
    Configuration menu
    Copy the full SHA
    7cfcc90 View commit details
    Browse the repository at this point in the history
  6. nydusd: move chunk v1 related tests into mod v1

    Move chunk v1 related tests into mod v1.
    
    Signed-off-by: Jiang Liu <gerry@linux.alibaba.com>
    jiangliu committed Oct 23, 2022
    Configuration menu
    Copy the full SHA
    53c5c58 View commit details
    Browse the repository at this point in the history
  7. storage: introduce blob meta chunk info v2 format

    Introduce blob meta chunk info v2 format with better encoding and
    a 32-bit data field.
    
    Signed-off-by: Jiang Liu <gerry@linux.alibaba.com>
    jiangliu committed Oct 23, 2022
    Configuration menu
    Copy the full SHA
    9449f64 View commit details
    Browse the repository at this point in the history