containerd / nydus-snapshotter

A containerd snapshotter with data deduplication and lazy loading in P2P fashion
https://nydus.dev/
Apache License 2.0
173 stars 100 forks source link

unawareness runtime prefetch #572

Open billie60 opened 10 months ago

billie60 commented 10 months ago
  1. add prefetchlist store prefetchlist storage service.
  2. Modify the optimizer to publish the access file list as a prefetchlist to the storage service when obtaining it.
codecov[bot] commented 10 months ago

Codecov Report

Attention: Patch coverage is 5.88235% with 16 lines in your changes are missing coverage. Please review.

Project coverage is 34.66%. Comparing base (02b3776) to head (394a502). Report is 1 commits behind head on main.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/containerd/nydus-snapshotter/pull/572/graphs/tree.svg?width=650&height=150&src=pr&token=R3RX5WX6R1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=containerd)](https://app.codecov.io/gh/containerd/nydus-snapshotter/pull/572?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=containerd) ```diff @@ Coverage Diff @@ ## main #572 +/- ## ========================================== + Coverage 34.64% 34.66% +0.01% ========================================== Files 65 65 Lines 6552 6552 ========================================== + Hits 2270 2271 +1 + Misses 3967 3966 -1 Partials 315 315 ``` | [Files](https://app.codecov.io/gh/containerd/nydus-snapshotter/pull/572?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=containerd) | Coverage Δ | | |---|---|---| | [pkg/daemon/daemon.go](https://app.codecov.io/gh/containerd/nydus-snapshotter/pull/572?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=containerd#diff-cGtnL2RhZW1vbi9kYWVtb24uZ28=) | `0.00% <ø> (ø)` | | | [pkg/system/system.go](https://app.codecov.io/gh/containerd/nydus-snapshotter/pull/572?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=containerd#diff-cGtnL3N5c3RlbS9zeXN0ZW0uZ28=) | `6.46% <ø> (+0.30%)` | :arrow_up: | | [config/global.go](https://app.codecov.io/gh/containerd/nydus-snapshotter/pull/572?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=containerd#diff-Y29uZmlnL2dsb2JhbC5nbw==) | `19.80% <33.33%> (+0.41%)` | :arrow_up: | | [pkg/manager/daemon\_adaptor.go](https://app.codecov.io/gh/containerd/nydus-snapshotter/pull/572?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=containerd#diff-cGtnL21hbmFnZXIvZGFlbW9uX2FkYXB0b3IuZ28=) | `0.00% <0.00%> (ø)` | | | [pkg/manager/manager.go](https://app.codecov.io/gh/containerd/nydus-snapshotter/pull/572?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=containerd#diff-cGtnL21hbmFnZXIvbWFuYWdlci5nbw==) | `0.00% <0.00%> (ø)` | | | [pkg/daemon/config.go](https://app.codecov.io/gh/containerd/nydus-snapshotter/pull/572?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=containerd#diff-cGtnL2RhZW1vbi9jb25maWcuZ28=) | `0.00% <0.00%> (ø)` | |