[Bugs] [Bug 1624244] DHT: Rework the virtual xattr to get the hash subvol
bugzilla at redhat.com
bugzilla at redhat.com
Fri Sep 7 08:57:00 UTC 2018
https://bugzilla.redhat.com/show_bug.cgi?id=1624244
Worker Ant <bugzilla-bot at gluster.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|POST |MODIFIED
--- Comment #2 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/21052 committed in master by "N
Balachandran" <nbalacha at redhat.com> with a commit message- cluster/dht: Rework
the debug xattr to get hashed subvol
The earlier implementation required the file to already exist
when trying to get the hashed subvol. The reworked implementation
allows a user to get the hashed subvol for any filename, whether
it exists or not.
Usage: getfattr -n "dht.file.hashed-subvol.<filename>" <parent dir>
Eg:To get the hashed subvol for file-1 inside dir-1
getfattr -n "dht.file.hashed-subvol.file-1" /mnt/gluster/dir1
credit: rgowdapp at redhat.com
Change-Id: Iae20bd5f56d387ef48c1c0a4ffa9f692866bf739
fixes: bz#1624244
Signed-off-by: N Balachandran <nbalacha at redhat.com>
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=17EjrKIHCV&a=cc_unsubscribe
More information about the Bugs
mailing list