Guangya Liu created MESOS-5607:
----------------------------------

             Summary: Refactored overlay, overlayfs and aufs checking to 
fs::supported
                 Key: MESOS-5607
                 URL: https://issues.apache.org/jira/browse/MESOS-5607
             Project: Mesos
          Issue Type: Bug
            Reporter: Guangya Liu
            Assignee: Guangya Liu


This is a follow up for https://reviews.apache.org/r/47396/

The container backend support overlay, bind, aufs and copy, {{fs.cpp}} now have 
three APIs to check if the fs type was supported.

{code}
// Detect whether the given file system is supported by the kernel.
Try<bool> supported(const std::string& fsname);


namespace overlay {

// Check if overlay fs is supported.
Try<bool> supported();

} // namespace overlay {


namespace aufs {

// Check if aufs is supported.
Try<bool> supported();

} // namespace aufs {
{code}

It is better to refactor overlay, overlayfs and aufs checking to fs::supported 
to simplify the caller logic.



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

Reply via email to