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

use squashfuse ready notifier if available #519

Closed
wants to merge 1 commit into from

Conversation

hallyn
Copy link
Contributor

@hallyn hallyn commented Oct 3, 2023

When using squasfuse, check whether it supports -o notifypipe. If it does, then use that instead of our manual checking the mountpoint inode, which is less reliable.

What type of PR is this?

Which issue does this PR fix:

What does this PR do / Why do we need it:

If an issue # is not available please add repro steps and logs showing the issue:

Testing done on this change:

Automation added to e2e:

Will this break upgrades or downgrades?

Does this PR introduce any user-facing change?:


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@hallyn hallyn force-pushed the 2023-10-03/sqnotify branch from 00fce79 to eb4b5d2 Compare October 3, 2023 20:54
@hallyn
Copy link
Contributor Author

hallyn commented Oct 3, 2023

It's not the prettiest - I'd probably like to factor both the 'wait until ready' paths into separate functions.

@hallyn hallyn force-pushed the 2023-10-03/sqnotify branch from eb4b5d2 to 12d5b06 Compare October 3, 2023 20:55
When using squasfuse, check whether it supports -o notifypipe.
If it does, then use that instead of our manual checking the
mountpoint inode, which is less reliable.

Signed-off-by: Serge Hallyn <[email protected]>
@hallyn hallyn force-pushed the 2023-10-03/sqnotify branch from 12d5b06 to bca66cf Compare October 4, 2023 00:35
@codecov
Copy link

codecov bot commented Oct 4, 2023

Codecov Report

Merging #519 (bca66cf) into main (4689ad5) will decrease coverage by 0.13%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main     #519      +/-   ##
==========================================
- Coverage   13.77%   13.64%   -0.13%     
==========================================
  Files          40       40              
  Lines        5671     5724      +53     
==========================================
  Hits          781      781              
- Misses       4762     4815      +53     
  Partials      128      128              
Files Coverage Δ
pkg/squashfs/squashfs.go 12.73% <0.00%> (-2.59%) ⬇️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@hallyn
Copy link
Contributor Author

hallyn commented Oct 20, 2023

closing in favor of #528

@hallyn hallyn closed this Oct 20, 2023
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.

1 participant