Revision 808b27d464287666821483257289b1a3379264b2 authored by Alberto Garcia on 18 October 2018, 08:59:03 UTC, committed by Kevin Wolf on 05 November 2018, 14:09:54 UTC
The blkverify mode of Quorum only works when the number of children is
exactly two, so any attempt to add a new one must return an error.

quorum_del_child() on the other hand doesn't need any additional check
because decreasing the number of children would make it go under the
vote threshold.

Signed-off-by: Alberto Garcia <berto@igalia.com>
Reported-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
1 parent 82c4c85
Raw File
power-altivec.xml
<?xml version="1.0"?>
<!-- Copyright (C) 2007, 2008 Free Software Foundation, Inc.

     Copying and distribution of this file, with or without modification,
     are permitted in any medium without royalty provided the copyright
     notice and this notice are preserved.  -->

<!DOCTYPE feature SYSTEM "gdb-target.dtd">
<feature name="org.gnu.gdb.power.altivec">
  <vector id="v4f" type="ieee_single" count="4"/>
  <vector id="v4i32" type="int32" count="4"/>
  <vector id="v8i16" type="int16" count="8"/>
  <vector id="v16i8" type="int8" count="16"/>
  <union id="vec128">
    <field name="uint128" type="uint128"/>
    <field name="v4_float" type="v4f"/>
    <field name="v4_int32" type="v4i32"/>
    <field name="v8_int16" type="v8i16"/>
    <field name="v16_int8" type="v16i8"/>
  </union>

  <reg name="vr0" bitsize="128" type="vec128"/>
  <reg name="vr1" bitsize="128" type="vec128"/>
  <reg name="vr2" bitsize="128" type="vec128"/>
  <reg name="vr3" bitsize="128" type="vec128"/>
  <reg name="vr4" bitsize="128" type="vec128"/>
  <reg name="vr5" bitsize="128" type="vec128"/>
  <reg name="vr6" bitsize="128" type="vec128"/>
  <reg name="vr7" bitsize="128" type="vec128"/>
  <reg name="vr8" bitsize="128" type="vec128"/>
  <reg name="vr9" bitsize="128" type="vec128"/>
  <reg name="vr10" bitsize="128" type="vec128"/>
  <reg name="vr11" bitsize="128" type="vec128"/>
  <reg name="vr12" bitsize="128" type="vec128"/>
  <reg name="vr13" bitsize="128" type="vec128"/>
  <reg name="vr14" bitsize="128" type="vec128"/>
  <reg name="vr15" bitsize="128" type="vec128"/>
  <reg name="vr16" bitsize="128" type="vec128"/>
  <reg name="vr17" bitsize="128" type="vec128"/>
  <reg name="vr18" bitsize="128" type="vec128"/>
  <reg name="vr19" bitsize="128" type="vec128"/>
  <reg name="vr20" bitsize="128" type="vec128"/>
  <reg name="vr21" bitsize="128" type="vec128"/>
  <reg name="vr22" bitsize="128" type="vec128"/>
  <reg name="vr23" bitsize="128" type="vec128"/>
  <reg name="vr24" bitsize="128" type="vec128"/>
  <reg name="vr25" bitsize="128" type="vec128"/>
  <reg name="vr26" bitsize="128" type="vec128"/>
  <reg name="vr27" bitsize="128" type="vec128"/>
  <reg name="vr28" bitsize="128" type="vec128"/>
  <reg name="vr29" bitsize="128" type="vec128"/>
  <reg name="vr30" bitsize="128" type="vec128"/>
  <reg name="vr31" bitsize="128" type="vec128"/>

  <reg name="vscr" bitsize="32" group="vector"/>
  <reg name="vrsave" bitsize="32" group="vector"/>
</feature>
back to top