summaryrefslogtreecommitdiffstats
path: root/xlators/protocol/client/src/client-protocol.c
diff options
context:
space:
mode:
authorRaghavendra G <raghavendra@gluster.com>2009-09-11 07:54:22 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-09-17 01:28:29 -0700
commit953d7146f117f19ff6c92fafaffdc79e4a14d76e (patch)
tree0cf126cb155286ff4c5c9f7892e13d7ffb3d4609 /xlators/protocol/client/src/client-protocol.c
parent8ad41d36bfc683424133407ff26559654c7ba316 (diff)
performance/quick-read: access glusterfs_ctx from xlator instead of using glusterfs_get_ctx
- since glusterfs_get_ctx gets the global context pointer, there can be problems in a multithreaded application running on libglusterfsclient doing multiple glusterfs_inits. Hence use context specific to the current xlator tree stored in each xlator object. Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 240 (segmentation fault in qr_readv) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=240
Diffstat (limited to 'xlators/protocol/client/src/client-protocol.c')
0 files changed, 0 insertions, 0 deletions