diff options
author | Anand Avati <avati@redhat.com> | 2013-11-25 03:08:19 -0800 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2013-11-26 10:31:17 -0800 |
commit | c9579c4501a5d316f71fc44fd46a53060a4eed0c (patch) | |
tree | 67e8be358ba357f9f2e3be1fd49cd3a5a3713ebd /libglusterfs/src/mem-types.h | |
parent | 9da4958b7853f36a137c80493bec932b79d85e84 (diff) |
iobufs: make iobref container size dynamic
With gfapi we can receive read/write size beyond the natural limits
of FUSE and NFS server. iobref was hardcoded to hold iobuf refs up
to 16 in count, which imposes a natural limit of 2MB with 128KB page
sizes of read-ahead and io-cache. Fix this by making iobref's iobuf
ref container size dynamic.
Change-Id: I93d88104d6c5e7af96cc9f1bfcc870d80fa81dad
BUG: 1034398
Signed-off-by: Anand Avati <avati@redhat.com>
Reviewed-on: http://review.gluster.org/6348
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Amar Tumballi <amarts@gmail.com>
Diffstat (limited to 'libglusterfs/src/mem-types.h')
-rw-r--r-- | libglusterfs/src/mem-types.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libglusterfs/src/mem-types.h b/libglusterfs/src/mem-types.h index 9aadbcaec..fc0aa9018 100644 --- a/libglusterfs/src/mem-types.h +++ b/libglusterfs/src/mem-types.h @@ -117,6 +117,7 @@ enum gf_common_mem_types_ { gf_common_mt_locker = 101, gf_common_mt_auxgids = 102, gf_common_mt_syncopctx = 103, - gf_common_mt_end = 104 + gf_common_mt_iobrefs = 104, + gf_common_mt_end = 105 }; #endif |