diff options
author | Prashanth Pai <ppai@redhat.com> | 2018-04-16 11:55:02 +0530 |
---|---|---|
committer | Atin Mukherjee <amukherj@redhat.com> | 2018-04-18 08:27:40 +0000 |
commit | 9a1ae47c8d60836ae0628a04a153f28c1085c0e8 (patch) | |
tree | bc1ad9129605eae792234024153990ec391a8784 /libglusterfs | |
parent | 7b0781a45bba826a790aa4d5a125693ac2be28ab (diff) |
Add CLI option to print XLATORDIR
glusterfs gets the path to xlator dir from a compile time flag named
XLATORDIR which gets passed through a -D flag to GCC. This path is
used to find and load xlator shared objects.
The XLATORDIR path isn't easily accessible to glusterd2. Glusterd2
currently uses the following command (hack) to get value of XLATORDIR:
$ strings -d `which glusterfsd` | awk '/glusterfs/*/xlator$/'
This change introduces "print-xlatordir" CLI option to expose
XLATORDIR. The option is intentionally not documented.
Updates: bz#1193929
Change-Id: Ic7247457600f11cd8d68eb3d0ad2526fdfda0b02
Signed-off-by: Prashanth Pai <ppai@redhat.com>
Diffstat (limited to 'libglusterfs')
0 files changed, 0 insertions, 0 deletions