[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/02: gnu: system: vm: Use loose cache for 9p file system.
From: |
Christopher Baines |
Subject: |
01/02: gnu: system: vm: Use loose cache for 9p file system. |
Date: |
Sun, 17 Dec 2017 15:46:58 -0500 (EST) |
cbaines pushed a commit to branch master
in repository guix.
commit e0d96774dd48c29ccc4c90fea1f8f71850ab0879
Author: Christopher Baines <address@hidden>
Date: Sat Dec 9 08:36:52 2017 +0000
gnu: system: vm: Use loose cache for 9p file system.
This improves the performance of the shared store for operations involving
lots of files, e.g. searching through the store.
* gnu/system/vm.scm (mapping->file-system): Add cache=loose to options.
---
gnu/system/vm.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/system/vm.scm b/gnu/system/vm.scm
index 6102d46..c1305d3 100644
--- a/gnu/system/vm.scm
+++ b/gnu/system/vm.scm
@@ -554,7 +554,7 @@ of the GNU system as described by OS."
(device (file-system->mount-tag source))
(type "9p")
(flags (if writable? '() '(read-only)))
- (options (string-append "trans=virtio"))
+ (options "trans=virtio,cache=loose")
(check? #f)
(create-mount-point? #t)))))