diff options
author | Aravinda VK <avishwan@redhat.com> | 2017-07-20 17:08:12 +0530 |
---|---|---|
committer | Shyamsundar Ranganathan <srangana@redhat.com> | 2017-07-28 14:53:20 +0000 |
commit | 1ae254ddcf397b101d291342272e13af25b0b1a1 (patch) | |
tree | a979684704b882f5717ce4e2f6a5c3c3c913ba70 /glusterfs.spec.in | |
parent | b5fa5ae05f73e03023db37e43fb203267b719160 (diff) |
tools/setgfid2path: Tool to set GFID to Path xattr in brick backend
Once storage/gfid2path feature is enabled using `gluster volume set
<volname> storage.gfid2path enable`, it starts recording the gfid2path
xattr on each files. But this feature will not add xattr to the existing
files.
This tool accepts the file path as argument and sets the necessary xattr
required for this feature.
Change-Id: I75ad82c86ce482950645e687ff2e33b413fa53da
Updates: #139
Signed-off-by: Aravinda VK <avishwan@redhat.com>
Reviewed-on: https://review.gluster.org/17839
Smoke: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Niels de Vos <ndevos@redhat.com>
Reviewed-by: Kotresh HR <khiremat@redhat.com>
Tested-by: Kotresh HR <khiremat@redhat.com>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Diffstat (limited to 'glusterfs.spec.in')
-rw-r--r-- | glusterfs.spec.in | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/glusterfs.spec.in b/glusterfs.spec.in index d9730f0821d..f26611bf845 100644 --- a/glusterfs.spec.in +++ b/glusterfs.spec.in @@ -1223,10 +1223,14 @@ exit 0 %{_sbindir}/glusterd %{_sbindir}/glfsheal %{_sbindir}/gf_attach +%{_sbindir}/gluster-setgfid2path # {_sbindir}/glusterfsd is the actual binary, but glusterfs (client) is a # symlink. The binary itself (and symlink) are part of the glusterfs-fuse # package, because glusterfs-server depends on that anyway. +# Manpages +%{_mandir}/man8/gluster-setgfid2path.8* + # xlators %{_libdir}/libposix2common.so %dir %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator @@ -1369,6 +1373,9 @@ exit 0 %endif %changelog +* Thu Jul 20 2017 Aravinda VK <avishwan@redhat.com> +- Added new tool/binary to set the gfid2path xattr on files + * Thu Jul 13 2017 Kaleb S. KEITHLEY <kkeithle@redhat.com> - various directories not owned by any package |