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

Review request for mesos, Andrei Budnik and Gilbert Song.


Bugs: MESOS-9643
    https://issues.apache.org/jira/browse/MESOS-9643


Repository: mesos


Description
-------

Setting volume ownership can be expensive because we need to traverse
all the directories and files in it. So in this patch we make setting
volume ownership asynchronous which will improve the performance in
the following cases:
  1. Launching a container which uses two difererent volumes.
  2. Launching two containers simultaneously which use two different
     volumes respectively.
  3. Launching a container which uses a volume while another task which
     uses a volume is being destroyed, and vice versa.


Diffs
-----

  src/slave/volume_gid_manager/volume_gid_manager.cpp 
c0fc1db24760e691214de991529f8963faf597f4 


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


Testing
-------

sudo make check


Thanks,

Qian Zhang

Reply via email to