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

Parallel unmount #698

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Parallel unmount #698

wants to merge 3 commits into from

Conversation

Tommimon
Copy link

@Tommimon Tommimon commented Mar 26, 2024

Removing rc-mount.sh script and all the references to it. Replacing the do_unmount shell function with the do_unmount.c program.

The new program implements the same functionalities with the added feature of parallel unmounting when possible:

  • Unmount every mount point in a different thread.
  • Wait for every mount point in a subdirectory to be unmounted before proceeding with the current one.
  • Never unmount two shared mount points at the same time.
  • Check if shared mount point is still present before unmounting.
  • Retrieve list of shared mount points from /proc/1/mountinfo.

Fixes: #662

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.

Parallezing do_unmount
1 participant