Loading src/client/hooks.cpp +10 −0 Original line number Diff line number Diff line Loading @@ -711,7 +711,12 @@ hook_lchown(const char* path, uid_t owner, gid_t group) { __func__); return 0; } #ifdef SYS_lchown return syscall_no_intercept_wrapper(SYS_lchown, path, owner, group); #else return syscall_no_intercept_wrapper(SYS_fchownat, AT_FDCWD, path, owner, group, AT_SYMLINK_NOFOLLOW); #endif } int Loading @@ -725,7 +730,12 @@ hook_chown(const char* path, uid_t owner, gid_t group) { __func__); return 0; } #ifdef SYS_chown return syscall_no_intercept_wrapper(SYS_chown, path, owner, group); #else return syscall_no_intercept_wrapper(SYS_fchownat, AT_FDCWD, path, owner, group, 0); #endif } int Loading src/daemon/daemon.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -237,7 +237,8 @@ void init_rpc_server() { // Thallium Init auto margo_config = fmt::format( R"({{ "use_progress_thread" : true, "rpc_thread_count" : {} }})", R"({{ "mercury": {{ "request_post_init": 2048 }}, "use_progress_thread" : true, "rpc_thread_count" : {} }})", gkfs::config::rpc::daemon_handler_xstreams); // We treat margo_config as the initialization string for Thallium engine Loading Loading
src/client/hooks.cpp +10 −0 Original line number Diff line number Diff line Loading @@ -711,7 +711,12 @@ hook_lchown(const char* path, uid_t owner, gid_t group) { __func__); return 0; } #ifdef SYS_lchown return syscall_no_intercept_wrapper(SYS_lchown, path, owner, group); #else return syscall_no_intercept_wrapper(SYS_fchownat, AT_FDCWD, path, owner, group, AT_SYMLINK_NOFOLLOW); #endif } int Loading @@ -725,7 +730,12 @@ hook_chown(const char* path, uid_t owner, gid_t group) { __func__); return 0; } #ifdef SYS_chown return syscall_no_intercept_wrapper(SYS_chown, path, owner, group); #else return syscall_no_intercept_wrapper(SYS_fchownat, AT_FDCWD, path, owner, group, 0); #endif } int Loading
src/daemon/daemon.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -237,7 +237,8 @@ void init_rpc_server() { // Thallium Init auto margo_config = fmt::format( R"({{ "use_progress_thread" : true, "rpc_thread_count" : {} }})", R"({{ "mercury": {{ "request_post_init": 2048 }}, "use_progress_thread" : true, "rpc_thread_count" : {} }})", gkfs::config::rpc::daemon_handler_xstreams); // We treat margo_config as the initialization string for Thallium engine Loading