Displaying 2 results from an estimated 2 matches for "72f51a4".
Did you mean:
22f5104
2018 Aug 19
0
[PATCH v4 1/4] file: Avoid unsupported fallocate() calls
...all back to manual writing
- trim changed to:
1. If we can punch hole, try PUNCH_HOLE
2. Succeed
---
plugins/file/file.c | 84 +++++++++++++++++++++++++++++----------------
1 file changed, 55 insertions(+), 29 deletions(-)
diff --git a/plugins/file/file.c b/plugins/file/file.c
index 3bb4d17..72f51a4 100644
--- a/plugins/file/file.c
+++ b/plugins/file/file.c
@@ -35,6 +35,7 @@
#include <stdio.h>
#include <stdlib.h>
+#include <stdbool.h>
#include <string.h>
#include <fcntl.h>
#include <unistd.h>
@@ -118,6 +119,8 @@ file_config_complete (void)
/* The per...
2018 Aug 19
9
[PATCH v3 0/4] file: Zero for block devices and older file systems
This version addresses comments on v3.
Changes since v3:
- Finally got spacing right (Eric)
- Reorder includes (Richard)
- Return 0 or -1 instead of r (Richard)
- Add common/include/isaligned.h to Makefile.am (Richard)
v3 was here:
https://www.redhat.com/archives/libguestfs/2018-August/msg00177.html
Nir Soffer (4):
file: Avoid unsupported fallocate() calls
file: Support zero without