This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: aio_fsync() a directory ?
- From: Xavier Roche <roche+kml2 at exalead dot com>
- To: Roland McGrath <roland at hack dot frob dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Tue, 09 Apr 2013 08:49:42 +0200
- Subject: Re: aio_fsync() a directory ?
- References: <513EEF07 dot 5090901 at 3ds dot com> <20130408212729 dot ED7592C085 at topped-with-meat dot com>
On 04/08/2013 11:27 PM, Roland McGrath wrote:
These are questions for the POSIX committee. Given the standard as it
stands (same in 1003.1-2008, though you cited 1003.1-2004), libc is doing
the right things.
Yes absolutely. Two related questions have been submitted to the working
group (I should have sent some feedback earlier):
- 0000671: aio_fsync() EBADF and "open for writing"
<http://austingroupbugs.net/view.php?id=671>
- 0000672: Necessary step(s) to synchronize filename operations on disk
<http://austingroupbugs.net/view.php?id=672>
The second one is the result if a discussion on the mailing-list (see
the "fsync()'ing a directory file descriptor" thread on austin-group-l)