Subject: bug#29740: closed (done)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 17 Dec 2017 20:55:01 +0000

Your bug report

#29740: [PATCH] gnu: system: vm: Use loose cache for 9p file system.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
29740: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=29740
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: done
From: Christopher Baines <[email-masked]>
To: [email-masked]
Date: Sun, 17 Dec 2017 20:54:16 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

Subject: [PATCH] gnu: system: vm: Use loose cache for 9p file system.
From: Christopher Baines <[email-masked]>
To: [email-masked]
Date: Sat, 16 Dec 2017 19:20:18 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

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 6102d465b..c1305d3f9 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)))))
 
-- 
2.15.1