Bug 762103 (GLUSTER-371) - rm -rf fails on stat-prefetch.
Summary: rm -rf fails on stat-prefetch.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-371
Product: GlusterFS
Classification: Community
Component: stat-prefetch
Version: mainline
Hardware: All
OS: Linux
low
high
Target Milestone: ---
Assignee: Raghavendra G
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: GLUSTER-386
TreeView+ depends on / blocked
 
Reported: 2009-11-11 09:33 UTC by Vinayak Hegde
Modified: 2009-11-19 22:39 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

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.)


Note You need to log in before you can comment on or make changes to this bug.