diff options
author | Shehjar Tikoo <shehjart@gluster.com> | 2009-07-19 03:26:13 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-07-20 14:29:26 -0700 |
commit | a12f332cff050db3aa3905436158cbd339fa6963 (patch) | |
tree | 8d849b9e05eda0691804fe0c8a6577a80b1187ac /libglusterfs/src/hashfn.h | |
parent | 1a56bed50190e20999d28b7da8418927ecb8b041 (diff) |
libglusterfsclient: Move DHT root-lookup workaround to init
The workaround for the DHT requirement for a lookup on /
needs to be done only once when the xlator graph is inited.
Doing it on every path's lookup results in a major performance
penalty when using distribute subvolumes upwards of 16, as reported
by Avati.
Ref: bug 152
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 152 (libglusterfsclient: DHT workaround is a major performance bottleneck)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=152
Diffstat (limited to 'libglusterfs/src/hashfn.h')
0 files changed, 0 insertions, 0 deletions