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

Correctly generate mapped-blkaddr for RAFS devslot array #1108

Merged
merged 4 commits into from
Feb 24, 2023

Conversation

jiangliu
Copy link
Collaborator

Correctly generate mapped-blkaddr for RAFS devslot array, it helps to expose a RAFS v6 image as a block device.

Only support maximum 255 layers for RAFS v6, because it could only
encoding 255 blob indice.

Signed-off-by: Jiang Liu <[email protected]>
Refine dump_v6_bootstrap() to prepare for fixing a bug.

Signed-off-by: Jiang Liu <[email protected]>
Correctly set mapped-blkaddr for RAFS v6 device slots.
It will be used to represent a Nydus image as a block device.

Signed-off-by: Jiang Liu <[email protected]>
Define helper functions to detect caceh types.

Signed-off-by: Jiang Liu <[email protected]>
@jiangliu jiangliu requested a review from a team as a code owner February 24, 2023 09:25
@jiangliu jiangliu requested review from bergwolf, luodw and hsiangkao and removed request for a team February 24, 2023 09:25
@anolis-bot
Copy link
Collaborator

@jiangliu , a new test job has been submitted. Please wait in patience. The test job url: https://tone.openanolis.cn/ws/nrh4nnio/test_result/52827

@jiangliu jiangliu changed the title Mapped blkaddr Correctly generate mapped-blkaddr for RAFS devslot array Feb 24, 2023
@anolis-bot
Copy link
Collaborator

@jiangliu , the title has been updated, so a new test job has been submitted. Please wait in patience. The test job url: https://tone.openanolis.cn/ws/nrh4nnio/test_result/52834

@anolis-bot
Copy link
Collaborator

@jiangliu , The CI test is completed, please check result:

Test CaseTest Result
build rust golang image✅ SUCCESS
compile nydusd✅ SUCCESS
compile ctr remote✅ SUCCESS
compile nydus snapshotter✅ SUCCESS
run container with rafs✅ SUCCESS
run container with zran✅ SUCCESS

Congratulations, your test job passed!

@anolis-bot
Copy link
Collaborator

@jiangliu , The CI test is completed, please check result:

Test CaseTest Result
build rust golang image✅ SUCCESS
compile nydusd✅ SUCCESS
compile ctr remote✅ SUCCESS
compile nydus snapshotter✅ SUCCESS
run container with rafs✅ SUCCESS
run container with zran✅ SUCCESS

Congratulations, your test job passed!

Copy link
Collaborator

@mofishzz mofishzz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jiangliu jiangliu merged commit 02d1df3 into dragonflyoss:dev/v2.3 Feb 24, 2023
@jiangliu jiangliu deleted the mapped-blkaddr branch March 28, 2023 01:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants