Add an optimization to pthread aio writes to also do fsync if requested.
authorJeremy Allison <jra@samba.org>
Thu, 12 Jul 2012 17:57:47 +0000 (10:57 -0700)
committerJeremy Allison <jra@samba.org>
Thu, 12 Jul 2012 20:46:07 +0000 (22:46 +0200)
commitcb405947caa9f4bdb962483860a9093a364ecbf2
tree81c87068f7576a457650e07ff37a5fd537d31c20
parent622eb59eb472bbdb9fd985c4d8880d3a1c098cd7
Add an optimization to pthread aio writes to also do fsync if requested.

Should help by ensuring complete writes done in sub-thread, not in
the main thread.
source3/modules/vfs_aio_pthread.c
source3/smbd/aio.c
source3/smbd/proto.h