aboutsummaryrefslogtreecommitdiff
path: root/fs/ceph/crush/crush.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ceph/crush/crush.h')
-rw-r--r--fs/ceph/crush/crush.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/ceph/crush/crush.h b/fs/ceph/crush/crush.h
index 92c6b3c3a571..dcd7e7523700 100644
--- a/fs/ceph/crush/crush.h
+++ b/fs/ceph/crush/crush.h
@@ -102,7 +102,8 @@ extern const char *crush_bucket_alg_name(int alg);
struct crush_bucket {
__s32 id; /* this'll be negative */
__u16 type; /* non-zero; type=0 is reserved for devices */
- __u16 alg; /* one of CRUSH_BUCKET_* */
+ __u8 alg; /* one of CRUSH_BUCKET_* */
+ __u8 hash; /* which hash function to use, CRUSH_HASH_* */
__u32 weight; /* 16-bit fixed point */
__u32 size; /* num items */
__s32 *items;