SST: invalidate NFS dcache between readContactInfo retries - #5010
Merged
Conversation
A failed fopen() of the writer's contact file populates the NFS client's negative dcache; subsequent fopen() calls return NULL from that cache for up to acdirmax (~30s) even after the writer creates the file. Force a readdir() on the parent directory before each retry to invalidate the stale entry. Cost is amortized into the existing 100ms sleep.
pnorbert
approved these changes
Apr 21, 2026
eisenhauer
enabled auto-merge
April 21, 2026 01:14
eisenhauer
added a commit
that referenced
this pull request
Apr 22, 2026
SST: invalidate NFS dcache between readContactInfo retries (cherry picked from commit a616d28)
eisenhauer
added a commit
that referenced
this pull request
Apr 22, 2026
…-5010 Backport #5010 to release_212
vicentebolea
added a commit
that referenced
this pull request
Apr 29, 2026
* origin/release_212: update bpcmp test output Fix printing double values in bpls min/max and the Min and Max strings of the io.AvailableVariables() result map/dictionary. Note: %g in printf and cout << doublevar in C++ renders 6 significant digits by default and a value like 130255.32345 is printed as 130255, looking like an integer. Now we print 1.302553e+05. In case of bpls, min/max for small values (-10000, 10000) are still printed with %g, but outside that they are printed with %e. Bump version to v2.12.1 Merge pull request #5022 from eisenhauer/cxi-slingshot-error-msg Merge pull request #5015 from rtobar/mgard-lossless-type-parameter Merge pull request #5010 from eisenhauer/sst-nfs-dcache-fix Merge pull request #5008 from ordinary-slim/patch-1 vectorize min/max with SIMD for float, double, and integer types (#4985) dill 2026-04-17 (9d32c1df)
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.
A failed fopen() of the writer's contact file populates the NFS client's negative dcache; subsequent fopen() calls return NULL from that cache for up to acdirmax (~30s) even after the writer creates the file. Force a readdir() on the parent directory before each retry to invalidate the stale entry. Cost is amortized into the existing 100ms sleep.