mirror of
https://github.com/containers/podman
synced 2024-10-21 17:53:44 +00:00
4004f646cd
We can easily tell if we're going to deadlock by comparing lock IDs before actually taking the lock. Add a few checks for this in common places where deadlocks might occur. This does not yet cover pod operations, where detection is more difficult (and costly) due to the number of locks being involved being higher than 2. Also, add some error wrapping on the Podman side, so we can tell people to use `system renumber` when it occurs. Signed-off-by: Matthew Heon <matthew.heon@pm.me> |
||
---|---|---|
.. | ||
config.go | ||
containerstate.go | ||
errors.go | ||
exec_codes.go | ||
podstate.go | ||
runtime.go | ||
version.go |