Thread (52 messages) 52 messages, 11 authors, 2019-12-08

Re: [RFC PATCH 11/10] pipe: Add fsync() support [ver #2]

From: Linus Torvalds <torvalds@linux-foundation.org>
Date: 2019-10-24 21:36:48
Also in: keyrings, linux-api, linux-block, linux-fsdevel, linux-usb, lkml

On Thu, Oct 24, 2019 at 12:57 PM David Howells [off-list ref] wrote:
pipe: Add fsync() support

The keyrings testsuite needs the ability to wait for all the outstanding
notifications in the queue to have been processed so that it can then go
through them to find out whether the notifications it expected have been
emitted.
Can't you just do

    ioctl(fd, FIONREAD, &count);

in a loop instead? "No paperwork. Just sprinkle some msleep() crack on
him, and let's get out of here"

               Linus
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help