[pve-devel] [RFC cluster 4/6] corosync: allow to set link priorities

Thomas Lamprecht t.lamprecht at proxmox.com
Wed May 29 11:18:46 CEST 2019


On 5/29/19 10:45 AM, Fabian Grünbichler wrote:
> On Tue, May 28, 2019 at 06:33:11PM +0200, Thomas Lamprecht wrote:
>>      },
>> +    priority => {
>> +	optional => 1,
>> +	type => 'integer',
>> +	minimum => 0,
> 
> maximum => 7 (since there can be at most 8 links, and thus more
> priorities don't make sense)
> 
> or
> 
> maximum => 255 (since it's a uint8 internally in knet, and anything
> bigger gets rejected by Corosync's config parser)

rather the latter, maybe there come more ;)
else for people which like gaps between priority so that they can be
re-shuffled on the fly.





More information about the pve-devel mailing list