summaryrefslogtreecommitdiffstats
path: root/xlators/storage/posix/src/posix-aio.h
diff options
context:
space:
mode:
authorAnand Avati <avati@redhat.com>2012-07-11 16:23:44 -0700
committerAnand Avati <avati@redhat.com>2012-07-13 21:10:48 -0700
commitab44480749a289aaaf78dad4123ef16d1872ea1b (patch)
treeede3a3aa3f248f9a3bd62b0ab3bda701cab3225d /xlators/storage/posix/src/posix-aio.h
parentaabe0c96cac4d219015a2fe085a7f89ebb9744d1 (diff)
syncop: accomodate non-syncenv calls
Use mutex/cond and support syncop_XXXXXX() calls in non-syncenv environments. syncenv environments continue to use swapcontext based soft context switches. In non-syncenv environments this blocks the caller thread on the mutex. The intended use case is in libgfapi where it is expected to block the caller thread while performing synchronous calls. Change-Id: Id6470c99bdc2fe4b7610372139f7fa99b2da400b BUG: 839950 Signed-off-by: Anand Avati <avati@redhat.com> Reviewed-on: http://review.gluster.com/3662 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Amar Tumballi <amarts@redhat.com>
Diffstat (limited to 'xlators/storage/posix/src/posix-aio.h')
0 files changed, 0 insertions, 0 deletions