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

run_qemu.sh: remove 'sleep 5' after 'sync' #94

Merged
merged 1 commit into from
Jan 3, 2025

Conversation

marc-hb
Copy link
Collaborator

@marc-hb marc-hb commented Dec 20, 2024

remove sleep 5 after 'sync' in umount_rootfs()

'sync' means 'sync': it is blocking so there's no need for a random delay.

Fixes commit ee43cb8 ("run_qemu: fix occasional umount failures") which added both at the same time.

remove sleep 5 after 'sync' in umount_rootfs()

'sync' means 'sync': it is blocking so there's no need for a random
delay.

Fixes commit ee43cb8 ("run_qemu: fix occasional umount failures")
which added both at the same time.

Signed-off-by: Marc Herbert <[email protected]>
@marc-hb
Copy link
Collaborator Author

marc-hb commented Dec 20, 2024

I've used this in anger and for days on both Fedora 40 and Arch and it never caused any issue.

@marc-hb marc-hb marked this pull request as ready for review December 20, 2024 22:55
@stellarhopper stellarhopper merged commit 156ce7d into pmem:main Jan 3, 2025
2 checks passed
@marc-hb marc-hb deleted the sync-nosleep branch January 3, 2025 23:42
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.

2 participants