{"action":"created","comment":{"url":"https://api.github.com/repos/openucx/ucx/pulls/comments/69696564","id":69696564,"diff_hunk":"@@ -306,7 +306,19 @@ ucs_status_t ucp_get_nbi(ucp_ep_h ep, void *buffer, size_t length,\n \n ucs_status_t ucp_worker_fence(ucp_worker_h worker)\n {\n-    return UCS_ERR_UNSUPPORTED;\n+    unsigned rsc_index;\n+\n+    for (rsc_index = 0; rsc_index < worker->context->num_tls; ++rsc_index) {\n+        if (worker->ifaces[rsc_index] == NULL) {\n+            continue;\n+        }\n+\n+        while (uct_iface_fence(worker->ifaces[rsc_index], 0) != UCS_OK) {","path":"src/ucp/rma/basic_rma.c","position":null,"original_position":12,"commit_id":"325d4b7ef2ef28bebda34a0b991e6569237d880c","original_commit_id":"b0dbf4f0e6822e799ebdbd5f701489cf5233089c","user":{"login":"yosefe","id":2255631,"avatar_url":"https://avatars.githubusercontent.com/u/2255631?v=3","gravatar_id":"","url":"https://api.github.com/users/yosefe","html_url":"https://github.com/yosefe","followers_url":"https://api.github.com/users/yosefe/followers","following_url":"https://api.github.com/users/yosefe/following{/other_user}","gists_url":"https://api.github.com/users/yosefe/gists{/gist_id}","starred_url":"https://api.github.com/users/yosefe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yosefe/subscriptions","organizations_url":"https://api.github.com/users/yosefe/orgs","repos_url":"https://api.github.com/users/yosefe/repos","events_url":"https://api.github.com/users/yosefe/events{/privacy}","received_events_url":"https://api.github.com/users/yosefe/received_events","type":"User","site_admin":false},"body":"@xinzhao3 flush test in part of RMA UCp tests. we can add a separate fence test based on ucp atomics, like it you did for UCT. Also, note that currently none of the transports would actually return NO_RESOURCE, so the pending queue flow will not be tested.","created_at":"2016-07-06T09:03:11Z","updated_at":"2016-07-06T09:03:11Z","html_url":"https://github.com/openucx/ucx/pull/872#discussion_r69696564","pull_request_url":"https://api.github.com/repos/openucx/ucx/pulls/872","_links":{"self":{"href":"https://api.github.com/repos/openucx/ucx/pulls/comments/69696564"},"html":{"href":"https://github.com/openucx/ucx/pull/872#discussion_r69696564"},"pull_request":{"href":"https://api.github.com/repos/openucx/ucx/pulls/872"}}},"pull_request":{"url":"https://api.github.com/repos/openucx/ucx/pulls/872","id":76211108,"html_url":"https://github.com/openucx/ucx/pull/872","diff_url":"https://github.com/openucx/ucx/pull/872.diff","patch_url":"https://github.com/openucx/ucx/pull/872.patch","issue_url":"https://api.github.com/repos/openucx/ucx/issues/872","number":872,"state":"open","locked":false,"title":"UCP/RMA: add implementation of ucp_worker_fence","user":{"login":"xinzhao3","id":16946816,"avatar_url":"https://avatars.githubusercontent.com/u/16946816?v=3","gravatar_id":"","url":"https://api.github.com/users/xinzhao3","html_url":"https://github.com/xinzhao3","followers_url":"https://api.github.com/users/xinzhao3/followers","following_url":"https://api.github.com/users/xinzhao3/following{/other_user}","gists_url":"https://api.github.com/users/xinzhao3/gists{/gist_id}","starred_url":"https://api.github.com/users/xinzhao3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xinzhao3/subscriptions","organizations_url":"https://api.github.com/users/xinzhao3/orgs","repos_url":"https://api.github.com/users/xinzhao3/repos","events_url":"https://api.github.com/users/xinzhao3/events{/privacy}","received_events_url":"https://api.github.com/users/xinzhao3/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-07-05T02:19:54Z","updated_at":"2016-07-06T09:03:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"524db7458233ec02c48855743d3f8275ab58f24c","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/openucx/ucx/pulls/872/commits","review_comments_url":"https://api.github.com/repos/openucx/ucx/pulls/872/comments","review_comment_url":"https://api.github.com/repos/openucx/ucx/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openucx/ucx/issues/872/comments","statuses_url":"https://api.github.com/repos/openucx/ucx/statuses/325d4b7ef2ef28bebda34a0b991e6569237d880c","head":{"label":"xinzhao3:topic/bugfix_290","ref":"topic/bugfix_290","sha":"325d4b7ef2ef28bebda34a0b991e6569237d880c","user":{"login":"xinzhao3","id":16946816,"avatar_url":"https://avatars.githubusercontent.com/u/16946816?v=3","gravatar_id":"","url":"https://api.github.com/users/xinzhao3","html_url":"https://github.com/xinzhao3","followers_url":"https://api.github.com/users/xinzhao3/followers","following_url":"https://api.github.com/users/xinzhao3/following{/other_user}","gists_url":"https://api.github.com/users/xinzhao3/gists{/gist_id}","starred_url":"https://api.github.com/users/xinzhao3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xinzhao3/subscriptions","organizations_url":"https://api.github.com/users/xinzhao3/orgs","repos_url":"https://api.github.com/users/xinzhao3/repos","events_url":"https://api.github.com/users/xinzhao3/events{/privacy}","received_events_url":"https://api.github.com/users/xinzhao3/received_events","type":"User","site_admin":false},"repo":{"id":61566172,"name":"ucx","full_name":"xinzhao3/ucx","owner":{"login":"xinzhao3","id":16946816,"avatar_url":"https://avatars.githubusercontent.com/u/16946816?v=3","gravatar_id":"","url":"https://api.github.com/users/xinzhao3","html_url":"https://github.com/xinzhao3","followers_url":"https://api.github.com/users/xinzhao3/followers","following_url":"https://api.github.com/users/xinzhao3/following{/other_user}","gists_url":"https://api.github.com/users/xinzhao3/gists{/gist_id}","starred_url":"https://api.github.com/users/xinzhao3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xinzhao3/subscriptions","organizations_url":"https://api.github.com/users/xinzhao3/orgs","repos_url":"https://api.github.com/users/xinzhao3/repos","events_url":"https://api.github.com/users/xinzhao3/events{/privacy}","received_events_url":"https://api.github.com/users/xinzhao3/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/xinzhao3/ucx","description":"Unified Communication X  (mailing list - https://elist.ornl.gov/mailman/listinfo/ucx-group): ","fork":true,"url":"https://api.github.com/repos/xinzhao3/ucx","forks_url":"https://api.github.com/repos/xinzhao3/ucx/forks","keys_url":"https://api.github.com/repos/xinzhao3/ucx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xinzhao3/ucx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xinzhao3/ucx/teams","hooks_url":"https://api.github.com/repos/xinzhao3/ucx/hooks","issue_events_url":"https://api.github.com/repos/xinzhao3/ucx/issues/events{/number}","events_url":"https://api.github.com/repos/xinzhao3/ucx/events","assignees_url":"https://api.github.com/repos/xinzhao3/ucx/assignees{/user}","branches_url":"https://api.github.com/repos/xinzhao3/ucx/branches{/branch}","tags_url":"https://api.github.com/repos/xinzhao3/ucx/tags","blobs_url":"https://api.github.com/repos/xinzhao3/ucx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xinzhao3/ucx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xinzhao3/ucx/git/refs{/sha}","trees_url":"https://api.github.com/repos/xinzhao3/ucx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xinzhao3/ucx/statuses/{sha}","languages_url":"https://api.github.com/repos/xinzhao3/ucx/languages","stargazers_url":"https://api.github.com/repos/xinzhao3/ucx/stargazers","contributors_url":"https://api.github.com/repos/xinzhao3/ucx/contributors","subscribers_url":"https://api.github.com/repos/xinzhao3/ucx/subscribers","subscription_url":"https://api.github.com/repos/xinzhao3/ucx/subscription","commits_url":"https://api.github.com/repos/xinzhao3/ucx/commits{/sha}","git_commits_url":"https://api.github.com/repos/xinzhao3/ucx/git/commits{/sha}","comments_url":"https://api.github.com/repos/xinzhao3/ucx/comments{/number}","issue_comment_url":"https://api.github.com/repos/xinzhao3/ucx/issues/comments{/number}","contents_url":"https://api.github.com/repos/xinzhao3/ucx/contents/{+path}","compare_url":"https://api.github.com/repos/xinzhao3/ucx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xinzhao3/ucx/merges","archive_url":"https://api.github.com/repos/xinzhao3/ucx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xinzhao3/ucx/downloads","issues_url":"https://api.github.com/repos/xinzhao3/ucx/issues{/number}","pulls_url":"https://api.github.com/repos/xinzhao3/ucx/pulls{/number}","milestones_url":"https://api.github.com/repos/xinzhao3/ucx/milestones{/number}","notifications_url":"https://api.github.com/repos/xinzhao3/ucx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xinzhao3/ucx/labels{/name}","releases_url":"https://api.github.com/repos/xinzhao3/ucx/releases{/id}","deployments_url":"https://api.github.com/repos/xinzhao3/ucx/deployments","created_at":"2016-06-20T17:15:58Z","updated_at":"2016-06-20T17:16:00Z","pushed_at":"2016-07-06T07:21:35Z","git_url":"git://github.com/xinzhao3/ucx.git","ssh_url":"git@github.com:xinzhao3/ucx.git","clone_url":"https://github.com/xinzhao3/ucx.git","svn_url":"https://github.com/xinzhao3/ucx","homepage":" http://www.openucx.org","size":5577,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"openucx:master","ref":"master","sha":"59a8362af0edbdbd5d08dec59c85bc51fb313480","user":{"login":"openucx","id":13118737,"avatar_url":"https://avatars.githubusercontent.com/u/13118737?v=3","gravatar_id":"","url":"https://api.github.com/users/openucx","html_url":"https://github.com/openucx","followers_url":"https://api.github.com/users/openucx/followers","following_url":"https://api.github.com/users/openucx/following{/other_user}","gists_url":"https://api.github.com/users/openucx/gists{/gist_id}","starred_url":"https://api.github.com/users/openucx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openucx/subscriptions","organizations_url":"https://api.github.com/users/openucx/orgs","repos_url":"https://api.github.com/users/openucx/repos","events_url":"https://api.github.com/users/openucx/events{/privacy}","received_events_url":"https://api.github.com/users/openucx/received_events","type":"Organization","site_admin":false},"repo":{"id":25379390,"name":"ucx","full_name":"openucx/ucx","owner":{"login":"openucx","id":13118737,"avatar_url":"https://avatars.githubusercontent.com/u/13118737?v=3","gravatar_id":"","url":"https://api.github.com/users/openucx","html_url":"https://github.com/openucx","followers_url":"https://api.github.com/users/openucx/followers","following_url":"https://api.github.com/users/openucx/following{/other_user}","gists_url":"https://api.github.com/users/openucx/gists{/gist_id}","starred_url":"https://api.github.com/users/openucx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openucx/subscriptions","organizations_url":"https://api.github.com/users/openucx/orgs","repos_url":"https://api.github.com/users/openucx/repos","events_url":"https://api.github.com/users/openucx/events{/privacy}","received_events_url":"https://api.github.com/users/openucx/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openucx/ucx","description":"Unified Communication X  (mailing list - https://elist.ornl.gov/mailman/listinfo/ucx-group): ","fork":false,"url":"https://api.github.com/repos/openucx/ucx","forks_url":"https://api.github.com/repos/openucx/ucx/forks","keys_url":"https://api.github.com/repos/openucx/ucx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openucx/ucx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openucx/ucx/teams","hooks_url":"https://api.github.com/repos/openucx/ucx/hooks","issue_events_url":"https://api.github.com/repos/openucx/ucx/issues/events{/number}","events_url":"https://api.github.com/repos/openucx/ucx/events","assignees_url":"https://api.github.com/repos/openucx/ucx/assignees{/user}","branches_url":"https://api.github.com/repos/openucx/ucx/branches{/branch}","tags_url":"https://api.github.com/repos/openucx/ucx/tags","blobs_url":"https://api.github.com/repos/openucx/ucx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openucx/ucx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openucx/ucx/git/refs{/sha}","trees_url":"https://api.github.com/repos/openucx/ucx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openucx/ucx/statuses/{sha}","languages_url":"https://api.github.com/repos/openucx/ucx/languages","stargazers_url":"https://api.github.com/repos/openucx/ucx/stargazers","contributors_url":"https://api.github.com/repos/openucx/ucx/contributors","subscribers_url":"https://api.github.com/repos/openucx/ucx/subscribers","subscription_url":"https://api.github.com/repos/openucx/ucx/subscription","commits_url":"https://api.github.com/repos/openucx/ucx/commits{/sha}","git_commits_url":"https://api.github.com/repos/openucx/ucx/git/commits{/sha}","comments_url":"https://api.github.com/repos/openucx/ucx/comments{/number}","issue_comment_url":"https://api.github.com/repos/openucx/ucx/issues/comments{/number}","contents_url":"https://api.github.com/repos/openucx/ucx/contents/{+path}","compare_url":"https://api.github.com/repos/openucx/ucx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openucx/ucx/merges","archive_url":"https://api.github.com/repos/openucx/ucx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openucx/ucx/downloads","issues_url":"https://api.github.com/repos/openucx/ucx/issues{/number}","pulls_url":"https://api.github.com/repos/openucx/ucx/pulls{/number}","milestones_url":"https://api.github.com/repos/openucx/ucx/milestones{/number}","notifications_url":"https://api.github.com/repos/openucx/ucx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openucx/ucx/labels{/name}","releases_url":"https://api.github.com/repos/openucx/ucx/releases{/id}","deployments_url":"https://api.github.com/repos/openucx/ucx/deployments","created_at":"2014-10-17T22:17:24Z","updated_at":"2016-07-01T14:10:24Z","pushed_at":"2016-07-06T07:36:03Z","git_url":"git://github.com/openucx/ucx.git","ssh_url":"git@github.com:openucx/ucx.git","clone_url":"https://github.com/openucx/ucx.git","svn_url":"https://github.com/openucx/ucx","homepage":" http://www.openucx.org","size":7386,"stargazers_count":40,"watchers_count":40,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":38,"mirror_url":null,"open_issues_count":70,"forks":38,"open_issues":70,"watchers":40,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openucx/ucx/pulls/872"},"html":{"href":"https://github.com/openucx/ucx/pull/872"},"issue":{"href":"https://api.github.com/repos/openucx/ucx/issues/872"},"comments":{"href":"https://api.github.com/repos/openucx/ucx/issues/872/comments"},"review_comments":{"href":"https://api.github.com/repos/openucx/ucx/pulls/872/comments"},"review_comment":{"href":"https://api.github.com/repos/openucx/ucx/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openucx/ucx/pulls/872/commits"},"statuses":{"href":"https://api.github.com/repos/openucx/ucx/statuses/325d4b7ef2ef28bebda34a0b991e6569237d880c"}}}}
{"actor":{"display_login":"yosefe"}}