Commit f1fed55f authored by Nils Goroll's avatar Nils Goroll

space efficiency ocd

parent 4caac952
...@@ -31,15 +31,15 @@ struct vbitmap; ...@@ -31,15 +31,15 @@ struct vbitmap;
struct vdir { struct vdir {
unsigned magic; unsigned magic;
#define VDIR_MAGIC 0x99f4b726 #define VDIR_MAGIC 0x99f4b726
pthread_rwlock_t mtx;
unsigned n_backend; unsigned n_backend;
unsigned l_backend; unsigned l_backend;
unsigned n_healthy;
pthread_rwlock_t mtx;
VCL_BACKEND *backend; VCL_BACKEND *backend;
double *weight; double *weight;
double total_weight; double total_weight;
VCL_BACKEND dir; VCL_BACKEND dir;
struct vbitmap *healthy; struct vbitmap *healthy;
unsigned n_healthy;
}; };
void vdir_new(VRT_CTX, struct vdir **vdp, const char *vcl_name, void vdir_new(VRT_CTX, struct vdir **vdp, const char *vcl_name,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment