[
https://issues.apache.org/jira/browse/MESOS-4378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jie Yu updated MESOS-4378:
--------------------------
Issue Type: Task (was: Bug)
> Add Source to Resource.DiskInfo.
> --------------------------------
>
> Key: MESOS-4378
> URL: https://issues.apache.org/jira/browse/MESOS-4378
> Project: Mesos
> Issue Type: Task
> Reporter: Jie Yu
>
> Source is used to describe the extra information about the source of a Disk
> resource. We will support 'PATH' type first and then 'BLOCK' later.
> {noformat}
> message Source {
> enum Type {
> PATH = 1;
> BLOCK = 2,
> }
> message Path {
> // Path to the folder (e.g., /mnt/raid/disk0).
> required string root = 1;
> required double total_size = 2;
> }
> message Block {
> // Path to the device file (e.g., /dev/sda1, /dev/vg/v1).
> // It can be a physical partition, or a logical volume (LVM).
> required string device = 1;
> }
> required Type type = 1;
> optional Path path = 2;
> optional Block block = 3;
> }
> }
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)