summaryrefslogtreecommitdiffstats
path: root/src/crush/builder.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* crush: eliminate min_size and max_sizeSage Weil2021-06-291-5/+4
* crush: remove last traces of 'ruleset'Sage Weil2021-06-291-2/+2
* crush: no need to call malloc is request is zeroChangcheng Liu2020-08-201-0/+12
* crush: avoid redundant value assignementChangcheng Liu2020-08-201-6/+0
* common: fix typosKefu Chai2018-09-211-1/+1
* crush: Quell unused variable warningsAdam C. Emerson2018-09-121-3/+3
* crush: weight_set_size -> weight_set_positionsSage Weil2018-05-181-1/+1
* crush/builder: fix ENOENT when removing last bucket itemSage Weil2017-08-121-5/+13
* crush/CrushWrapper: crush_choose_arg::ids should be __s32Ilya Dryomov2017-06-301-3/+3
* common: Remove redundant includesBrad Hubbard2017-05-131-4/+1
* crush: builder: legacy has chooseleaf_stable = 0Loic Dachary2017-04-201-0/+1
* crush: implement weight and id overrides for straw2Loic Dachary2017-04-181-0/+61
* Merge pull request #14208 from dachary/wip-crush-uniform-weightsYuri Weinstein2017-04-101-1/+10
|\
| * crush: bucket: crush_add_uniform_bucket_item should check for uniformitySahid Orentino Ferdjaoui2017-03-281-1/+10
* | crush: builder: creating crush map with optimal configurationsSahid Orentino Ferdjaoui2017-03-281-11/+33
|/
* crush: builder: clean the arguments of crush_reweight* methodsSahid Orentino Ferdjaoui2017-03-231-22/+22
* crush: allow uniform buckets with no itemsLoic Dachary2017-02-191-0/+2
* crush: Remove mutable part of CRUSH mapAdam C. Emerson2016-11-091-82/+19
* crush: reset bucket->h.items[i] when removing tree itemKefu Chai2016-07-011-1/+2
* Crush: add some safe judgmentsongbaisen2016-01-261-1/+1
* crush: move safe arithmetic functions to buider.cIlya Dryomov2015-06-151-0/+20
* crush: add allowed_bucket_algs tunableSage Weil2015-01-221-0/+4
* crush: add a straw2 bucket typeSage Weil2015-01-221-0/+180
* crush/builder: fix warningsSage Weil2015-01-221-2/+2
* Merge pull request #3057 from ceph/wip-crush-strawSage Weil2014-12-181-47/+128
|\
| * crush/builder: a note about the original crush_calc_straw()Sage Weil2014-12-101-0/+27
| * crush: fix crush_calc_straw() scalers when there are duplicate weightsSage Weil2014-12-041-11/+1
| * crush: fix distortion of straw scalers by 0-weight itemsSage Weil2014-12-041-0/+1
| * crush/builder: break out new version 1 of crush_calc_strawSage Weil2014-12-031-31/+79
| * crush: pass crush_map * to various builder methodsSage Weil2014-12-031-20/+31
| * crush: add straw_calc_version tunableSage Weil2014-12-031-0/+1
| * crush: recalculate straw scalers during a reweightSage Weil2014-12-031-0/+1
| * crush: add dprintk's for crush_calc_strawSage Weil2014-12-021-4/+6
* | Merge pull request #2986 from ceph/wip-9998Loic Dachary2014-12-141-4/+16
|\ \ | |/ |/|
| * crush/builder: prevent bucket weight underflow on item removalSage Weil2014-12-091-4/+16
* | crush: fix tree bucket functionsRongze Zhu2014-11-111-1/+25
* | crush/builder: replace printf with an empty dprintk macroSage Weil2014-11-111-9/+11
|/
* CrushWrapper: pick a ruleset same as rule_idXiaoxi Chen2014-08-221-1/+3
* crush/builder.c: remove some unreachable return statementsDanny Al-Gaaf2014-05-081-4/+0
* crush: add chooseleaf_vary_r tunableSage Weil2014-02-081-0/+1
* inttypes: detect and define missing integer typesNoah Watkins2014-01-021-0/+2
* crushtool: do not dump core with non-unique bucket IDsDavid Zafman2013-09-101-3/+7
* crush/builder.c: reduce scope of oldsize in crush_add_bucket()Danny Al-Gaaf2013-05-101-2/+1
* crush/builder.c: fix realloc handlingDanny Al-Gaaf2013-02-281-31/+158
* crush/builder.c: fix sizeof handling of bucket->h.itemsDanny Al-Gaaf2013-02-281-13/+13
* crush/builder.c: reduce scope of oldsize in crush_add_rule()Danny Al-Gaaf2013-02-271-1/+1
* crush: for chooseleaf rules, retry CRUSH map descent from root if leaf is failedJim Schutt2012-11-271-0/+1
* crush: prevent integer overflow on reweightcaleb miles2012-07-121-60/+124
* crush: make magic numbers tunableSage Weil2012-06-081-0/+5
* builder: make reweight helpers static, voidSage Weil2012-05-211-13/+12