Description of problem: xlators/mount/fuse/src/fuse-bridge.c:5668: ret = dict_get_str(options, "sync-to-mount", &value_string); glusterfsd/src/glusterfsd.c:566: ret = dict_set_static_ptr(options, "sync-to-mount", "enable"); Also in fuse: [2018-10-08 11:04:14.265916] I [dict.c:2410:dict_get_str] (-->/build/install/lib/glusterfs/6dev/xlator/mount/fuse.so(init+0x5c0) [0x7fe60b05fbd9] -->/build/install/lib/libglusterfs.so.0(xlator_option_init_double+0xf2) [0x7fe613cf5e01] -->/build/install/lib/libglusterfs.so.0(dict_get_str+0x176) [0x7fe613c7c2e9] ) 0-dict: key negative-timeout, string type asked, has float type [Invalid argument] [2018-10-08 11:04:14.266033] I [dict.c:2410:dict_get_str] (-->/build/install/lib/libglusterfs.so.0(+0x28b31) [0x7fe613c81b31] -->/build/install/lib/glusterfs/6dev/xlator/mount/fuse.so(init+0xa0d) [0x7fe60b060026] -->/build/install/lib/libglusterfs.so.0(dict_get_str+0x176) [0x7fe613c7c2e9] ) 0-dict: key sync-to-mount, string type asked, has pointer type [Invalid argument] [2018-10-08 11:04:14.266141] I [dict.c:2410:dict_get_str] (-->/build/install/lib/glusterfs/6dev/xlator/mount/fuse.so(init+0xd10) [0x7fe60b060329] -->/build/install/lib/libglusterfs.so.0(xlator_option_init_bool+0xf2) [0x7fe613cf549c] -->/build/install/lib/libglusterfs.so.0(dict_get_str+0x176) [0x7fe613c7c2e9] ) 0-dict: key no-root-squash, string type asked, has pointer type [Invalid argument] Need to sync between the two (and probably end up using a boolean!)
Still relevant as of Gluster 7: [ykaul@ykaul glusterfs]$ grep -FRIsn "sync-to-mount" glusterfsd/src/glusterfsd.c:588: ret = dict_set_static_ptr(options, "sync-to-mount", "enable"); xlators/mount/fuse/src/fuse-bridge.c:6634: ret = dict_get_str(options, "sync-to-mount", &value_string); xlators/mount/fuse/src/fuse-bridge.c:6914: {.key = {"sync-to-mount"}, .type = GF_OPTION_TYPE_BOOL},
This bug is moved to https://github.com/gluster/glusterfs/issues/985, and will be tracked there from now on. Visit GitHub issues URL for further details