From 45c04e107c365d29ca9872b5e2d12c932bf43a24 Mon Sep 17 00:00:00 2001 From: Anand Avati Date: Mon, 21 Jan 2013 16:37:43 -0800 Subject: open-behind: translator to perform open calls in background This is functionality peeled out of quick-read into a separate translator. Fops which modify the file (where it is required to perform the operation on the true fd) will trigger and wait for the backend open to succeed and use that fd. Fops like fstat() readv() etc. will use anonymous FD (configurable) when original fd is unopened at the backend. Change-Id: Id9847fdbfdc82c1c8e956339156b6572539c1876 BUG: 846240 Signed-off-by: Anand Avati Reviewed-on: http://review.gluster.org/4406 Tested-by: Gluster Build System Reviewed-by: Raghavendra Bhat Reviewed-by: Jeff Darcy --- xlators/performance/open-behind/src/Makefile.am | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 xlators/performance/open-behind/src/Makefile.am (limited to 'xlators/performance/open-behind/src/Makefile.am') diff --git a/xlators/performance/open-behind/src/Makefile.am b/xlators/performance/open-behind/src/Makefile.am new file mode 100644 index 000000000..e7630ceff --- /dev/null +++ b/xlators/performance/open-behind/src/Makefile.am @@ -0,0 +1,15 @@ +xlator_LTLIBRARIES = open-behind.la +xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/performance + +open_behind_la_LDFLAGS = -module -avoidversion + +open_behind_la_SOURCES = open-behind.c +open_behind_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la + +noinst_HEADERS = open-behind-mem-types.h + +AM_CPPFLAGS = $(GF_CPPFLAGS) -I$(top_srcdir)/libglusterfs/src + +AM_CFLAGS = -Wall $(GF_CFLAGS) + +CLEANFILES = -- cgit