Bug 781318

Summary: introduce gfid based backend and related changes
Product: [Community] GlusterFS Reporter: Anand Avati <aavati>
Component: coreAssignee: Anand Avati <aavati>
Status: CLOSED CURRENTRELEASE QA Contact: M S Vishwanath Bhat <vbhat>
Severity: medium Docs Contact:
Priority: medium    
Version: mainlineCC: amarts, chrisw, gluster-bugs, mzywusko, rfortier
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.4.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-24 17:18:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 817967    

Description Anand Avati 2012-01-13 09:49:46 UTC
Description of problem:

Change in the infrastructure to have GFID based backend storage for

a) stable NFS filehandles
b) anonymous FDs for enhanced NFS performance
c) more correct self-heal of hardlinks and renames
d) rebalance of hardlinks
e) simpler implementation of many performance translators


Version-Release number of selected component (if applicable):

mainline

How reproducible:
n/a

Steps to Reproduce:
n/a
  
Actual results:
n/a

Expected results:
n/a

Additional info:
n/a

Comment 1 Anand Avati 2012-01-20 13:03:47 UTC
CHANGE: http://review.gluster.com/669 (core: GFID filehandle based backend and anonymous FDs) merged in master by Anand Avati (avati)

Comment 2 Anand Avati 2012-01-20 13:06:22 UTC
CHANGE: http://review.gluster.com/2645 (nfs: changes for using nameless lookup and anonymous FDs) merged in master by Anand Avati (avati)

Comment 3 Anand Avati 2012-03-14 18:23:31 UTC
CHANGE: http://review.gluster.com/2830 (remove code that was part of hard resolution which is not needed anymore.) merged in master by Vijay Bellur (vijay)

Comment 4 Amar Tumballi 2012-05-31 17:22:20 UTC
Now, when one creates the files/dirs, gfid backend corresponding to the actual file is created.

[root@supernova s1]# for file in $(find .) ; do echo -n $file " -- "; stat -c %i $file ; done
.  -- 531583
./rand  -- 531837
./rand1  -- 531841
./testfile  -- 530599
./.glusterfs/66/e4/66e4a420-9960-4a32-852f-cf6db0bcadef  -- 530599
./.glusterfs/d3/a2/d3a25e4f-9a03-4b7c-8365-d257ca8b3455  -- 531841
./.glusterfs/0b/50/0b500389-df9d-499d-ab27-9dcd0464cd18  -- 531837
./.glusterfs/00/00/00000000-0000-0000-0000-000000000001  -- 538507


Notice the same inode number for the files. (rand1 and 25e4f-9a03-4b7c-8365-d257ca8b3455)

Comment 5 Vijay Bellur 2012-10-12 01:10:17 UTC
CHANGE: http://review.gluster.org/3997 (storage/posix: remove dependency on loc->path in posix_lookup()) merged in master by Anand Avati (avati)