[TriLUG] Why do File IO event seem to be out-of-order in strace?

Aaron Joyner via TriLUG trilug at trilug.org
Tue Sep 8 14:53:21 EDT 2015


Do you call fsync() (or fflush(), etc as appropriate) after the writes?

As Bill suggests, example code would help.

On Tue, Sep 8, 2015 at 2:39 PM, Bill Farrow via TriLUG <trilug at trilug.org>
wrote:

> On Tue, Sep 8, 2015 at 1:58 PM, Scott Lambdin via TriLUG
> <trilug at trilug.org> wrote:
> > The program I wrote had printfs to track the events and they were fine :
>
> I think you have better show use the code that calls fnctl() so more
> eyes can check your parameters and usage.
>
> Bill
> --
> This message was sent to: Aaron S. Joyner <aaron at joyner.ws>
> To unsubscribe, send a blank message to trilug-leave at trilug.org from that
> address.
> TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug
> Unsubscribe or edit options on the web  :
> http://www.trilug.org/mailman/options/trilug/aaron%40joyner.ws
> Welcome to TriLUG: http://trilug.org/welcome
>


More information about the TriLUG mailing list