bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [libvirt] [PATCH] build: use gnulib fdatasync


From: Eric Blake
Subject: Re: [libvirt] [PATCH] build: use gnulib fdatasync
Date: Tue, 25 Oct 2011 09:32:13 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20110928 Fedora/3.1.15-1.fc14 Lightning/1.0b3pre Mnenhy/0.8.4 Thunderbird/3.1.15

[adding bug-gnulib]

On 10/25/2011 03:44 AM, Jiri Denemark wrote:
On Mon, Oct 24, 2011 at 16:44:49 -0600, Eric Blake wrote:
Commit 1726a73 hacked around MacOS' lack of fdatasync, since
gnulib did not have it at the time.  But now that we use newer
gnulib, we can avoid the hack.

* bootstrap.conf (gnulib_modules): Add fdatasync.
* configure.ac (AC_CHECK_FUNCS_ONCE): Drop our own check.
---
  bootstrap.conf |    1 +
  configure.ac   |    5 +----
  2 files changed, 2 insertions(+), 4 deletions(-)

ACK

BTW, are there any plans on enhancing gnulib fsync module to provide a
replacement for certain versions of OS X? Although they provide fsync, it
doesn't really sync anything and one needs to do some ioctl hackery to really
achieve what fsync should do.

Any quick pointers to example code using that ioctl? Then again, I'll probably find them with a quick google search myself.

Yes, gnulib should be taught to make fsync() more useful on OS X.

--
Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]