diff options
| author | Shehjar Tikoo <shehjart@gluster.com> | 2009-05-24 23:05:18 +0000 |
|---|---|---|
| committer | Anand V. Avati <avati@dev.gluster.com> | 2009-06-02 23:34:10 -0700 |
| commit | 66ba0e8e885f21adf0259ac61629efb8df747d37 (patch) | |
| tree | ae3cccd69f8c272eb77498b91984fb029aa81299 /libglusterfsclient/src | |
| parent | eac0ca0e1f1d536c812ee7bdfeedc3833964491a (diff) | |
booster: Eliminate gluster context creation race
When multiple threads try to create a glusterfs context using the
glusterfs_init function, those threads end up using the global
vairables in the vol file parser in an non-synchronized manner,
resulting in a seg-fault.
There is now a big lock around searches and additions from the mount
table in do_open. This lock granularity could be reduced.
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
Diffstat (limited to 'libglusterfsclient/src')
0 files changed, 0 insertions, 0 deletions
