Is it possible to submit several offsets of a file to be synced
rather than calling fsync or mmap'ing over the file and calling
msync()?

The only way I can think of doing this is queuing write requests
backed by a O_FSYNC fd to an aiod.

Even then the desired result isn't really achived as instead of
all the buffers being simultaniously queued for immediate IO
the aiod will stall on each buffer.

Is there a better way to submit multiple buffers for immediate
sync without syncing the entire file?

It seems that msync with MS_ASYNC would work (a bit kludgy), but
it's not implemented according to the manpage.

thanks,
-- 
-Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTED]]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to