summaryrefslogtreecommitdiff
path: root/cni
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2019-05-20 11:56:52 +0200
committerGiuseppe Scrivano <gscrivan@redhat.com>2019-05-20 19:40:15 +0200
commit57e781462c5f93fcdd37ffd8e2d5ebdb0c6ca27e (patch)
tree816bd68b8766c4d14cb7bd8eefb9c0a816bfe66e /cni
parenta83edf23ac8fb12f8787ead5257b35425e1996d6 (diff)
downloadpodman-57e781462c5f93fcdd37ffd8e2d5ebdb0c6ca27e.tar.gz
podman-57e781462c5f93fcdd37ffd8e2d5ebdb0c6ca27e.tar.bz2
podman-57e781462c5f93fcdd37ffd8e2d5ebdb0c6ca27e.zip
util: fix race condition in WaitForFile
enable polling also when using inotify. It is generally useful to have it as under high load inotify can lose notifications. It also solves a race condition where the file is created while the watcher is configured and it'd wait until the timeout and fail. Closes: https://github.com/containers/libpod/issues/2942 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'cni')
0 files changed, 0 insertions, 0 deletions