This is an automatically generated e-mail. To reply, visit:

(Updated March 7, 2016, 6:38 p.m.)

Review request for mesos, Jie Yu and Jiang Yan Xu.


Rebased. Addressed review comments. Added documentation.

Bugs: MESOS-4828

Repository: mesos


Track sandbox directory usage by dynamically assigning XFS project
quotas. We track a range of XFS project IDs, assigning a project ID
and a project quota to each sandbox as it is created. When the task
reaches the quota, writes will fail with EDQUOT, and the task will have
an opportunity to handle that.

Quotas are not applied to volume resources since the isolator interface
has no insight into the volume lifecycle. Thus it is not currently
possible to accurately assign and reclaim project IDs.

If LOW is the lower bound of the project ID range and HIGH is the upper
bound, you can show the currently allocated project quotas using the
xfs_quota command:

  $ xfs_quota -x -c "report -a -n -L LOW -U HIGH"

To show the project ID assigned to the file PATH, use the xfs_io command:

  $ xfs_io -r -c stat PATH

Diffs (updated)

  configure.ac a20382e8d425eb297492a6e6c2c75ea59be097c2 
  docs/configuration.md 305ba2c801c2060db6dcb4ef83c1043aaa7d520c 
  docs/mesos-containerizer.md 15fb5bdbe74e059614b8948108f32cd04b623305 
  src/Makefile.am a41e95ddeb838fdebf4ced953c4a29181916e261 
  src/slave/containerizer/mesos/isolators/disk/xfs.hpp PRE-CREATION 
  src/slave/containerizer/mesos/isolators/disk/xfs.cpp PRE-CREATION 
  src/slave/flags.hpp feb095da4521f678c96f4cc53bdfda262d350388 
  src/slave/flags.cpp 6e3fd69c06eefd40bc0e5c222ea72f34144c5534 

Diff: https://reviews.apache.org/r/44342/diff/


Manual testing on Fedora 23 w/ XFS. Make check on Fedora and OS X.


James Peach

Reply via email to