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

From
David Howells <dhowells@redhat.com>
Date
2019-10-31 15:16:08
Also in
keyrings, linux-api, linux-block, linux-fsdevel, linux-usb, lkml
Reply to
Konstantin Khlebnikov, 2019-10-27
Konstantin Khlebnikov [off-list ref] wrote:
Similar synchronization is required for reusing memory after vmsplice()?
I don't see other way how sender could safely change these pages.
Sounds like a point - if you have multiple parallel contributors to the pipe
via vmsplice(), then FIONREAD is of no use.  To use use FIONREAD, you have to
let the pipe become empty before you can be sure.

David
Thread (52 messages) 52 messages, 11 authors, last reply 2019-12-08
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help