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:12:32 -0700 |
commit | f888b3f5be4be893323b644dba0668ae3d40228e (patch) | |
tree | 3d5fff0a18759f6eaa3651bbe89f961c21b69ada /booster/src/booster_fstab.c | |
parent | 380cd4e6d296cde9d203ce6c4fa01be189fbf34c (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 'booster/src/booster_fstab.c')
0 files changed, 0 insertions, 0 deletions