crush_reweight_uniform_bucket documentation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Sage,

While documenting crush_reweight_bucket[1] I came accross something that I don't understand when reweighting uniform buckets[2]. The associated commit[3] is six years old but maybe your remember why the item_weight had to be adjusted with the average of the weight of the buckets... but only if there are more buckets than leaves ?

Cheers

[1] http://libcrush.org/main/libcrush/blob/wip-2-doxygen/crush/builder.h#L111
[2] http://libcrush.org/main/libcrush/blob/wip-2-doxygen/crush/builder.c#L1282
[3] http://libcrush.org/main/libcrush/commit/60f627f88c6314c5a89bb7119ead907ca8b8ef37

-- 
Loïc Dachary, Artisan Logiciel Libre
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux