anitazha / rpms / systemd

Forked from rpms/systemd 3 years ago
Clone

Blame SOURCES/0420-Recognise-Lustre-as-a-remote-file-system-4530.patch

a19bc6
From f1cb9320c6aca21b17c9a120eb70a788df8ac6d5 Mon Sep 17 00:00:00 2001
a19bc6
From: "Brian J. Murrell" <brian@interlinx.bc.ca>
a19bc6
Date: Mon, 31 Oct 2016 23:48:00 -0400
a19bc6
Subject: [PATCH] Recognise Lustre as a remote file system (#4530)
a19bc6
a19bc6
Lustre is also a remote file system that wants the network to be up before it is mounted.
a19bc6
a19bc6
Cherry-picked from: 67ae43665e7e03becba197e98df5b3ce40269567
a19bc6
Resolves: #1390542
a19bc6
---
a19bc6
 src/shared/util.c | 6 +++++-
a19bc6
 1 file changed, 5 insertions(+), 1 deletion(-)
a19bc6
a19bc6
diff --git a/src/shared/util.c b/src/shared/util.c
181b3f
index eab5ab816..66729f70e 100644
a19bc6
--- a/src/shared/util.c
a19bc6
+++ b/src/shared/util.c
a19bc6
@@ -1924,7 +1924,11 @@ bool fstype_is_network(const char *fstype) {
a19bc6
                 "nfs4\0"
a19bc6
                 "gfs\0"
a19bc6
                 "gfs2\0"
a19bc6
-                "glusterfs\0";
a19bc6
+                "glusterfs\0"
a19bc6
+                "pvfs2\0" /* OrangeFS */
a19bc6
+                "ocfs2\0"
a19bc6
+                "lustre\0"
a19bc6
+                ;
a19bc6
 
a19bc6
         const char *x;
a19bc6