> On Dec. 25, 2015, 9:37 p.m., Qian Zhang wrote:
> > src/slave/containerizer/mesos/isolators/posix/disk.cpp, line 171
> > <https://reviews.apache.org/r/41705/diff/1/?file=1176049#file1176049line171>
> >
> >     Should we simply use `!Resources::isPersistentVolume()` here?

A disk volume resource does not necessarily have to be a persistent volume. So 
there might be cases when a task just requires a non-persistent disk volume.


- Artem


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


On Dec. 28, 2015, 11:36 a.m., Artem Harutyunyan wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/41705/
> -----------------------------------------------------------
> 
> (Updated Dec. 28, 2015, 11:36 a.m.)
> 
> 
> Review request for mesos and Jie Yu.
> 
> 
> Bugs: MESOS-4198
>     https://issues.apache.org/jira/browse/MESOS-4198
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> Added support for enforcing quota on (persistent) volumes (MESOS-4198).
> 
> 
> Diffs
> -----
> 
>   src/slave/containerizer/mesos/isolators/posix/disk.cpp 
> d971db09083faad08f3cf18c25a79245321d1d9a 
>   src/tests/disk_quota_tests.cpp ce736c32a9e78a8a6d0793a06fe87911b9b0558d 
> 
> Diff: https://reviews.apache.org/r/41705/diff/
> 
> 
> Testing
> -------
> 
> GTEST_FILTER='DiskQuotaTest*' make check -j8
> 
> 
> Thanks,
> 
> Artem Harutyunyan
> 
>

Reply via email to