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.
This commit is contained in:
parent
56d924a59b
commit
e0d96774dd
|
@ -554,7 +554,7 @@ of the GNU system as described by OS."
|
||||||
(device (file-system->mount-tag source))
|
(device (file-system->mount-tag source))
|
||||||
(type "9p")
|
(type "9p")
|
||||||
(flags (if writable? '() '(read-only)))
|
(flags (if writable? '() '(read-only)))
|
||||||
(options (string-append "trans=virtio"))
|
(options "trans=virtio,cache=loose")
|
||||||
(check? #f)
|
(check? #f)
|
||||||
(create-mount-point? #t)))))
|
(create-mount-point? #t)))))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue