Displaying 2 results from an estimated 2 matches for "44722bc".
Did you mean:
417e2bc
2016 Apr 14
3
builder: posix_fadvise fixes.
The way we used posix_fadvise was wrong, and yet right!
Rich.
2016 Apr 14
0
[PATCH 1/2] utils, builder: Add wrappers for posix_fadvise.
...| 5 +--
src/guestfs-internal-frontend.h | 5 +++
src/proto.c | 17 +-------
src/utils.c | 87 +++++++++++++++++++++++++++++++++++++++++
4 files changed, 95 insertions(+), 19 deletions(-)
diff --git a/builder/pxzcat-c.c b/builder/pxzcat-c.c
index 1f5ceeb..44722bc 100644
--- a/builder/pxzcat-c.c
+++ b/builder/pxzcat-c.c
@@ -214,10 +214,7 @@ pxzcat (value filenamev, value outputfilev, unsigned nr_threads)
unix_error (err, (char *) "ftruncate", outputfilev);
}
-#if defined HAVE_POSIX_FADVISE
- /* Tell the kernel we won't read the outpu...