-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/30015/
-----------------------------------------------------------
(Updated Feb. 22, 2015, 6:26 a.m.)
Review request for mesos, Ben Mahler, Dominic Hamon, and Vinod Kone.
Summary (updated)
-----------------
Adding methods to fetch the number of hard links associated with a path.
Bugs: MESOS-391
https://issues.apache.org/jira/browse/MESOS-391
Repository: mesos
Description
-------
Adding methods to fetch the number of hard links associated with a path as well
as the limit.
It uses the lstat and pathconf system calls to get these two numbers
respectively.
This will help the garbage collector of the slave process to take the number of
hard links into account when scheduling a directory for garbage collection.
Diffs (updated)
-----
3rdparty/libprocess/3rdparty/stout/include/stout/os.hpp
8a4fda97ee29c185471a69f60803efc193cbe922
3rdparty/libprocess/3rdparty/stout/tests/os_tests.cpp
8a2d445c2edaa70da0e7b50e14ef88b2d9224a16
Diff: https://reviews.apache.org/r/30015/diff/
Testing
-------
Build succeeds.
Thanks,
Ritwik Yadav