[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH,HURD] implement syncfs
From: |
Roland McGrath |
Subject: |
Re: [PATCH,HURD] implement syncfs |
Date: |
Mon, 19 Nov 2012 09:24:48 -0800 (PST) |
> > +/* 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.
In that case args should be 1, 0.
- [PATCH,HURD] implement syncfs, Pino Toscano, 2012/11/19
- Re: [PATCH,HURD] implement syncfs, Roland McGrath, 2012/11/19
- Re: [PATCH,HURD] implement syncfs, Christoph Hellwig, 2012/11/19
- Re: [PATCH,HURD] implement syncfs,
Roland McGrath <=
- Re: [PATCH,HURD] implement syncfs, Pino Toscano, 2012/11/19