> On 四月 15, 2016, 12:27 a.m., Jie Yu wrote:
> > Second thoughts on this. We should not use a single protobuf file for 
> > checkpointing. Otherwise, we'll have to write the entire file to the 
> > filesystem anytime we do a mount or umount. Let's just create some 
> > directory structure under /var/run/mesos/isolators/docker/volume. Please 
> > take a look at network/cni/paths.hpp|cpp.

OK, will create a separate patch for this.

The hierarchy of the checkpoint will be:

   /var/run/mesos/isolators/docker/volume
    |- <ID of Container1>/
    |  |-- mountinfo <volumedriver, volumename>
    |-- <ID of ContainerID 2>/
    | ...


- Guangya


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


On 四月 14, 2016, 4:41 a.m., Guangya Liu wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/45270/
> -----------------------------------------------------------
> 
> (Updated 四月 14, 2016, 4:41 a.m.)
> 
> 
> Review request for mesos, David vonThenen, Gilbert Song, haosdent huang, and 
> Jie Yu.
> 
> 
> Bugs: MESOS-5013
>     https://issues.apache.org/jira/browse/MESOS-5013
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> Added spec protobut for external mount.
> 
> 
> Diffs
> -----
> 
>   src/CMakeLists.txt ca59a1824352423f4db6ef8bb41acc6fe602c041 
>   src/Makefile.am 139935fb40f8986427c85537a400ff945e54433f 
>   src/slave/containerizer/mesos/isolators/docker/volume/spec.hpp PRE-CREATION 
>   src/slave/containerizer/mesos/isolators/docker/volume/spec.proto 
> PRE-CREATION 
> 
> Diff: https://reviews.apache.org/r/45270/diff/
> 
> 
> Testing
> -------
> 
> make
> make check
> 
> 
> Thanks,
> 
> Guangya Liu
> 
>

Reply via email to