Home
last modified time | relevance | path

Searched hist:"0 aea707b10f1ed17fadad0609d3ea4a12fa8701e" (Results 1 – 2 of 2) sorted by relevance

/openbmc/libpldm/tests/
H A Dinstance-id.cppdiff 0aea707b10f1ed17fadad0609d3ea4a12fa8701e Sun Apr 23 20:46:35 CDT 2023 Andrew Jeffery <andrew@aj.id.au> instance-id: Track existing allocations for each db instance

OFD locking allows merging and splitting of locks, which means that it
won't fail an attempt to "recursively" lock the range. We were relying
on that to prevent double allocation when the available instance IDs for
a TID were exhausted.

Given that we can't rely on it, explicitly track the allocations in the
local state.

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Change-Id: Ic0f6903935ac712a86a7967d1cceb5a0c463878b
/openbmc/libpldm/src/requester/
H A Dinstance-id.cdiff 0aea707b10f1ed17fadad0609d3ea4a12fa8701e Sun Apr 23 20:46:35 CDT 2023 Andrew Jeffery <andrew@aj.id.au> instance-id: Track existing allocations for each db instance

OFD locking allows merging and splitting of locks, which means that it
won't fail an attempt to "recursively" lock the range. We were relying
on that to prevent double allocation when the available instance IDs for
a TID were exhausted.

Given that we can't rely on it, explicitly track the allocations in the
local state.

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Change-Id: Ic0f6903935ac712a86a7967d1cceb5a0c463878b