mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chun-Hung Hsiao <chhs...@mesosphere.io>
Subject Re: Review Request 63377: Added filesystem layout for CSI plugins.
Date Tue, 21 Nov 2017 05:36:41 GMT

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

(Updated Nov. 21, 2017, 5:36 a.m.)


Review request for mesos, Jie Yu, Joseph Wu, and Jan Schlicht.


Changes
-------

Moved the helper functions to namespace `mesos::csi::paths` and rebased on r63904.


Summary (updated)
-----------------

Added filesystem layout for CSI plugins.


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


Repository: mesos


Description (updated)
-------

A CSI plugin can now store the following persistent CSI
data in `<work_dir>/csi/<type>/<name>/`:

1. Mount points of CSI volumes: `volumes/<volume_id>`
2. States of CSI volumes: `states/<volume_id>/state`
3. Directory to place CSI endpoints: `/tmp/mesos-csi-XXXXXX`, which
   would be symlinked by `containers/<container_id>/endpoint`.


Diffs (updated)
-----

  src/Makefile.am 9641ad4cf2a1f7fe56a4dcccb6eeff7130872fa8 
  src/csi/paths.hpp PRE-CREATION 
  src/csi/paths.cpp PRE-CREATION 
  src/slave/paths.hpp 66dfa4544772d78ccc9229dc861da60c79913f24 
  src/slave/paths.cpp b03ffeeed83cb73228cca27769262fb08df38fb5 


Diff: https://reviews.apache.org/r/63377/diff/3/

Changes: https://reviews.apache.org/r/63377/diff/2-3/


Testing
-------

make


Thanks,

Chun-Hung Hsiao


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message