mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Klues <>
Subject Re: Review Request 52596: Added special case when sorting hierarchically in MountInfoTable::read.
Date Mon, 10 Oct 2016 20:50:05 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated Oct. 10, 2016, 8:50 p.m.)

Review request for mesos and Jie Yu.


Added blocker on upcoming commit.

Bugs: MESOS-6118

Repository: mesos


It is legal to have entries in a `MountInfoTable` whose `` is
the same as `entry.parent`. This can happen (for example), if a system
boots from the network and then keeps the original `/` in RAM.
However, to avoid cycles when walking the mount hierarchy, we should
not treat these entries as children of their parent so we skip them.

This commit adds functionality to handle this case.

Diffs (updated)

  src/linux/fs.cpp 4b10141a49dfb3c6defdb07e295eb14cfcdd36ce 



GTEST_FILTER="" make -j40 check
GTEST_FILTER="FsTest.MountInfoTableReadSorted" src/mesos-tests


Kevin Klues

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message