summaryrefslogtreecommitdiffstats
path: root/src/config.h
diff options
context:
space:
mode:
authorSimon Rettberg2015-12-17 16:33:22 +0100
committerSimon Rettberg2015-12-17 16:33:22 +0100
commitb47ba01818f2ea2ebd1cf1bf5e3e91e37c5f88dd (patch)
tree45665ec1c4f69c01438d92b6c5c85edd254ffbab /src/config.h
parent[SERVER] Performance: Optimized some functions (gprof) (diff)
downloaddnbd3-b47ba01818f2ea2ebd1cf1bf5e3e91e37c5f88dd.tar.gz
dnbd3-b47ba01818f2ea2ebd1cf1bf5e3e91e37c5f88dd.tar.xz
dnbd3-b47ba01818f2ea2ebd1cf1bf5e3e91e37c5f88dd.zip
[FUSE] Handle SIGINT/SIGTERM to abort pending reads
Before, we would wait endlessly if there is a pending read request that doesn't get answered (e.g. because the server went down. That means you couldn't exit the client in that case. Now we use a signal handler to set a flag which causes the read to bail out and return EIO.
Diffstat (limited to 'src/config.h')
0 files changed, 0 insertions, 0 deletions