Bug 761988 (GLUSTER-256) - revalidates should be sent on '/' in libglusterfsclient.
Summary: revalidates should be sent on '/' in libglusterfsclient.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-256
Product: GlusterFS
Classification: Community
Component: libglusterfsclient
Version: mainline
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Shehjar Tikoo
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-09-10 11:05 UTC by Raghavendra G
Modified: 2009-11-12 06:19 UTC (History)
2 users (show)

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


Attachments (Terms of Use)

Description Raghavendra G 2009-09-10 11:05:05 UTC
As of now, revalidates on '/' are never sent.

Comment 1 Shehjar Tikoo 2009-09-21 08:07:53 UTC
For the record, this bug is also a  problem when working with distribute in that if a distribute child is not up at the time of initing libglusterfsclient, then the layout would not have been constructed completely for the root directory. Since we never send revalidates in libglusterfsclient for root, the root layout, which failed to get constructed during init phase, never gets constructed as the lookup onn the root is never sent.

This is one reason why we face the problem on holes and anomalies in distribute when a distribute child was not up during glusterfs_init. Although, the fix to this will not be the complete solution to the problem of "first access after libglusterfsclietn init", it will reduce the window within which that problem can occur.

Comment 2 Anand Avati 2009-09-24 05:18:49 UTC
PATCH: http://patches.gluster.com/patch/1482 in master (libglusterfsclient: Re-validate root inode on every path resolution)

Comment 3 Anand Avati 2009-09-24 05:19:22 UTC
PATCH: http://patches.gluster.com/patch/1481 in release-2.0 (libglusterfsclient: Re-validate root inode on every path resolution)


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