me
/
guix
Archived
1
0
Fork 0

vm: Disable caching for writable file system mappings.

Fixes <https://bugs.gnu.org/43062>.
Reported by elaexuotee@wilsonb.com.

* gnu/system/vm.scm (mapping->file-system)[options]: Disable loose
caching when WRITABLE? is true.
master
Ludovic Courtès 2020-08-31 14:19:22 +02:00
parent 83ec969cc7
commit 7eeb78157d
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 2 additions and 1 deletions

View File

@ -699,7 +699,8 @@ of the GNU system as described by OS."
(device (file-system->mount-tag source))
(type "9p")
(flags (if writable? '() '(read-only)))
(options "trans=virtio,cache=loose")
(options (string-append "trans=virtio"
(if writable? "" ",cache=loose")))
(check? #f)
(create-mount-point? #t)))))