summaryrefslogtreecommitdiff
path: root/gnu/system
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2017-12-09 08:36:52 +0000
committerChristopher Baines <mail@cbaines.net>2017-12-17 20:46:40 +0000
commite0d96774dd48c29ccc4c90fea1f8f71850ab0879 (patch)
treee82743a86a71107a44e5751688b187b26687af18 /gnu/system
parent56d924a59b78be3974fadb64e1d959061ca1b898 (diff)
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.
Diffstat (limited to 'gnu/system')
-rw-r--r--gnu/system/vm.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/system/vm.scm b/gnu/system/vm.scm
index 6102d465b8..c1305d3f9e 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)))))