From edd73e2e41df0ebdc77e1fa4dfe71c995c1ed9af Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Fri, 4 May 2012 14:51:15 -0700 Subject: [PATCH] crush: note that tree bucket size is tree size, not item count Signed-off-by: Sage Weil --- src/crush/crush.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/crush/crush.h b/src/crush/crush.h index 884b9289dbd89..9403696aadd65 100644 --- a/src/crush/crush.h +++ b/src/crush/crush.h @@ -135,7 +135,8 @@ struct crush_bucket_list { }; struct crush_bucket_tree { - struct crush_bucket h; + struct crush_bucket h; /* note: h.size is _tree_ size, not number of + actual items */ __u8 num_nodes; __u32 *node_weights; }; -- 2.39.5