-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
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
nixos/orangefs: init at 2.9.7, add modules and test #67591
Conversation
230319e
to
e689cba
Compare
@GrahamcOfBorg test orangefs |
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/prs-ready-for-review-may-2019/3032/49 |
Kicking the tires on this, nix reports:
Can you add a description for this? EDIT: server.fileSystems too :). |
3153a74
to
b87166f
Compare
b87166f
to
e8b1ad3
Compare
# and before mounts are done. | ||
# Otherwise client daemon may hang. | ||
preStart = "sleep 1"; | ||
postStart = "sleep 1"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks hacky. Is this what upstream suggests?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is what fedora uses: https://src.fedoraproject.org/rpms/orangefs/blob/master/f/orangefs-client.service
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had problems in a virtualbox which looked like a race condition between mount and the client daemon. The way fedora does it is not the recommended way by upstream but it seems to work.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you know a different way, readiness could be checked instead?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Calling the client core directly may solve the problem and remove the internal startup delay.
The service creates a unix datagram socket. Is there a way to track that with systemd?
e8b1ad3
to
7ced973
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tests run through, code looks good to me!
nixos/orangefs: init at 2.9.7, add modules and test (cherry picked from commit c91a1be)
Motivation for this change
OrangeFS is a scalable high performance filesystem. It's client module is included in the upstream Linux kernel.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)