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

Faster testing and benchmarking #45

Open
mgree opened this issue Jul 29, 2021 · 1 comment
Open

Faster testing and benchmarking #45

mgree opened this issue Jul 29, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@mgree
Copy link
Owner

mgree commented Jul 29, 2021

We have a lot of sleep calls that could be faster.

Write a tool to detect when a mount is ready. (Current benchmarks do this by busy looping on umount.) Use its exit status to determine when it's okay to proceed on the mount and proceed checking that process has completed.

It'll also be useful to have a way to pad a few milliseconds on, i.e., unmount means the process may not be done yet. The current utils/timeout script is okay, but (a) it's noisy, and (b) it'd be nice to not fix it on ffs when we start. Maybe a waitfor command that takes a time limit before killing the process?

@mgree mgree added the enhancement New feature or request label Jul 29, 2021
@mgree
Copy link
Owner Author

mgree commented Oct 1, 2021

One possibility: spin on the presence of an xattr on the root directory. The attribute will appear as soon as the mount is live.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant