<feed xmlns='http://www.w3.org/2005/Atom'>
<title>phosphor-objmgr/libmapper, branch master</title>
<subtitle>OpenBMC Phosphor object manager sources</subtitle>
<id>https://git.raptorcs.com/git/phosphor-objmgr/atom?h=master</id>
<link rel='self' href='https://git.raptorcs.com/git/phosphor-objmgr/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-objmgr/'/>
<updated>2018-10-02T21:43:29+00:00</updated>
<entry>
<title>mapper: Handle the expected GetSubTreePaths fails</title>
<updated>2018-10-02T21:43:29+00:00</updated>
<author>
<name>Matt Spinler</name>
<email>spinler@us.ibm.com</email>
</author>
<published>2018-09-24T14:46:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-objmgr/commit/?id=59cbf3461a761968cc6f9f93bb0d4efaaf17ecbe'/>
<id>urn:sha1:59cbf3461a761968cc6f9f93bb0d4efaaf17ecbe</id>
<content type='text'>
The 'mapper subtree-remove' command calls GetSubTreePaths
when it starts up to check if a certain interface currently
exists on a certain path.  If that interface does not exist
on that path, the current ObjectMapper implementation would
just return an empty list, and the program would exit.

The new ObjectMapper implementation will fail the GetSubTreePaths
call in that case, causing an ENXIO inside of sd_event_loop().

This commit checks for the ENXIO and then just exits immediately
with a return code of 0, as this is the case where the interface
had been removed before the program was started.

Change-Id: Iaeb908ee9a0db8952ef77cc63675e0f7abe3b6c7
Signed-off-by: Matt Spinler &lt;spinler@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>clang-format updates</title>
<updated>2018-09-19T19:32:34+00:00</updated>
<author>
<name>Matt Spinler</name>
<email>spinler@us.ibm.com</email>
</author>
<published>2018-09-19T18:23:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-objmgr/commit/?id=cc6ee9cb98a3a8c6020cef9a0debbf2c35f50f7f'/>
<id>urn:sha1:cc6ee9cb98a3a8c6020cef9a0debbf2c35f50f7f</id>
<content type='text'>
Pick up latest clang-format from the docs repo and rerun
with clang-format-6.0

Change-Id: I2f0411bb01d78f096563d63b197ce12daf43bcbd
Signed-off-by: Matt Spinler &lt;spinler@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>libmapper: Retry when receiving ENOBUFS</title>
<updated>2018-06-26T15:52:25+00:00</updated>
<author>
<name>William A. Kennington III</name>
<email>wak@google.com</email>
</author>
<published>2018-06-15T17:10:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-objmgr/commit/?id=2482946e915971ac587cae05099bac92eab5f9fe'/>
<id>urn:sha1:2482946e915971ac587cae05099bac92eab5f9fe</id>
<content type='text'>
The dbus daemon can return ENOBUFS if a server has too many outstanding
requests that have not yet been serviced. We've noticed during boot that
the load on the mapper is great enough that we will hit this dbus limit.
Since this condition eventually improves, we want to retry just like
with EBUSY.

Change-Id: Ia21d87fba1793016e7c9dfa835fbe7bac0085f10
Signed-off-by: William A. Kennington III &lt;wak@google.com&gt;
</content>
</entry>
<entry>
<title>app: Drop mapper call subcommand</title>
<updated>2018-06-25T13:38:56+00:00</updated>
<author>
<name>Brad Bishop</name>
<email>bradleyb@fuzziesquirrel.com</email>
</author>
<published>2018-06-07T20:21:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-objmgr/commit/?id=2d04816fb5a1811694272818ec41b5364ce3c691'/>
<id>urn:sha1:2d04816fb5a1811694272818ec41b5364ce3c691</id>
<content type='text'>
Equivalent function can be simulated with busctl call and mapper
get-service _and_ doesn't rely on systemd patches.

Change-Id: Ia0c3c8d7d0290de2b6e79f18df72cac97f2b14fa
Signed-off-by: Brad Bishop &lt;bradleyb@fuzziesquirrel.com&gt;
</content>
</entry>
<entry>
<title>libmapper: Retry with exponential backoff</title>
<updated>2018-06-15T17:15:01+00:00</updated>
<author>
<name>William A. Kennington III</name>
<email>wak@google.com</email>
</author>
<published>2018-06-15T17:10:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-objmgr/commit/?id=5e21ac017d4aeec18ce64fea7a0f42332d405cfc'/>
<id>urn:sha1:5e21ac017d4aeec18ce64fea7a0f42332d405cfc</id>
<content type='text'>
We don't want to keep retrying every 1 second for 5 tries. This would
allow the timeout to lapse for a very busy BMC and just cause more
congestion. Instead backoff at exponentially increasing intervals.

