diff options
Diffstat (limited to 'src/server/globals.h')
-rw-r--r-- | src/server/globals.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/globals.h b/src/server/globals.h index c67b5a6..b0380fa 100644 --- a/src/server/globals.h +++ b/src/server/globals.h @@ -94,13 +94,13 @@ typedef struct /** * Image struct. An image path could be something like * /mnt/images/rz/zfs/Windows7 ZfS.vmdk.r1 - * and the lower_name would then be + * and the name would then be * rz/zfs/windows7 zfs.vmdk */ struct _dnbd3_image { char *path; // absolute path of the image - char *lower_name; // relative path, all lowercase, minus revision ID + char *name; // public name of the image (usually relative path minus revision ID) dnbd3_connection_t *uplink; // pointer to a server connection uint8_t *cache_map; // cache map telling which parts are locally cached, NULL if complete uint64_t virtualFilesize; // virtual size of image (real size rounded up to multiple of 4k) @@ -116,7 +116,7 @@ struct _dnbd3_image int completenessEstimate; // Completeness estimate in percent int users; // clients currently using this image int id; // Unique ID of this image. Only unique in the context of this running instance of DNBD3-Server - bool working; // true if image exists and completeness is == 100% or a working upstream proxy is connected + bool working; // true if image exists and completeness is == 100% or a working upstream proxy is connected pthread_spinlock_t lock; }; |