Home
last modified time | relevance | path

Searched hist:c2c2db7d5b0258429e59dfad259bb57e13e2cce6 (Results 1 – 4 of 4) sorted by relevance

/openbmc/phosphor-fan-presence/control/json/
H A Dgroup.cppdiff c2c2db7d5b0258429e59dfad259bb57e13e2cce6 Thu Apr 07 13:59:37 CDT 2022 Matt Spinler <spinler@us.ibm.com> control: Don't cache non-group properties

The code was previously adding every single D-Bus
path/interface/property of a service when Manager::addObjects() was
being used to cache D-Bus property values. This was resulting in a lot
of extra items in the cache that fan control would never use.

To fix this, create a single static set of all of the D-Bus paths from
all of the Group objects, which would be the master list of all the
D-Bus paths fan control would ever care about. Then, only add a
path/interface/property to the cache if that path is in that set.

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I787c9c36b88d003fe9fe7ac1d517fbb5aa510e4e
H A Dgroup.hppdiff c2c2db7d5b0258429e59dfad259bb57e13e2cce6 Thu Apr 07 13:59:37 CDT 2022 Matt Spinler <spinler@us.ibm.com> control: Don't cache non-group properties

The code was previously adding every single D-Bus
path/interface/property of a service when Manager::addObjects() was
being used to cache D-Bus property values. This was resulting in a lot
of extra items in the cache that fan control would never use.

To fix this, create a single static set of all of the D-Bus paths from
all of the Group objects, which would be the master list of all the
D-Bus paths fan control would ever care about. Then, only add a
path/interface/property to the cache if that path is in that set.

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I787c9c36b88d003fe9fe7ac1d517fbb5aa510e4e
H A Dmanager.hppdiff c2c2db7d5b0258429e59dfad259bb57e13e2cce6 Thu Apr 07 13:59:37 CDT 2022 Matt Spinler <spinler@us.ibm.com> control: Don't cache non-group properties

The code was previously adding every single D-Bus
path/interface/property of a service when Manager::addObjects() was
being used to cache D-Bus property values. This was resulting in a lot
of extra items in the cache that fan control would never use.

To fix this, create a single static set of all of the D-Bus paths from
all of the Group objects, which would be the master list of all the
D-Bus paths fan control would ever care about. Then, only add a
path/interface/property to the cache if that path is in that set.

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I787c9c36b88d003fe9fe7ac1d517fbb5aa510e4e
H A Dmanager.cppdiff c2c2db7d5b0258429e59dfad259bb57e13e2cce6 Thu Apr 07 13:59:37 CDT 2022 Matt Spinler <spinler@us.ibm.com> control: Don't cache non-group properties

The code was previously adding every single D-Bus
path/interface/property of a service when Manager::addObjects() was
being used to cache D-Bus property values. This was resulting in a lot
of extra items in the cache that fan control would never use.

To fix this, create a single static set of all of the D-Bus paths from
all of the Group objects, which would be the master list of all the
D-Bus paths fan control would ever care about. Then, only add a
path/interface/property to the cache if that path is in that set.

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I787c9c36b88d003fe9fe7ac1d517fbb5aa510e4e