diff options
| author | Csaba Henk <csaba@redhat.com> | 2018-05-03 13:35:04 +0200 | 
|---|---|---|
| committer | Amar Tumballi <amarts@redhat.com> | 2018-05-04 17:42:12 +0000 | 
| commit | 1322274eefe6dec09050bfadcecc29fc1e79cd1b (patch) | |
| tree | 9d549c6a6f9015da57df5e732ebb7a5c3ba7f583 /xlators | |
| parent | 2ac79ed8048753dfd2494d3a4d3b0e9411673e3a (diff) | |
mount,fuse: make fuse dumping available as mount option
Updates: bz#1193929
Change-Id: I4dd4d0e607f89650ebb74b893b911b554472826d
Signed-off-by: Csaba Henk <csaba@redhat.com>
Diffstat (limited to 'xlators')
| -rwxr-xr-x | xlators/mount/fuse/utils/mount.glusterfs.in | 7 | 
1 files changed, 7 insertions, 0 deletions
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,"  | 
