summaryrefslogtreecommitdiffstats
path: root/xlators/performance/io-cache
diff options
context:
space:
mode:
authorRaghavendra G <raghavendra@gluster.com>2011-07-15 01:54:31 +0000
committerAnand Avati <avati@gluster.com>2011-07-29 01:30:07 -0700
commitdbc567ec9f97a540e6cab8006ba285ab62fc372c (patch)
treef5ea50e63e1aeb17c7cc61c68a27ea322ee1f430 /xlators/performance/io-cache
parentcfec0be455f388f4106e3df55b00c691631c40ea (diff)
performance/quick-read: Handle unwinding of frame corresponding to read fop properly, while validating cache.
- there was a possibility of double unwind in case of errors. - use a new frame to do open in fd-based fops. In case of errors, qr_resume_pending_ops will be called to resume all the fops waiting on open. Hence if we use frame corresponding to fop (without creating a new one), there is a possibility of frame being freed by the time open would've returned to quick-read. Change-Id: Ie4cc19907f9d6362860bdb984779c8f4cf822332 BUG: 3168 Signed-off-by: Raghavendra G <raghavendra@gluster.com> Reviewed-on: http://review.gluster.com/34 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@gluster.com>
Diffstat (limited to 'xlators/performance/io-cache')
0 files changed, 0 insertions, 0 deletions