Displaying 1 result from an estimated 1 matches for "b9544ff".
2009 Aug 12
2
[PATCH] Don't use cache=off if device is on tmpfs
...tmpfs then
you probably didn't expect reliability in the case where your system
suddenly powers off.
---
src/generator.ml | 2 ++
src/guestfs.c | 30 ++++++++++++++++++++++++------
2 files changed, 26 insertions(+), 6 deletions(-)
diff --git a/src/generator.ml b/src/generator.ml
index b9544ff..fa1f483 100755
--- a/src/generator.ml
+++ b/src/generator.ml
@@ -454,6 +454,8 @@ image).
This is equivalent to the qemu parameter
C<-drive file=filename,cache=off,if=...>.
+C<cache=off> is omitted in cases where it is not supported by
+the underlying filesystem.
Note that this c...