Bug 781318 - introduce gfid based backend and related changes
Summary: introduce gfid based backend and related changes
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: core
Version: mainline
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Anand Avati
QA Contact: M S Vishwanath Bhat
URL:
Whiteboard:
Depends On:
Blocks: 817967
TreeView+ depends on / blocked
 
Reported: 2012-01-13 09:49 UTC by Anand Avati
Modified: 2016-06-01 01:55 UTC (History)
5 users (show)

Fixed In Version: glusterfs-3.4.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-24 17:18:10 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

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)


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