Bug 762103 (GLUSTER-371)

Summary: rm -rf fails on stat-prefetch.
Product: [Community] GlusterFS Reporter: Vinayak Hegde <vinayak>
Component: stat-prefetchAssignee: Raghavendra G <raghavendra>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: low    
Version: mainlineCC: vijay
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 762118    

Description Vinayak Hegde 2009-11-11 09:33:04 UTC
When stat-prefetch is loaded with any cluster translator,
rm -rf fails.

Comment 1 Anand Avati 2009-11-19 06:15:39 UTC
PATCH: http://patches.gluster.com/patch/2265 in master (cluster/distribute: copy the stat structure while copying dentries in readdirp_cbk.)

Comment 2 Anand Avati 2009-11-19 06:15:42 UTC
PATCH: http://patches.gluster.com/patch/2266 in master (performance/stat-prefetch: don't use pre-allocated dirent structure in sp_get_cache_entry.)

Comment 3 Anand Avati 2009-11-19 06:15:45 UTC
PATCH: http://patches.gluster.com/patch/2267 in master (performance/stat-prefetch: don't cache dentries corresponding to directory.)

Comment 4 Anand Avati 2009-11-19 07:25:55 UTC
PATCH: http://patches.gluster.com/patch/2268 in release-2.0 (cluster/distribute: copy the stat structure while copying dentries in readdir_cbk.)

Comment 5 Anand Avati 2009-11-19 07:25:58 UTC
PATCH: http://patches.gluster.com/patch/2269 in release-2.0 (performance/stat-prefetch: don't use pre-allocated dirent structure in sp_get_cache_entry.)

Comment 6 Anand Avati 2009-11-19 07:26:01 UTC
PATCH: http://patches.gluster.com/patch/2270 in release-2.0 (performance/stat-prefetch: don't cache dentries corresponding to directory.)