[lxc-devel] [lxd/master] storage utils: add MS_LAZYTIME to mount options

brauner on Github lxc-bot at linuxcontainers.org
Tue May 2 20:44:07 UTC 2017


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 364 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20170502/107ea4f9/attachment.bin>
-------------- next part --------------
From 984b45e328656a944678e22fb2dc5771f248fc30 Mon Sep 17 00:00:00 2001
From: Christian Brauner <christian.brauner at ubuntu.com>
Date: Tue, 2 May 2017 22:43:20 +0200
Subject: [PATCH] storage utils: add MS_LAZYTIME to mount options

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>
---
 lxd/storage_utils.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lxd/storage_utils.go b/lxd/storage_utils.go
index a6db607..ef065e4 100644
--- a/lxd/storage_utils.go
+++ b/lxd/storage_utils.go
@@ -23,6 +23,7 @@ var MountOptions = map[string]mountOptions{
 	"diratime":      {true, syscall.MS_NODIRATIME},
 	"dirsync":       {false, syscall.MS_DIRSYNC},
 	"exec":          {true, syscall.MS_NOEXEC},
+	"lazytime":      {false, syscall.MS_LAZYTIME},
 	"mand":          {false, syscall.MS_MANDLOCK},
 	"noatime":       {false, syscall.MS_NOATIME},
 	"nodev":         {false, syscall.MS_NODEV},


More information about the lxc-devel mailing list