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

Get rid of BlobIoChunk::V5 #656

Merged
merged 3 commits into from
Aug 9, 2022
Merged

Commits on Aug 9, 2022

  1. rafs/v5: rename chunk fields' names to get consistent with others

    Signed-off-by: Changwei Ge <gechangwei@bytedance.com>
    changweige committed Aug 9, 2022
    Configuration menu
    Copy the full SHA
    5872d2a View commit details
    Browse the repository at this point in the history
  2. rafs/v5: implement BlobChunkInfo for V5IoChunk

    Add a new structure V5IoChunk to reprepent backend io
    chunk addresses. This helps to get rid of enum
    BlobIoChunk::V5
    
    Signed-off-by: Changwei Ge <gechangwei@bytedance.com>
    changweige committed Aug 9, 2022
    Configuration menu
    Copy the full SHA
    171f243 View commit details
    Browse the repository at this point in the history
  3. storage: get rid of BlobIoChunk::V5 conversion

    Methods like file_offset() is not required in storage layer.
    So we early fill the io vec with BlobChunkInfo directly to
    get rid of the chunk conversion.
    
    Signed-off-by: Changwei Ge <gechangwei@bytedance.com>
    changweige committed Aug 9, 2022
    Configuration menu
    Copy the full SHA
    51cb537 View commit details
    Browse the repository at this point in the history