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
parent
83ec969cc7
commit
7eeb78157d
|
@ -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)))))
|
||||
|
||||
|
|
Reference in New Issue