stratis-storage / stratisd

Easy to use local storage management for Linux.
https://stratis-storage.github.io
Mozilla Public License 2.0
798 stars 55 forks source link

main loop should deal properly with commands that can potentially hang #1463

Open trgill opened 5 years ago

trgill commented 5 years ago

For example, xfs_growfs hangs if there is a non-responsive (unrelated) NFS mount. The XFS code calls stat() on all mounted filesystems mounted. We've requested a change for this particular issue:

https://www.spinics.net/lists/linux-xfs/msg26208.html

But - we should have a framework for dealing with any commands we shell out.

mulkieran commented 3 years ago

Sub-issue of https://github.com/stratis-storage/project/issues/86

jbaublitz commented 2 years ago

I think this is potentially obsolete now that we've introduced multi-threading.

mulkieran commented 2 years ago

Happily, we no longer have a main loop!

@jbaublitz This issue was hanging around because the problem of the command-line tools that stratisd invokes never returning hasn't really been thought about much. Feel free to close this issue entirely, or to close this and open a new one about that specific problem of a script or binary that stratisd invokes hanging indefinitely.