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

Sync missing commits #320

Merged
merged 9 commits into from
Mar 10, 2022
Merged

Sync missing commits #320

merged 9 commits into from
Mar 10, 2022

Conversation

bergwolf
Copy link
Member

@bergwolf bergwolf commented Mar 9, 2022

4594de8 storage: add alt_dirs config to localfs backend
47d73d7 blobfs: use fuse-backend-rs passthroughfs
db8790b nydus-image/inspect: trim white spaces before parsing
df2bde0 nydus-image/inspect: print sizes info of chunks
9f202bb nydus-image: sort v6 dirents again due to inproper .' and ..' order
6aff1d5 nydus-image/create: fix an error that v5 will dump meta info
5ef8815 nydus-image: change default value of v6_force_extended_inode to true
845cb76 api: also update fs backends in backends collections

changweige and others added 9 commits March 9, 2022 14:39
After remount, the mounted time and backend configurations
might be changed.

Signed-off-by: Changwei Ge <chge@linux.alibaba.com>
The JVM in Share:on mode will check the mtime to determine whether the
version matches. The current image generated by nydus-image does not update
the mtime. By setting v6_force_extended_inode to true, EROFS extended inode
format is used, and mtime attr is added.

Fixes: #39988119
Signed-off-by: gexuyang <gexuyang@linux.alibaba.com>
Meta info is not required for V5 blobs. Therefore, the option
blob_meta_info_enabled is set to true only in V6.

Signed-off-by: zhaoshang <zhaoshang.zs@alibaba-inc.com>
`.' and `..' wasn't added when sorting v6 dirents.

Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
`chunk` subcommand prints more info of chunks compressed and
decompressed sizes info. It helps analyze rafs layout.

Signed-off-by: Changwei Ge <chge@linux.alibaba.com>
Otherwise, the string parsing may fail resulting in inspector's
error.

Signed-off-by: Changwei Ge <chge@linux.alibaba.com>
The blob file is passthrough to guest directly by referring
to the fuse-backend-rs passthroughFs library function.

Signed-off-by: hugh.gxy <hugh.gxy@alibaba-inc.com>
Signed-off-by: Liu Bo <bo.liu@linux.alibaba.com>
Signed-off-by: Liu Jiang <gerry@linux.alibaba.com>
Signed-off-by: Peng Tao <bergwolf@hyper.sh>
So that if blobfile doesn't exist in the primary 'dir', try the
'alt_dirs' again.

Signed-off-by: Eryu Guan <eguan@linux.alibaba.com>
To fix RUSTSEC-2022-0013
Advisory: https://rustsec.org/advisories/RUSTSEC-2022-0013

Signed-off-by: Peng Tao <bergwolf@hyper.sh>
Copy link
Contributor

@changweige changweige left a comment

Choose a reason for hiding this comment

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

LGTM

@bergwolf bergwolf merged commit 64eae08 into dragonflyoss:master Mar 10, 2022
@bergwolf bergwolf deleted the sync branch March 10, 2022 02:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants