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

Review request for mesos, Jason Lai, Jie Yu, and Zhitao Li.


Repository: mesos


Description
-------

The filesystem/linux isolator currently creates all bind mount volumes as RW, 
even if a volume mode is set as RO.

The TODO in the isolator code helps to spot the missing capability:
https://github.com/apache/mesos/blob/master/src/slave/containerizer/mesos/isolators/filesystem/linux.cpp#L587
`
// TODO(jieyu): Consider the mode in the volume.
`


Diffs
-----

  src/slave/containerizer/mesos/isolators/filesystem/linux.cpp 
69804eec61467ae0fd95dfdf53a08875e27a0bca 
  src/tests/containerizer/linux_filesystem_isolator_tests.cpp 
803758c1437b21df9f25ad7e994298e89de44cbe 


Diff: https://reviews.apache.org/r/59930/diff/1/


Testing
-------

Test cases for RW and RO bind mount volumes have been added, by following the 
filesystem/linux isolator's existing testing pattern.


Thanks,

Charles Raimbert

Reply via email to