summaryrefslogtreecommitdiffstats
path: root/src/server/globals.h
diff options
context:
space:
mode:
authorSimon Rettberg2024-07-05 10:48:29 +0200
committerSimon Rettberg2024-07-05 10:48:29 +0200
commitae91f373cf5ce045fe65df022fae151fe915c6c3 (patch)
treec6b069316052f507a52786841054b1afb6d51e4f /src/server/globals.h
parent[SERVER] integrity: Add comments, line wraps, add check for full scan (diff)
downloaddnbd3-ae91f373cf5ce045fe65df022fae151fe915c6c3.tar.gz
dnbd3-ae91f373cf5ce045fe65df022fae151fe915c6c3.tar.xz
dnbd3-ae91f373cf5ce045fe65df022fae151fe915c6c3.zip
[SERVER] Verify checksums of all images on SIGUSR1HEADmaster
Diffstat (limited to 'src/server/globals.h')
-rw-r--r--src/server/globals.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server/globals.h b/src/server/globals.h
index bde1184..5129108 100644
--- a/src/server/globals.h
+++ b/src/server/globals.h
@@ -159,6 +159,7 @@ struct _dnbd3_image
} problem;
uint16_t rid; // revision of image
bool accessed; // image was accessed since .meta was written
+ bool wantCheck; // true if the entire image should be checked as soon as the according thread is idle
pthread_mutex_t lock;
};
#define PIMG(x) (x)->name, (int)(x)->rid