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
CHANGE: http://review.gluster.com/669 (core: GFID filehandle based backend and anonymous FDs) merged in master by Anand Avati (avati)
CHANGE: http://review.gluster.com/2645 (nfs: changes for using nameless lookup and anonymous FDs) merged in master by Anand Avati (avati)
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)
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)
CHANGE: http://review.gluster.org/3997 (storage/posix: remove dependency on loc->path in posix_lookup()) merged in master by Anand Avati (avati)