From 06607a4de8c4414bb102d61b9cf6307d8da020bb Mon Sep 17 00:00:00 2001 From: Raghavendra G Date: Mon, 30 Aug 2010 08:04:07 +0000 Subject: 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 Signed-off-by: Vijay Bellur BUG: 513 (Introduce 0 copy rdma) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=513 --- xlators/storage/posix/src/posix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators/storage') diff --git a/xlators/storage/posix/src/posix.c b/xlators/storage/posix/src/posix.c index c75429b0eb5..6788606f341 100644 --- a/xlators/storage/posix/src/posix.c +++ b/xlators/storage/posix/src/posix.c @@ -112,7 +112,7 @@ _posix_xattr_get_set (dict_t *xattr_req, /* should size be put into the data_t ? */ - if (!strcmp (key, "glusterfs.content") + if (!strcmp (key, GF_CONTENT_KEY) && IA_ISREG (filler->stbuf->ia_type)) { /* file content request */ -- cgit