[ 
https://issues.apache.org/jira/browse/MESOS-5158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16383595#comment-16383595
 ] 

Harold Dost III commented on MESOS-5158:
----------------------------------------

Hey [~jamespeach],

On a related note, one of the things mentioned in the source is about the fact 
that the isolator does not necessarily have knowledge of whether the persistent 
volume is available. Should we consider making some general utilities inspired 
by the ones in the xfs isolator that could be refactored so that they may be 
used by frameworks and isolators alike.  

Sound like right now there is no reference to the number of containers access a 
persistent volume. Maybe we would want some sort of reference counting and have 
a way that volumes in essence manage themselves. I am still learning the 
lifecycles of some of the different components, but I think it may be better 
when persistent volumes are are created {{src/common/sources.cpp}} to allocate 
a project id for the directory, and then as task use the same one increase 
their usage. As containers are cleaned up reduce the count.

> Provide XFS quota support for persistent volumes.
> -------------------------------------------------
>
>                 Key: MESOS-5158
>                 URL: https://issues.apache.org/jira/browse/MESOS-5158
>             Project: Mesos
>          Issue Type: Improvement
>          Components: containerization
>            Reporter: Yan Xu
>            Priority: Major
>
> Given that the lifecycle of persistent volumes is managed outside of the 
> isolator, we may need to further abstract out the quota management 
> functionality to do it outside the XFS isolator.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to