Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@MrCroxx
Copy link
Member

@MrCroxx MrCroxx commented Oct 26, 2024

Signed-off-by: MrCroxx [email protected]## What's changed and what's your intention?

Please explain IN DETAIL what the changes are in this PR and why they are needed. :D

Introduce manifest file for fast disk cache clear.

Changes:

  • Introduce manifest file to disk cache for fast disk cache clear.
  • Direct fs device can use default manifest file, direct file device must specify one.
  • Remove small object disk cache meta region, use manifest file instead.

Checklist

  • I have written the necessary rustdoc comments
  • I have added the necessary unit tests and integration tests
  • I have passed make all (or make fast instead if the old tests are not modified) in my local environment.

Related issues or PRs (optional)

@MrCroxx MrCroxx added feature New feature or request refactor labels Oct 26, 2024
@MrCroxx MrCroxx added this to the v0.13 milestone Oct 26, 2024
@MrCroxx MrCroxx self-assigned this Oct 26, 2024
@codecov
Copy link

codecov bot commented Oct 26, 2024

Codecov Report

Attention: Patch coverage is 88.84298% with 27 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
foyer/src/hybrid/builder.rs 0.00% 9 Missing ⚠️
foyer-storage/src/store.rs 57.89% 8 Missing ⚠️
foyer-storage/src/manifest.rs 97.81% 3 Missing ⚠️
foyer-storage/src/large/batch.rs 77.77% 2 Missing ⚠️
foyer-storage/src/small/set_manager.rs 81.81% 2 Missing ⚠️
foyer-bench/src/main.rs 66.66% 1 Missing ⚠️
foyer-storage/src/large/generic.rs 96.42% 1 Missing ⚠️
foyer-storage/src/small/generic.rs 87.50% 1 Missing ⚠️
Files with missing lines Coverage Δ
foyer-storage/src/device/direct_fs.rs 88.26% <100.00%> (+0.19%) ⬆️
foyer-storage/src/large/reclaimer.rs 86.25% <100.00%> (+0.77%) ⬆️
foyer-storage/src/large/recover.rs 89.60% <100.00%> (-0.70%) ⬇️
foyer-storage/src/region.rs 88.95% <ø> (-1.66%) ⬇️
foyer-storage/src/small/batch.rs 81.33% <100.00%> (ø)
foyer-bench/src/main.rs 65.05% <66.66%> (+<0.01%) ⬆️
foyer-storage/src/large/generic.rs 89.83% <96.42%> (+0.08%) ⬆️
foyer-storage/src/small/generic.rs 75.54% <87.50%> (+0.40%) ⬆️
foyer-storage/src/large/batch.rs 83.01% <77.77%> (-0.06%) ⬇️
foyer-storage/src/small/set_manager.rs 87.94% <81.81%> (-2.35%) ⬇️
... and 3 more

@MrCroxx MrCroxx modified the milestones: v0.13, v0.16 Mar 20, 2025
@MrCroxx MrCroxx modified the milestones: v0.16, v0.17 Apr 7, 2025
@MrCroxx MrCroxx modified the milestones: v0.17, v0.19 Jul 29, 2025
@MrCroxx MrCroxx force-pushed the main branch 2 times, most recently from 3f7f53f to c009129 Compare September 12, 2025 05:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request refactor

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant