Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 1694455

Summary: file level snapshots using reflink in a posix only volume
Product: [Community] GlusterFS Reporter: Raghavendra Bhat <rabhat>
Component: posixAssignee: bugs <bugs>
Status: POST --- QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Raghavendra Bhat 2019-03-31 15:19:39 UTC
Description of problem:

Ability to take file level snapshots for a single brick volume.
Using setxattr interface, provide a mechanism to take snapshots of file(s).
The same setxattr interface can be used to delete the snapshots as well.

Ex: setfattr -n glusterfs.snapshot -v <snapshot name> <file path>
    setfattr -n glusterfs.removesnap -v <snapshot name> <file path> 

The snapshots can be viewed from <mount point>/.fsnaps/<gfid of the file>

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

How reproducible:

Steps to Reproduce:

Actual results:

Expected results:

Additional info:

Comment 1 Worker Ant 2019-03-31 20:36:40 UTC
REVIEW: ([WIP]: file snapshots using reflink) posted (#1) for review on master by Raghavendra Bhat