This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH,HURD] implement syncfs


> +/* Make all changes done to all files on the file system associated
> +   with FD actually appear on disk.  */
> +int
> +syncfs (int fd)
> +{
> +  /* This is not actually synchronous; we don't wait.  */
> +  error_t err = HURD_DPORT_USE (fd, __file_syncfs (port, 0, 0));

Note that syncfs in Linux actually does wait for completion of the writeback,
that's the whole point of the syscall.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]