Added directory streaming feature#218
Merged
GlassOfWhiskey merged 6 commits intomasterfrom Mar 24, 2026
Merged
Conversation
b5a2637 to
0645490
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #218 +/- ##
==========================================
+ Coverage 64.59% 64.70% +0.10%
==========================================
Files 73 73
Lines 3161 3165 +4
Branches 1965 1966 +1
==========================================
+ Hits 2042 2048 +6
+ Misses 880 371 -509
- Partials 239 746 +507 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
12b2ede to
fd29010
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request implements the necessary changes to the
CapioFileclass to enable streaming for directory content. The primary updates include:CapioFileClass: Added_data_avail_cv.notify_all()within theincrementDirectoryFileCount()method to ensure waiting threads are signaled correctly;SYS_getdentscalls bypass the cache. Since a typicaldirententry is approximately 280 bytes, it is inefficient to wait for a full 256 KB cache line to be populated.Additionally, this PR includes server-side unit tests to verify dynamic streaming over directory content and prevent future regressions.