summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorBenjamin Marzinski <bmarzins@redhat.com>2026-10-08 16:28:07 -0400
committerMikulas Patocka <mpatocka@redhat.com>2026-10-09 11:49:33 +0200
commitfe9d8c26ab25dcdc7481b3a8a1238cb8f58daab6 (patch)
tree98b482c736ac3a9818f3beb8dcf14da36d306426 /tools/lib/python
parentc0df022cb0fa2bbee74bd9b90c66790bcd4e3050 (diff)
dm-mpath: streamline setup work in the HST path selector
fixed_power() is convoluted and does unnecessary work here, since hst_set_weights() calculates x^n for n = [1,64]. x^1 is x, and x^(n) is just x * x^(n-1), so all these values can be trivially computed from the previous value. Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com> Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions