[Bugs] [Bug 1170643] New: Potential race while checking/updating graph->used
bugzilla at redhat.com
bugzilla at redhat.com
Thu Dec 4 14:12:18 UTC 2014
https://bugzilla.redhat.com/show_bug.cgi?id=1170643
Bug ID: 1170643
Summary: Potential race while checking/updating graph->used
Product: GlusterFS
Version: mainline
Component: fuse
Assignee: ndevos at redhat.com
Reporter: ndevos at redhat.com
CC: bugs at gluster.org, gluster-bugs at redhat.com
Description of problem:
While reviewing http://review.gluster.org/#/c/9060/ we noticed that fuse
checks/modifies graph->used in a unlocked way. There is a potential race in
case when fuse_graph_setup() gets called from two different threads (currently
unlikely, but poller/notify() might change in future?).
In libgfapi we came to the conclusion that each glfs structure can be used to
protect the checking/updating of graph->used. In fuse this would be the
fuse_private_t with sync_mutex.
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=haoJJdXmSm&a=cc_unsubscribe
More information about the Bugs
mailing list