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

cmd/mount: service process notifies the daemon via a signal that the mount point is ready #5620

Closed
wants to merge 9 commits into from

Conversation

zhijian-pro
Copy link
Contributor

@zhijian-pro zhijian-pro commented Feb 5, 2025

close #5619

Copy link

codecov bot commented Feb 6, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 21.47%. Comparing base (19fde77) to head (cafce37).

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #5620       +/-   ##
===========================================
- Coverage   54.78%   21.47%   -33.32%     
===========================================
  Files         166       29      -137     
  Lines       48431    19187    -29244     
===========================================
- Hits        26534     4120    -22414     
+ Misses      18994    14576     -4418     
+ Partials     2903      491     -2412     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Signed-off-by: jiefenghuang <[email protected]>
@jiefenghuang jiefenghuang changed the title The service process notifies the daemon via a signal that the mount point is ready cmd/mount: service process notifies the daemon via a signal that the mount point is ready Feb 8, 2025
Signed-off-by: jiefenghuang <[email protected]>
if err != nil {
return fmt.Errorf("get original mount client pid error: %s", err)
}
if err = syscall.Kill(pid, syscall.SIGUSR1); err != nil {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this mount point is not ready at this point

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.

mount: optimise process
3 participants