summaryrefslogtreecommitdiffstats
path: root/src/fuse/connection.h
diff options
context:
space:
mode:
authorln-tech2020-01-08 22:23:28 +0100
committerln-tech2020-01-08 22:23:28 +0100
commit68148447b090749057dc2815fb6f684c6ffbd66a (patch)
treef1fd139d51d15a04c9f9c9b244008d1764d342f3 /src/fuse/connection.h
parentcode fixes, keepRunning is back, threads seem to be safe (diff)
downloaddnbd3-68148447b090749057dc2815fb6f684c6ffbd66a.tar.gz
dnbd3-68148447b090749057dc2815fb6f684c6ffbd66a.tar.xz
dnbd3-68148447b090749057dc2815fb6f684c6ffbd66a.zip
fixed code: removed useless splicing, code optimization, commandline arguments fixed, auto_cache in lowlevel activated, multi and single threaded modes are supported now
Diffstat (limited to 'src/fuse/connection.h')
-rw-r--r--src/fuse/connection.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/fuse/connection.h b/src/fuse/connection.h
index d0a89dc..15075d5 100644
--- a/src/fuse/connection.h
+++ b/src/fuse/connection.h
@@ -9,8 +9,6 @@
#define FUSE_USE_VERSION 30
#include <fuse_lowlevel.h>
-#define NO_SPLICE 0
-#define SPLICE 1
extern bool keepRunning;
struct _dnbd3_async;
@@ -21,7 +19,6 @@ typedef struct _dnbd3_async {
ticks time; // When request was put on wire, 0 if not measuring
uint64_t offset;
uint32_t length;
- int mode; // 0 splice off, 1 splice on, ...
fuse_req_t fuse_req;
} dnbd3_async_t;