Bug 949916

Summary: [Feature] GFID based auxillary mount point support
Product: [Community] GlusterFS Reporter: Raghavendra G <rgowdapp>
Component: fuseAssignee: Csaba Henk <csaba>
Status: CLOSED DUPLICATE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: gluster-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-05-03 03:19:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Raghavendra G 2013-04-09 09:36:37 UTC
Description of problem:

 What?
    =====
    
    * files can be accessed directly through their gfid and not just
      through their paths. For eg., if the gfid of a file is
      f3142503-c75e-45b1-b92a-463cf4c01f99, that file can be accessed
      using <gluster-mount>/.gfid-path/f3142503-c75e-45b1-b92a-463cf4c01f99
    
      .gfid-path is a virtual directory used to seperate out the namespace
      for accessing files through gfid. This way, we do not conflict with
      filenames which can be qualified as uuids.
    
    * A new file/directory/symlink can be created with a pre-specified
      gfid.
    
      gfids can be specified through process environment variables
      GLUSTERFS_GFID or GLUSTERFS_GFID_<thread-id>. The latter syntax
      helps to concurrently create files from a multithreaded application.
    
      For eg.,
      bash# GLUSTERFS_GFID=<gfid-of-new-file>
            touch /mnt/glusterfs/.gfid-path/<par-gfid>/testfile
    
      will create 'testfile' under par-gfid path, with <gfid-of-new-file>.
    
    Why?
    ====
       
    * An initial consumer of this feature would be geo-replication to
      create files on slave mount with same gfids as that on master.
      It will also help gsyncd to access files directly through their
      gfids. gsyncd in its newer version will be consuming a changelog
      (of master) containing operations on gfids and sync corresponding
      files to slave.
 

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


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Raghavendra G 2013-05-03 03:19:20 UTC

*** This bug has been marked as a duplicate of bug 949914 ***