diff options
author | Raghavendra G <raghavendra@gluster.com> | 2010-08-30 08:04:07 +0000 |
---|---|---|
committer | Vijay Bellur <vijay@dev.gluster.com> | 2010-08-30 06:54:17 -0700 |
commit | 06607a4de8c4414bb102d61b9cf6307d8da020bb (patch) | |
tree | a9fc304f78f067c5d9777218e845e57525cec702 /libglusterfs | |
parent | 300b4fefcbb5a5ced4f0554e109679e44cdf44ea (diff) |
changes to client to make use of the rdma functionality.
- preallocate buffers in client and pass them to transport layer whenever a
large response is expected.
Signed-off-by: Raghavendra G <raghavendra@gluster.com>
Signed-off-by: Vijay Bellur <vijay@dev.gluster.com>
BUG: 513 (Introduce 0 copy rdma)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=513
Diffstat (limited to 'libglusterfs')
-rw-r--r-- | libglusterfs/src/glusterfs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libglusterfs/src/glusterfs.h b/libglusterfs/src/glusterfs.h index 4b157430b22..1d0369c4d61 100644 --- a/libglusterfs/src/glusterfs.h +++ b/libglusterfs/src/glusterfs.h @@ -195,6 +195,9 @@ typedef enum { #define GF_REPLICATE_TRASH_DIR ".landfill" +/* key value which quick read uses to get small files in lookup cbk */ +#define GF_CONTENT_KEY "glusterfs.content" + struct _xlator_cmdline_option { struct list_head cmd_args; char *volume; |