[Pvfs2-cvs] commit by pcarns in pvfs2-1/include: pvfs2-hint.h
pvfs2-types.h
CVS commit program
cvs at parl.clemson.edu
Tue Jun 24 11:01:23 EDT 2008
Update of /projects/cvsroot/pvfs2-1/include
In directory parlweb1:/tmp/cvs-serv6835/include
Modified Files:
Tag: small-file-branch
pvfs2-types.h
Added Files:
Tag: small-file-branch
pvfs2-hint.h
Log Message:
reverse merge latest trunk changes to small-file-branch and update msgpair
usage where needed
--- /dev/null 2004-06-24 14:04:38.000000000 -0400
+++ pvfs2-hint.h 2008-06-24 11:01:23.000000000 -0400
@@ -0,0 +1,48 @@
+/*
+ * (C) 2001 Clemson University and The University of Chicago
+ *
+ * See COPYING in top-level directory.
+ */
+
+#ifndef __PVFS2_HINT_H
+#define __PVFS2_HINT_H
+
+#include "pvfs2-types.h"
+
+#define PINT_HINT_TRANSFER 0x01
+
+#define PVFS_HINT_REQUEST_ID_NAME "pvfs.hint.request_id"
+#define PVFS_HINT_CLIENT_ID_NAME "pvfs.hint.client_id"
+#define PVFS_HINT_HANDLE_NAME "pvfs.hint.handle"
+#define PVFS_HINT_OP_ID_NAME "pvfs.hint.op_id"
+
+typedef struct PVFS_hint_s *PVFS_hint;
+
+#define PVFS_HINT_NULL NULL
+
+int PVFS_hint_add(
+ PVFS_hint *hint,
+ const char *type,
+ int length,
+ void *value);
+
+int PVFS_hint_copy(PVFS_hint old_hint, PVFS_hint *new_hint);
+
+void PVFS_hint_free(PVFS_hint hint);
+
+/*
+ * function allows users to specify hints in an environment variable.
+ */
+int PVFS_hint_import_env(PVFS_hint *out_hint);
+
+#endif /* __PVFS2_HINT_H */
+
+/*
+ * Local variables:
+ * mode: c
+ * c-indent-level: 4
+ * c-basic-offset: 4
+ * End:
+ *
+ * vim: ft=c ts=8 sts=4 sw=4 expandtab
+ */
Index: pvfs2-types.h
===================================================================
RCS file: /projects/cvsroot/pvfs2-1/include/pvfs2-types.h,v
diff -p -u -r1.147.2.10 -r1.147.2.11
--- pvfs2-types.h 2 Jun 2008 19:52:40 -0000 1.147.2.10
+++ pvfs2-types.h 24 Jun 2008 15:01:22 -0000 1.147.2.11
@@ -476,6 +476,7 @@ enum PVFS_server_param
PVFS_SERV_PARAM_EVENT_MASKS = 6, /* API masks for event logging */
PVFS_SERV_PARAM_SYNC_META = 7, /* metadata sync flags */
PVFS_SERV_PARAM_SYNC_DATA = 8, /* file data sync flags */
+ PVFS_SERV_PARAM_DROP_CACHES = 9, /* ask server's OS to drop disk caches */
};
enum PVFS_server_mode
More information about the Pvfs2-cvs
mailing list