spiegel_podman/pkg/adapter
Matthew Heon 4004f646cd Add basic deadlock detection for container start/remove
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>
2020-02-24 09:29:34 -05:00
..
shortcuts make lint: enable gocritic 2020-01-13 14:27:02 +01:00
checkpoint_restore.go Correctly export the root file-system changes 2019-12-09 13:29:36 +01:00
client.go Add service endpoint 2020-01-21 16:35:45 -06:00
client_config.go Add service endpoint 2020-01-21 16:35:45 -06:00
client_unix.go Avoid hard-coding path to varlink and podman 2019-10-01 19:46:54 +02:00
client_windows.go Apply changes also to the windows implementation 2019-10-02 20:49:09 +02:00
containers.go Add basic deadlock detection for container start/remove 2020-02-24 09:29:34 -05:00
containers_remote.go clarify container prune --force 2020-01-13 08:56:43 -06:00
errors.go remove libpod from main 2019-06-25 13:51:24 -05:00
images_remote.go Refactor image tree for API usage 2020-02-17 11:12:35 +01:00
info_remote.go Fix podman-remote info to show registry data 2020-01-07 19:38:46 -05:00
network.go disable generation of cni firewall plugin 2020-02-21 13:06:58 -06:00
pods.go Add network options to podman pod create 2020-02-19 11:29:30 -05:00
pods_remote.go Add network options to podman pod create 2020-02-19 11:29:30 -05:00
reset.go Add podman system reset command 2019-11-29 05:34:52 -05:00
reset_remote.go Add podman system reset command 2019-11-29 05:34:52 -05:00
runtime.go Refactor image tree for API usage 2020-02-17 11:12:35 +01:00
runtime_remote.go Refactor image tree for API usage 2020-02-17 11:12:35 +01:00
runtime_remote_supported.go enable podman-remote on windows 2019-04-30 15:28:39 -05:00
sigproxy_linux.go add pkg/signal 2020-02-14 15:04:14 +01:00
terminal.go add pkg/signal 2020-02-14 15:04:14 +01:00
terminal_linux.go Switch to bufio Reader for exec streams 2019-10-31 11:20:12 -04:00
volumes_remote.go Implement backend for 'volume inspect' 2019-08-02 15:08:30 -04:00