Bug 949917 - [Feature] GFID based auxillary mount point support
Summary: [Feature] GFID based auxillary mount point support
Keywords:
Status: CLOSED DUPLICATE of bug 949914
Alias: None
Product: GlusterFS
Classification: Community
Component: fuse
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Csaba Henk
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-04-09 09:39 UTC by Raghavendra G
Modified: 2013-05-03 03:19 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-05-03 03:19:51 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Raghavendra G 2013-04-09 09:39:15 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:51 UTC

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


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