From 1322274eefe6dec09050bfadcecc29fc1e79cd1b Mon Sep 17 00:00:00 2001 From: Csaba Henk Date: Thu, 3 May 2018 13:35:04 +0200 Subject: mount,fuse: make fuse dumping available as mount option Updates: bz#1193929 Change-Id: I4dd4d0e607f89650ebb74b893b911b554472826d Signed-off-by: Csaba Henk --- xlators/mount/fuse/utils/mount.glusterfs.in | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'xlators') diff --git a/xlators/mount/fuse/utils/mount.glusterfs.in b/xlators/mount/fuse/utils/mount.glusterfs.in index 9d9069aa1f7..e8bcb337419 100755 --- a/xlators/mount/fuse/utils/mount.glusterfs.in +++ b/xlators/mount/fuse/utils/mount.glusterfs.in @@ -277,6 +277,10 @@ start_glusterfs () cmd_line=$(echo "$cmd_line --attr-times-granularity=$attr_times_granularity"); fi + if [ -n "$dump_fuse" ]; then + cmd_line=$(echo "$cmd_line --dump-fuse=$dump_fuse"); + fi + if [ -n "$process_name" ]; then cmd_line=$(echo "$cmd_line --process-name fuse.$process_name"); else @@ -534,6 +538,9 @@ with_options() "attr-times-granularity") attr_times_granularity=$value ;; + "dump-fuse") + dump_fuse=$value + ;; "context"|"fscontext"|"defcontext"|"rootcontext") # standard SElinux mount options to pass to the kernel [ -z "$fuse_mountopts" ] || fuse_mountopts="$fuse_mountopts," -- cgit