diff options
author | Simon Rettberg | 2015-12-17 16:33:22 +0100 |
---|---|---|
committer | Simon Rettberg | 2015-12-17 16:33:22 +0100 |
commit | b47ba01818f2ea2ebd1cf1bf5e3e91e37c5f88dd (patch) | |
tree | 45665ec1c4f69c01438d92b6c5c85edd254ffbab /src/server/globals.h | |
parent | [SERVER] Performance: Optimized some functions (gprof) (diff) | |
download | dnbd3-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/server/globals.h')
0 files changed, 0 insertions, 0 deletions