stratisd icon indicating copy to clipboard operation
stratisd copied to clipboard

main loop should deal properly with commands that can potentially hang

Open trgill opened this issue 6 years ago • 3 comments

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.

trgill avatar Mar 07 '19 19:03 trgill

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

mulkieran avatar Jan 27 '21 23:01 mulkieran

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

jbaublitz avatar Sep 15 '22 18:09 jbaublitz

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.

mulkieran avatar Sep 15 '22 19:09 mulkieran