mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Peach (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MESOS-4828) XFS disk quota isolator
Date Thu, 03 Mar 2016 18:28:18 GMT

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

James Peach commented on MESOS-4828:
------------------------------------

Traditional disk quotas are applied to users or groups. XFS project quotas can be used to
implement per-directory quotas which is a much better fit for constraining sandbox disk usage.

> XFS disk quota isolator
> -----------------------
>
>                 Key: MESOS-4828
>                 URL: https://issues.apache.org/jira/browse/MESOS-4828
>             Project: Mesos
>          Issue Type: Improvement
>          Components: isolation
>            Reporter: James Peach
>            Assignee: James Peach
>
> Implement a disk resource isolator using XFS project quotas. Compared to the {{posix/disk}}
isolator, this doesn't need to scan the filesystem periodically, and applications receive
a {{ENOSPC}} error instead of being summarily killed.
> This initial implementation only isolates sandbox directory resources, since isolation
doesn't have any visibility into the the lifecycle of volumes, which is needed to assign and
track project IDs.
> The build dependencies for this are XFS header (from xfsprogs-devel) and libblkid. We
need libblkid or the equivalent to map filesystem paths to block devices in order to apply
quota.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message