]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
cache: improve out-of-disk condition
authorVladimír Čunát <vladimir.cunat@nic.cz>
Wed, 12 Sep 2018 12:59:46 +0000 (14:59 +0200)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Fri, 14 Sep 2018 06:48:29 +0000 (08:48 +0200)
commitefc08a6491c731a8d809c280d99570ffa2228888
treebaa63b6484a41c6d9791ac0de93805ead6978897
parent3c064390b0599891c4c5aba72ce4c6cf03d80f83
cache: improve out-of-disk condition

When suspect SIGBUS happens, print helpful error and try to remove
the cache, so that the service might work again if auto-restarted.
Theoretically we could longjmp() out of the SIGBUS handler,
but that would be rather messy, so let the process die.
NEWS
daemon/main.c
lib/cache/api.c
lib/cache/api.h