podman/libpod
Matthew Heon 8eb5cf7489 Ensure we don't repeatedly poll disk for exit codes
Change logic for refreshing our state using runc to only poll
for conmon exit files when we first transition to the Stopped
state. After that, we should already have the exit code stored in
the database, so we don't need to look it up again.

Signed-off-by: Matthew Heon <matthew.heon@gmail.com>

Closes: #363
Approved by: TomSweeneyRedHat
2018-02-20 14:54:13 +00:00
..
common Change un/pwd handling to match Buildah's 2018-02-06 09:29:23 -05:00
driver Migrate Create|Commit to ginkgo 2018-02-02 22:44:40 +00:00
layers Initial checkin from CRI-O repo 2017-11-01 11:24:59 -04:00
boltdb_state.go Add buckets for all containers and all pods 2018-02-12 14:28:07 +00:00
boltdb_state_internal.go Add buckets for all containers and all pods 2018-02-12 14:28:07 +00:00
container.go Add FFJSON encoding/decoding for our container structs 2018-02-16 16:46:09 +00:00
container_api.go Fix libpod to use given CGroup parent instead of a hardcoded one 2018-02-09 20:11:07 +00:00
container_attach.go Strip unused format specifier 2018-01-27 06:26:20 +00:00
container_ffjson.go Add FFJSON encoding/decoding for our container structs 2018-02-16 16:46:09 +00:00
container_inspect.go Allow users to specify logpath 2018-02-03 19:49:14 +00:00
container_internal.go Fix gofmt and lint 2018-02-09 15:01:34 +00:00
container_top.go Disable locking on functions in batch operations 2018-01-14 12:27:33 +00:00
diff.go remove unused functions and variables 2017-11-28 14:30:12 +00:00
errors.go Add schema validation to DB 2017-11-30 18:05:56 +00:00
finished_32.go Make libpod build on 32-bit systems 2018-02-13 15:39:07 +00:00
finished_64.go Make libpod build on 32-bit systems 2018-02-13 15:39:07 +00:00
image_inspect.go Change json to match docker inspect 2018-02-11 11:50:34 +00:00
in_memory_state.go Containers in a pod can only join namespaces in that pod 2018-02-12 14:28:07 +00:00
info.go Change uptime format in podman info to human-readable 2018-02-19 19:19:07 +00:00
networking.go Enable port bindings 2018-01-20 18:51:21 +00:00
oci.go Ensure we don't repeatedly poll disk for exit codes 2018-02-20 14:54:13 +00:00
options.go Remove unused registry related options from libpod 2018-02-19 14:17:18 +00:00
pod.go Add FFJSON encoding/decoding for our container structs 2018-02-16 16:46:09 +00:00
pod_ffjson.go Add FFJSON encoding/decoding for our container structs 2018-02-16 16:46:09 +00:00
runc.go kpod exec 2017-12-11 08:24:30 -06:00
runtime.go Remove unused registry related options from libpod 2018-02-19 14:17:18 +00:00
runtime_ctr.go Add implementation for BoltDB-backed state 2018-02-12 14:28:07 +00:00
runtime_img.go Migrate Create|Commit to ginkgo 2018-02-02 22:44:40 +00:00
runtime_img_test.go libpod/runtime_img_test.go Unit Tests 2017-11-04 11:12:14 -05:00
runtime_pod.go Allow removing pods with running containers if --force is given 2018-02-09 15:01:34 +00:00
sql_state.go Squash logged errors from failed SQL rollbacks 2018-02-15 15:47:59 +00:00
sql_state_internal.go Squash logged errors from failed SQL rollbacks 2018-02-15 15:47:59 +00:00
state.go Containers in a pod can only join namespaces in that pod 2018-02-12 14:28:07 +00:00
state_test.go Add FFJSON encoding/decoding for our container structs 2018-02-16 16:46:09 +00:00
stats.go Update stats code to reflect changes to containerd stats API 2018-02-01 13:30:55 -05:00
storage.go podman create/run need to load information from the image 2018-01-03 12:38:18 +00:00
test_common.go Add FFJSON encoding/decoding for our container structs 2018-02-16 16:46:09 +00:00
util.go podman run container id to file 2018-01-11 21:27:26 +00:00
util_test.go kpod stats 2017-12-13 21:15:09 +00:00