Thread (5 messages) flat view 5 messages, 4 authors, 2011-03-15

Re: [PATCH v3] introduce sys_syncfs to sync a single file system

From: Andrew Morton <akpm@linux-foundation.org>
Date: 2011-03-15 20:18:46
Also in: linux-fsdevel, lkml

On Tue, 15 Mar 2011 09:56:08 -0600
Andreas Dilger [off-list ref] wrote:
Should there be a "wait" argument or flag that allows an app to start the syncfs(), do something, and then call again to wait for completion?
I don't think so.  If userspace wants to do that then fork().
quoted
Perhaps we should consider propagating errors out to the user
application rather than discarding them in kernel and pretending we
can't ever have a write error?
That would be nice, but is probably a pretty complex thing to
implement.  The manpage should include words indicating that syncfs()
can return an errno.  That way, userspace will hopefully have the
appropriate checks, whcih will become more useful if/when the kernel
implementation gets fixed up.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help