diff options
author | Shehjar Tikoo <shehjart@gluster.com> | 2009-05-28 04:43:05 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-06-03 00:33:25 -0700 |
commit | 3c1fa49fb56c3a35f82bc25e4553431fe04f5231 (patch) | |
tree | 667db1752df4ab41797d0c49aaa241d579f56525 /xlators/cluster | |
parent | b6434aadbe3e862815f4237fdf4c97284680a134 (diff) |
libglusterfsclient: Increase readdir block size
This improves the potential for pre-fetching a larger
number of dirents. Consider that, with 255 chars as the max
name length for each dirent, in the worst case scenario, where
we actually have files with such large names, we're not getting
more than 4 entries with the current block size of 1024.
Generally also, increasing the size to 4k provides us
with a higher chance that directories with low to medium
number of dirents will be pre-fetched in a single readdir fop.
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
Diffstat (limited to 'xlators/cluster')
0 files changed, 0 insertions, 0 deletions