Richard W.M. Jones 83e92b4a97 utils, builder: Add wrappers for posix_fadvise.
Add wrappers around posix_fadvise and use them in places we were
calling posix_fadvise directly before.

Also in virt-builder we were doing this (and ignoring the result):

  posix_fadvise (fd, 0, 0, POSIX_FADV_RANDOM|POSIX_FADV_DONTNEED);

However the POSIX_FADV_* flags are _not_ bitmasks!  In fact
POSIX_FADV_RANDOM|POSIX_FADV_DONTNEED == POSIX_FADV_NOREUSE so we were
giving a completely different hint from what we thought we were
giving.
2016-04-14 15:23:00 +01:00
2016-01-14 17:05:57 +00:00
2016-01-02 21:19:51 +00:00
2016-01-02 21:19:51 +00:00
2011-11-08 14:43:07 +00:00
2016-04-14 15:10:25 +01:00
2016-03-07 17:36:24 +00:00
2016-03-07 17:36:24 +00:00
2016-04-12 10:35:20 +02:00
2016-01-02 21:19:51 +00:00
2016-02-22 17:55:13 +00:00
2016-03-22 09:45:41 +01:00
2016-04-14 15:10:25 +01:00
2016-04-12 13:52:55 +01:00
2016-04-14 14:08:04 +03:00
2013-01-24 15:00:49 +00:00
2016-04-05 12:09:22 +01:00
2016-04-12 13:52:55 +01:00
2016-04-12 13:52:55 +01:00
2016-01-20 13:42:38 +00:00
2016-02-10 14:15:05 +01:00

Libguestfs is tools and a library for accessing and modifying guest
disk images.  For more information see the home page:

  http://libguestfs.org/

For discussion, development, patches, etc. please use the mailing
list:

  http://www.redhat.com/mailman/listinfo/libguestfs

To find out how to build libguestfs from source, read:

  docs/guestfs-building.pod
  http://libguestfs.org/guestfs-building.1.html
  man docs/guestfs-building.1

Copyright (C) 2009-2016 Red Hat Inc.

The library is distributed under the LGPLv2+.  The programs are
distributed under the GPLv2+.  Please see the files COPYING and
COPYING.LIB for full license information.  The examples are under a
very liberal license.
Languages
C 42.7%
OCaml 35.5%
Shell 7.1%
Makefile 4%
Perl 2.6%
Other 8%