diff options
author | Raghavendra G <raghavendra@gluster.com> | 2009-11-18 00:46:51 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-11-19 02:25:55 -0800 |
commit | 1f17e87d6ed3a5cbe3f000c923a6280f5713fc0d (patch) | |
tree | e9f145e3f72fbca6c03bc5f126e8f3023e941839 /contrib/rbtree | |
parent | 489bba93525f85725e85bdeb94e02ebd7be69772 (diff) |
performance/stat-prefetch: don't use pre-allocated dirent structure in sp_get_cache_entry.
- since we don't know the size of dentry before calling sp_get_cache_entry,
we must dynamically allocate the dentry in sp_cache_get_entry and copy the
contents from cache.
Signed-off-by: Raghavendra G <raghavendra@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 371 (rm -rf fails on stat-prefetch.)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=371
Diffstat (limited to 'contrib/rbtree')
0 files changed, 0 insertions, 0 deletions