summaryrefslogtreecommitdiffstats
path: root/libglusterfsclient/src/libglusterfsclient.c
diff options
context:
space:
mode:
authorRaghavendra G <raghavendra@gluster.com>2009-09-24 00:57:39 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-09-24 01:19:16 -0700
commit13b4437770fadf3089e37bdedd0fe689e79c87f9 (patch)
treef45bd9dbd341bd5502e586e2062dc69c9b59552a /libglusterfsclient/src/libglusterfsclient.c
parenta484a0c47ef6468c1615aa78795880e71347f709 (diff)
performance/write-behind: Add a NULL check for request->stub before checking request->stub->fop.
- for non-write wind requests, the request structure outlives the stub. The call stub is destroyed when stack is wound but request is destroyed only when the reply has come. (for writes, both stub and request are destroyed when refcount becomes 0, which happens only when the write operation is stack unwound and a reply for the write operation has come from underlying translators, for non-write unwind requests the request is first destroyed before resuming the stub). Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 280 (simple stripe, with write-behind set up, when dbench is run client crashes.) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=280
Diffstat (limited to 'libglusterfsclient/src/libglusterfsclient.c')
0 files changed, 0 insertions, 0 deletions