summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnand V. Avati <avati@amp.gluster.com>2009-04-10 23:11:33 +0530
committerAnand V. Avati <avati@amp.gluster.com>2009-04-12 11:33:46 +0530
commite953968683d988c8fc3020ede2cb8e5229a548a6 (patch)
treeccb78100a2103adeaba8a5bcf9c59cd74a97c786
parent124fb0c752530322e6311dde668422afef6b2afe (diff)
use 128Kbyte as the channel transfer size in fuse-bridge
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
-rw-r--r--xlators/mount/fuse/src/fuse-bridge.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/xlators/mount/fuse/src/fuse-bridge.c b/xlators/mount/fuse/src/fuse-bridge.c
index 46cfb05ed10..9f2cef21b90 100644
--- a/xlators/mount/fuse/src/fuse-bridge.c
+++ b/xlators/mount/fuse/src/fuse-bridge.c
@@ -57,7 +57,7 @@
#define ZR_DIRECT_IO_OPT "direct-io-mode"
#define ZR_STRICT_VOLFILE_CHECK "strict-volfile-check"
-#define BIG_FUSE_CHANNEL_SIZE 1048576
+#define BIG_FUSE_CHANNEL_SIZE 131072
struct fuse_private {
int fd;
@@ -2742,9 +2742,9 @@ init (xlator_t *this_xl)
"-o", "XXX",
"-o", "subtype=glusterfs",
"-o", "nonempty",
- "-o", "max_readahead=1048576",
- "-o", "max_read=1048576",
- "-o", "max_write=1048576",
+ "-o", "max_readahead=131072",
+ "-o", "max_read=131072",
+ "-o", "max_write=131072",
"-o", "allow_other",
"-o", "default_permissions",
"-o", "dev",
@@ -2756,9 +2756,9 @@ init (xlator_t *this_xl)
char *fuse_argv[] = {"glusterfs",
"-o", "XXX",
"-o", "subtype=glusterfs",
- "-o", "max_readahead=1048576",
- "-o", "max_read=1048576",
- "-o", "max_write=1048576",
+ "-o", "max_readahead=131072",
+ "-o", "max_read=131072",
+ "-o", "max_write=131072",
"-o", "allow_other",
"-o", "default_permissions",
"-o", "suid",