From 4f0939bcc0ce3ea536ae705684769c714aa04a72 Mon Sep 17 00:00:00 2001 From: Aravinda VK Date: Thu, 20 Jul 2017 17:08:12 +0530 Subject: tools/setgfid2path: Tool to set GFID to Path xattr in brick backend Once storage/gfid2path feature is enabled using `gluster volume set 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. > Reviewed-on: https://review.gluster.org/17839 > Smoke: Gluster Build System > Reviewed-by: Niels de Vos > Reviewed-by: Kotresh HR > Tested-by: Kotresh HR > CentOS-regression: Gluster Build System > (cherry picked from commit 1ae254ddcf397b101d291342272e13af25b0b1a1) Change-Id: I75ad82c86ce482950645e687ff2e33b413fa53da Updates: #139 Signed-off-by: Aravinda VK Reviewed-on: https://review.gluster.org/17914 CentOS-regression: Gluster Build System Reviewed-by: Kotresh HR Smoke: Gluster Build System --- glusterfs.spec.in | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'glusterfs.spec.in') 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 +- Added new tool/binary to set the gfid2path xattr on files + * Thu Jul 13 2017 Kaleb S. KEITHLEY - various directories not owned by any package -- cgit