diff options
author | Simon Rettberg | 2024-07-05 10:48:29 +0200 |
---|---|---|
committer | Simon Rettberg | 2024-07-05 10:48:29 +0200 |
commit | ae91f373cf5ce045fe65df022fae151fe915c6c3 (patch) | |
tree | c6b069316052f507a52786841054b1afb6d51e4f /src/server/image.h | |
parent | [SERVER] integrity: Add comments, line wraps, add check for full scan (diff) | |
download | dnbd3-ae91f373cf5ce045fe65df022fae151fe915c6c3.tar.gz dnbd3-ae91f373cf5ce045fe65df022fae151fe915c6c3.tar.xz dnbd3-ae91f373cf5ce045fe65df022fae151fe915c6c3.zip |
Diffstat (limited to 'src/server/image.h')
-rw-r--r-- | src/server/image.h | 4 |
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 |