> > Do an msync with MS_SYNC someplace. Also, use MAP_NOSYNC in > > mmap until 4.3 when Matt Dillon plans to make that the default behavior. > > Ahh, no. That's the other way around - I do not *want* it to hit the > disk, but would like to *know* when it nevertheless does. OK, doing a stat and checking the mtime should give you the info at the expense of polling, I can't think of another way. Peter -- Peter Dufault ([EMAIL PROTECTED]) Realtime development, Machine control, HD Associates, Inc. Fail-Safe systems, Agency approval To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
- how to actually find out whether data hit the disk? Anton Berezin
- Re: how to actually find out whether data hit the... Peter Dufault
- Re: how to actually find out whether data hit... Anton Berezin
- Re: how to actually find out whether data... Peter Dufault
- Re: how to actually find out whether ... Dag-Erling Smorgrav
- Re: how to actually find out whe... Anton Berezin
- Re: how to actually find out... Dag-Erling Smorgrav
- Re: how to actually find out... Wes Peters
- Re: how to actually find out whe... Peter Dufault
- Re: how to actually find out... Dag-Erling Smorgrav
- Re: how to actually find out whether data hit... Anton Berezin
- Re: how to actually find out whether data hit... Matt Dillon