Change-Id: I9780d9a3dc787a6936aca2c2af30418dd2b0bf4b
Signed-off-by: William A. Kennington III &lt;wak@google.com&gt;
</content>
</entry>
<entry>
<title>libmapper: Actually examine read errors</title>
<updated>2018-06-15T17:14:56+00:00</updated>
<author>
<name>William A. Kennington III</name>
<email>wak@google.com</email>
</author>
<published>2018-06-15T17:10:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-objmgr/commit/?id=20cbbfb008d3d7d39f333b54b183793c12f2466c'/>
<id>urn:sha1:20cbbfb008d3d7d39f333b54b183793c12f2466c</id>
<content type='text'>
Don't rely on undefined behavior in failed read calls where some of the
message is read. Right now the subtree remove callback parses the message
of type "as" into a 1 element array. It uses this to determine if the
array is empty or not. This depends on the underlying implementation to
populate one of the array elements in the case where it has more than
one and produces an error.

Instead, properly enter the array container and check to see if it is empty
while doing error handling for the calls.

Change-Id: I542c488524a5dce5466d6196879159d888e47346
Signed-off-by: William A. Kennington III &lt;wak@google.com&gt;
</content>
</entry>
<entry>
<title>clang-format this repo</title>
<updated>2018-05-30T12:34:37+00:00</updated>
<author>
<name>Ed Tanous</name>
<email>ed.tanous@intel.com</email>
</author>
<published>2018-05-07T18:59:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-objmgr/commit/?id=167e2379abb36d8c813fed0ee1da3b79715d477a'/>
<id>urn:sha1:167e2379abb36d8c813fed0ee1da3b79715d477a</id>
<content type='text'>
Use the proper-clang-format file on this repository as required by
the openbmc documentation.

Change-Id: I4f1e0d707388605f1e818dfdc647533a335e5f2d
Signed-off-by: Ed Tanous &lt;ed.tanous@intel.com&gt;
</content>
</entry>
<entry>
<title>gitignore updates</title>
<updated>2017-06-14T07:38:23+00:00</updated>
<author>
<name>Brad Bishop</name>
<email>bradleyb@fuzziesquirrel.com</email>
</author>
<published>2017-06-10T03:08:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-objmgr/commit/?id=f43e5d6889b4b1bfe1ec610de845eef67a0856fe'/>
<id>urn:sha1:f43e5d6889b4b1bfe1ec610de845eef67a0856fe</id>
<content type='text'>
Ignore various build artifacts.

Change-Id: I8b0447bf66844c6cfd40b57da4564324dbd0322b
Signed-off-by: Brad Bishop &lt;bradleyb@fuzziesquirrel.com&gt;
</content>
</entry>
<entry>
<title>libmapper: Add subtree callback functions</title>
<updated>2017-05-15T17:23:27+00:00</updated>
<author>
<name>Adriana Kobylak</name>
<email>anoo@us.ibm.com</email>
</author>
<published>2017-05-08T18:58:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-objmgr/commit/?id=b2f2681fc8289f1089fb616b1156802251f4721f'/>
<id>urn:sha1:b2f2681fc8289f1089fb616b1156802251f4721f</id>
<content type='text'>
Implement subtree callback functions for match, getpaths,
and timeout.

Change-Id: I1037a52fced9e47aa630ebb9ae39b745349acb95
Signed-off-by: Adriana Kobylak &lt;anoo@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>libmapper: Add function to call GetSubTreePaths</title>
<updated>2017-05-15T17:23:25+00:00</updated>
<author>
<name>Adriana Kobylak</name>
<email>anoo@us.ibm.com</email>
</author>
<published>2017-05-08T18:30:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-objmgr/commit/?id=025d7959543991259dcdf3a8fb5f144e1f4ba4ae'/>
<id>urn:sha1:025d7959543991259dcdf3a8fb5f144e1f4ba4ae</id>
<content type='text'>
Call the dbus method GetSubTreePaths to look for the
specified interface.

Change-Id: If266fc0db2c10582eeb9438e91f9556dcb525e39
Signed-off-by: Adriana Kobylak &lt;anoo@us.ibm.com&gt;
</content>
</entry>
</feed>
