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

nydusify & nydus-image: v6 image conversion support #473

Merged
merged 21 commits into from
Jun 10, 2022

Commits on Jun 8, 2022

  1. nydus-image: bug fix for dirents_offset overflow for non-dir/non-sy…

    …mlink file
    
    Only the dir and symlink file of rafsv6 can be of EROFS_INODE_FLAT_INLINE layout,
    so we only need to compute dirents offset for these two type of files.
    Otherwise, it may overflow.
    
    Signed-off-by: zyfjeff <zyfjeff@linux.alibaba.com>
    Signed-off-by: Qi Wang <wangqi@linux.alibaba.com>
    yawqi authored and zyfjeff committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    d6e0a95 View commit details
    Browse the repository at this point in the history
  2. nydus-image: feature, begin adding support for v6 image multi layer b…

    …uild
    
    First, we need to change v5 specific interface to universal interface.
    
    Signed-off-by: zyfjeff <zyfjeff@linux.alibaba.com>
    Signed-off-by: Qi Wang <wangqi@linux.alibaba.com>
    yawqi authored and zyfjeff committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    282cd91 View commit details
    Browse the repository at this point in the history
  3. nydus-image: feature, implement interfaces for v6 OndiskInodeWrapper

    We implement unimplmented methods of v6's OndiskInodeWrapper.
    
    Signed-off-by: zyfjeff <zyfjeff@linux.alibaba.com>
    Signed-off-by: Qi Wang <wangqi@linux.alibaba.com>
    yawqi authored and zyfjeff committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    c0f6d41 View commit details
    Browse the repository at this point in the history
  4. nydus-image: feature, v6 multi layer build suppot

    Signed-off-by: zyfjeff <zyfjeff@linux.alibaba.com>
    Signed-off-by: Qi Wang <wangqi@linux.alibaba.com>
    yawqi authored and zyfjeff committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    9228759 View commit details
    Browse the repository at this point in the history
  5. nydus-image: bug fix, correct implementation of chunk info for v6

    Signed-off-by: zyfjeff <zyfjeff@linux.alibaba.com>
    zyfjeff committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    1244ac6 View commit details
    Browse the repository at this point in the history
  6. nydus-image: bug fix, fix . and .. 's incorrent dirent order

    Previously, in some methods, we assume the `.` and `..` are
    the first two dirents, which is not true, both of them are
    globally sorted along with other dirents, we fix that in this
    patch.
    
    Signed-off-by: zyfjeff <zyfjeff@linux.alibaba.com>
    zyfjeff committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    4a0a6d2 View commit details
    Browse the repository at this point in the history
  7. nydus-image: bug fix, fix invalid xatttr size

    When build centos and java's v6 image, the conversion
    failed due to incorrent xattr index. We fix that in this
    patch.
    
    Signed-off-by: zyfjeff <zyfjeff@linux.alibaba.com>
    zyfjeff committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    449303a View commit details
    Browse the repository at this point in the history
  8. nydusify: support nydus v6 image build

    Previously, we have modified the nydus-image to allow specifying
    parent bootstrap when converting v6 image, therefore, we add the
    image-version argument into nydusify to support v6 image conversion.
    
    Signed-off-by: zyfjeff <zyfjeff@linux.alibaba.com>
    zyfjeff committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    448cf2b View commit details
    Browse the repository at this point in the history
  9. nydus-image: enable image validate for v6

    Signed-off-by: zyfjeff <zyfjeff@linux.alibaba.com>
    zyfjeff committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    e87929f View commit details
    Browse the repository at this point in the history
  10. nydus-image: enable rafsv6 smoke test

    Signed-off-by: zyfjeff <zyfjeff@linux.alibaba.com>
    zyfjeff committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    8779711 View commit details
    Browse the repository at this point in the history
  11. test: disable digest validate for v6

    Signed-off-by: zyfjeff <zyfjeff@linux.alibaba.com>
    zyfjeff committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    90fc1ab View commit details
    Browse the repository at this point in the history
  12. nydusify: support v6 image build test

    Signed-off-by: zyfjeff <zyfjeff@linux.alibaba.com>
    zyfjeff committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    e57f42d View commit details
    Browse the repository at this point in the history
  13. nydusify: disable digest validate and use direct mode for v6

    Signed-off-by: zyfjeff <zyfjeff@linux.alibaba.com>
    zyfjeff committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    dc1fdcc View commit details
    Browse the repository at this point in the history
  14. nydusify: rename image_version to fs-version to be consistent wit…

    …h nydus-image
    
    Signed-off-by: Qi Wang <wangqi@linux.alibaba.com>
    yawqi committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    c58ef29 View commit details
    Browse the repository at this point in the history
  15. test: fix wrong spelling

    Signed-off-by: zyfjeff <zyfjeff@linux.alibaba.com>
    zyfjeff committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    e0c085b View commit details
    Browse the repository at this point in the history
  16. test: safe to stop registry container

    Signed-off-by: zyfjeff <zyfjeff@linux.alibaba.com>
    zyfjeff committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    9d991f8 View commit details
    Browse the repository at this point in the history
  17. nydus-image: partial implementation inspect subcommand for v6

    Signed-off-by: zyfjeff <zyfjeff@linux.alibaba.com>
    zyfjeff committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    712bd1d View commit details
    Browse the repository at this point in the history
  18. Fix code review comments

    Signed-off-by: zyfjeff <zyfjeff@linux.alibaba.com>
    zyfjeff committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    2fca2db View commit details
    Browse the repository at this point in the history
  19. nydusify: change fs-image args usage describe

    Signed-off-by: zyfjeff <zyfjeff@linux.alibaba.com>
    zyfjeff committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    8da4bd3 View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2022

  1. Use native rust way replace if-self

    Signed-off-by: zyfjeff <zyfjeff@linux.alibaba.com>
    zyfjeff committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    e033493 View commit details
    Browse the repository at this point in the history
  2. Handle borrow_mut panic

    Signed-off-by: zyfjeff <zyfjeff@linux.alibaba.com>
    zyfjeff committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    5bb773d View commit details
    Browse the repository at this point in the history