> On Nov. 10, 2017, 9:07 a.m., James Peach wrote:
> > src/slave/containerizer/mesos/provisioner/provisioner.cpp
> > Lines 134 (patched)
> > <https://reviews.apache.org/r/63652/diff/2/?file=1885051#file1885051line134>
> >
> >     You don't need to make a temporary directory, you can use the one you 
> > already have (i.e. the `.` entry should be `DT_DIR`).
> >     
> >     I'm assuming that filesystems won't fake up special cases for `.` and 
> > `..`; is that true?

A temporary directory is needed. My tests show that . and .. entries always 
return DT_DIR regardless of the XFS mount option.


- Meng


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/63652/#review190735
-----------------------------------------------------------


On Nov. 9, 2017, 5:07 p.m., Meng Zhu wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/63652/
> -----------------------------------------------------------
> 
> (Updated Nov. 9, 2017, 5:07 p.m.)
> 
> 
> Review request for mesos, Gilbert Song and James Peach.
> 
> 
> Bugs: MESOS-8121
>     https://issues.apache.org/jira/browse/MESOS-8121
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> In unified containerizer, the d_type cannot be 1
> if we are using the overlay fs backend.
> In particular, XFS can be mounted with ftype = 0
> which renders d_type == 0. Raise error if user
> specifies overlayfs as backend. Fallback to other
> backends in the default case and raise a warning.
> 
> 
> Diffs
> -----
> 
>   src/slave/containerizer/mesos/provisioner/provisioner.cpp 
> 450a3b32d69d2882973a6ed4e94e169a0256056b 
>   src/slave/containerizer/mesos/provisioner/utils.hpp 
> 5b6c162fe4ade16131b2207d707e76228b0ec51a 
>   src/slave/containerizer/mesos/provisioner/utils.cpp 
> 7fd7315dda99f49f967a665afe27c8db7835c04c 
> 
> 
> Diff: https://reviews.apache.org/r/63652/diff/2/
> 
> 
> Testing
> -------
> 
> Manually tested slave creation with default and overlayfs backends on XFS 
> based work_dir with different ftype mount options.
> 
> 
> Thanks,
> 
> Meng Zhu
> 
>

Reply via email to