summaryrefslogtreecommitdiffstats
path: root/src/server/image.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/image.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/image.h')
-rw-r--r--src/server/image.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/server/image.h b/src/server/image.h
index 7b6583c..df8ac87 100644
--- a/src/server/image.h
+++ b/src/server/image.h
@@ -51,6 +51,10 @@ bool image_ensureDiskSpaceLocked(uint64_t size, bool force);
bool image_saveCacheMap(dnbd3_image_t *image);
+void image_checkForNextFullCheck(void);
+
+void image_hashAllImages(void);
+
/**
* Check if given range is cached. Be careful when using this function because:
* 1) you need to hold a reference to the cache map