Whamcloud - gitweb
land b_hd_remote_acl: support get/set ACL from remote client.
[fs/lustre-release.git] / lustre / utils / lconf
index c84cd07..bd47b63 100755 (executable)
@@ -2154,12 +2154,20 @@ class MDSDEV(Module):
            lctl.newdev("mdt", 'MDT', 'MDT_UUID', setup ="")
 
         if development_mode():
+            # set lsd upcall path
             procentry = "/proc/fs/lustre/mds/lsd_upcall"
             upcall = os.path.abspath(os.path.dirname(sys.argv[0]) + "/lsd_upcall")
             if not (os.access(procentry, os.R_OK) and os.access(upcall, os.R_OK)):
                 print "MDS Warning: failed to set lsd cache upcall"
             else:
                 run("echo ", upcall, " > ", procentry)
+            # set lacl upcall path
+            procentry = "/proc/fs/lustre/mds/lacl_upcall"
+            upcall = os.path.abspath(os.path.dirname(sys.argv[0]) + "/lacl_upcall")
+            if not (os.access(procentry, os.R_OK) and os.access(upcall, os.R_OK)):
+                print "MDS Warning: failed to set remote acl upcall"
+            else:
+                run("echo ", upcall, " > ", procentry)
 
        if config.root_squash == None:
             config.root_squash = self.root_squash