{"action":"created","comment":{"url":"https://api.github.com/repos/reverbrain/elliptics/pulls/comments/37053346","id":37053346,"diff_hunk":"@@ -6,10 +6,6 @@ io.cmd\n io.cmd.{<any elliptics command type in upper case>}\n     time of commands for each type\n \n-io.cmd.{<any elliptics command type in upper case>}.lock_time\n-    time spent in id lock waiting, for each command type,\n-    (this will be 0 for commands with DNET_FLAGS_NOLOCK flag set)\n-","path":"example/monitoring-stats.txt","position":7,"original_position":7,"commit_id":"f322e1b46be57d5a921163e97be351af02b78975","original_commit_id":"f322e1b46be57d5a921163e97be351af02b78975","user":{"login":"abudnik","id":1283969,"avatar_url":"https://avatars.githubusercontent.com/u/1283969?v=3","gravatar_id":"","url":"https://api.github.com/users/abudnik","html_url":"https://github.com/abudnik","followers_url":"https://api.github.com/users/abudnik/followers","following_url":"https://api.github.com/users/abudnik/following{/other_user}","gists_url":"https://api.github.com/users/abudnik/gists{/gist_id}","starred_url":"https://api.github.com/users/abudnik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abudnik/subscriptions","organizations_url":"https://api.github.com/users/abudnik/orgs","repos_url":"https://api.github.com/users/abudnik/repos","events_url":"https://api.github.com/users/abudnik/events{/privacy}","received_events_url":"https://api.github.com/users/abudnik/received_events","type":"User","site_admin":false},"body":"If there are only already locked keys in the queue, then i/o pool threads will wait for conditional variable (dnet_request_queue::m_queue_wait), but they will not wait for any lock.","created_at":"2015-08-14T06:54:16Z","updated_at":"2015-08-14T06:54:16Z","html_url":"https://github.com/reverbrain/elliptics/pull/636#discussion_r37053346","pull_request_url":"https://api.github.com/repos/reverbrain/elliptics/pulls/636","_links":{"self":{"href":"https://api.github.com/repos/reverbrain/elliptics/pulls/comments/37053346"},"html":{"href":"https://github.com/reverbrain/elliptics/pull/636#discussion_r37053346"},"pull_request":{"href":"https://api.github.com/repos/reverbrain/elliptics/pulls/636"}}},"pull_request":{"url":"https://api.github.com/repos/reverbrain/elliptics/pulls/636","id":40340493,"html_url":"https://github.com/reverbrain/elliptics/pull/636","diff_url":"https://github.com/reverbrain/elliptics/pull/636.diff","patch_url":"https://github.com/reverbrain/elliptics/pull/636.patch","issue_url":"https://api.github.com/repos/reverbrain/elliptics/issues/636","number":636,"state":"open","locked":false,"title":"New oplocks: get request from queue, whose key id is not already locked","user":{"login":"abudnik","id":1283969,"avatar_url":"https://avatars.githubusercontent.com/u/1283969?v=3","gravatar_id":"","url":"https://api.github.com/users/abudnik","html_url":"https://github.com/abudnik","followers_url":"https://api.github.com/users/abudnik/followers","following_url":"https://api.github.com/users/abudnik/following{/other_user}","gists_url":"https://api.github.com/users/abudnik/gists{/gist_id}","starred_url":"https://api.github.com/users/abudnik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abudnik/subscriptions","organizations_url":"https://api.github.com/users/abudnik/orgs","repos_url":"https://api.github.com/users/abudnik/repos","events_url":"https://api.github.com/users/abudnik/events{/privacy}","received_events_url":"https://api.github.com/users/abudnik/received_events","type":"User","site_admin":false},"body":"dnet_io_process() calls dnet_take_request() to take request from dnet_work_pool's queue. It skips already locked keys while searching linearly in request queue.","created_at":"2015-07-20T10:50:27Z","updated_at":"2015-08-14T06:54:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c112db414c91aa91b979b1ba51f369d196c916d2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/reverbrain/elliptics/pulls/636/commits","review_comments_url":"https://api.github.com/repos/reverbrain/elliptics/pulls/636/comments","review_comment_url":"https://api.github.com/repos/reverbrain/elliptics/pulls/comments{/number}","comments_url":"https://api.github.com/repos/reverbrain/elliptics/issues/636/comments","statuses_url":"https://api.github.com/repos/reverbrain/elliptics/statuses/f322e1b46be57d5a921163e97be351af02b78975","head":{"label":"abudnik:oplock","ref":"oplock","sha":"f322e1b46be57d5a921163e97be351af02b78975","user":{"login":"abudnik","id":1283969,"avatar_url":"https://avatars.githubusercontent.com/u/1283969?v=3","gravatar_id":"","url":"https://api.github.com/users/abudnik","html_url":"https://github.com/abudnik","followers_url":"https://api.github.com/users/abudnik/followers","following_url":"https://api.github.com/users/abudnik/following{/other_user}","gists_url":"https://api.github.com/users/abudnik/gists{/gist_id}","starred_url":"https://api.github.com/users/abudnik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abudnik/subscriptions","organizations_url":"https://api.github.com/users/abudnik/orgs","repos_url":"https://api.github.com/users/abudnik/repos","events_url":"https://api.github.com/users/abudnik/events{/privacy}","received_events_url":"https://api.github.com/users/abudnik/received_events","type":"User","site_admin":false},"repo":{"id":27128794,"name":"elliptics","full_name":"abudnik/elliptics","owner":{"login":"abudnik","id":1283969,"avatar_url":"https://avatars.githubusercontent.com/u/1283969?v=3","gravatar_id":"","url":"https://api.github.com/users/abudnik","html_url":"https://github.com/abudnik","followers_url":"https://api.github.com/users/abudnik/followers","following_url":"https://api.github.com/users/abudnik/following{/other_user}","gists_url":"https://api.github.com/users/abudnik/gists{/gist_id}","starred_url":"https://api.github.com/users/abudnik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abudnik/subscriptions","organizations_url":"https://api.github.com/users/abudnik/orgs","repos_url":"https://api.github.com/users/abudnik/repos","events_url":"https://api.github.com/users/abudnik/events{/privacy}","received_events_url":"https://api.github.com/users/abudnik/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/abudnik/elliptics","description":"Distributed hashtable storage","fork":true,"url":"https://api.github.com/repos/abudnik/elliptics","forks_url":"https://api.github.com/repos/abudnik/elliptics/forks","keys_url":"https://api.github.com/repos/abudnik/elliptics/keys{/key_id}","collaborators_url":"https://api.github.com/repos/abudnik/elliptics/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/abudnik/elliptics/teams","hooks_url":"https://api.github.com/repos/abudnik/elliptics/hooks","issue_events_url":"https://api.github.com/repos/abudnik/elliptics/issues/events{/number}","events_url":"https://api.github.com/repos/abudnik/elliptics/events","assignees_url":"https://api.github.com/repos/abudnik/elliptics/assignees{/user}","branches_url":"https://api.github.com/repos/abudnik/elliptics/branches{/branch}","tags_url":"https://api.github.com/repos/abudnik/elliptics/tags","blobs_url":"https://api.github.com/repos/abudnik/elliptics/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/abudnik/elliptics/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/abudnik/elliptics/git/refs{/sha}","trees_url":"https://api.github.com/repos/abudnik/elliptics/git/trees{/sha}","statuses_url":"https://api.github.com/repos/abudnik/elliptics/statuses/{sha}","languages_url":"https://api.github.com/repos/abudnik/elliptics/languages","stargazers_url":"https://api.github.com/repos/abudnik/elliptics/stargazers","contributors_url":"https://api.github.com/repos/abudnik/elliptics/contributors","subscribers_url":"https://api.github.com/repos/abudnik/elliptics/subscribers","subscription_url":"https://api.github.com/repos/abudnik/elliptics/subscription","commits_url":"https://api.github.com/repos/abudnik/elliptics/commits{/sha}","git_commits_url":"https://api.github.com/repos/abudnik/elliptics/git/commits{/sha}","comments_url":"https://api.github.com/repos/abudnik/elliptics/comments{/number}","issue_comment_url":"https://api.github.com/repos/abudnik/elliptics/issues/comments{/number}","contents_url":"https://api.github.com/repos/abudnik/elliptics/contents/{+path}","compare_url":"https://api.github.com/repos/abudnik/elliptics/compare/{base}...{head}","merges_url":"https://api.github.com/repos/abudnik/elliptics/merges","archive_url":"https://api.github.com/repos/abudnik/elliptics/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/abudnik/elliptics/downloads","issues_url":"https://api.github.com/repos/abudnik/elliptics/issues{/number}","pulls_url":"https://api.github.com/repos/abudnik/elliptics/pulls{/number}","milestones_url":"https://api.github.com/repos/abudnik/elliptics/milestones{/number}","notifications_url":"https://api.github.com/repos/abudnik/elliptics/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/abudnik/elliptics/labels{/name}","releases_url":"https://api.github.com/repos/abudnik/elliptics/releases{/id}","created_at":"2014-11-25T14:13:07Z","updated_at":"2015-04-30T14:53:53Z","pushed_at":"2015-08-12T15:06:39Z","git_url":"git://github.com/abudnik/elliptics.git","ssh_url":"git@github.com:abudnik/elliptics.git","clone_url":"https://github.com/abudnik/elliptics.git","svn_url":"https://github.com/abudnik/elliptics","homepage":null,"size":20606,"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":"reverbrain:master","ref":"master","sha":"99b1190eebc4f00726d46e2de8577a4f73fbef77","user":{"login":"reverbrain","id":1616511,"avatar_url":"https://avatars.githubusercontent.com/u/1616511?v=3","gravatar_id":"","url":"https://api.github.com/users/reverbrain","html_url":"https://github.com/reverbrain","followers_url":"https://api.github.com/users/reverbrain/followers","following_url":"https://api.github.com/users/reverbrain/following{/other_user}","gists_url":"https://api.github.com/users/reverbrain/gists{/gist_id}","starred_url":"https://api.github.com/users/reverbrain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reverbrain/subscriptions","organizations_url":"https://api.github.com/users/reverbrain/orgs","repos_url":"https://api.github.com/users/reverbrain/repos","events_url":"https://api.github.com/users/reverbrain/events{/privacy}","received_events_url":"https://api.github.com/users/reverbrain/received_events","type":"Organization","site_admin":false},"repo":{"id":4712089,"name":"elliptics","full_name":"reverbrain/elliptics","owner":{"login":"reverbrain","id":1616511,"avatar_url":"https://avatars.githubusercontent.com/u/1616511?v=3","gravatar_id":"","url":"https://api.github.com/users/reverbrain","html_url":"https://github.com/reverbrain","followers_url":"https://api.github.com/users/reverbrain/followers","following_url":"https://api.github.com/users/reverbrain/following{/other_user}","gists_url":"https://api.github.com/users/reverbrain/gists{/gist_id}","starred_url":"https://api.github.com/users/reverbrain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reverbrain/subscriptions","organizations_url":"https://api.github.com/users/reverbrain/orgs","repos_url":"https://api.github.com/users/reverbrain/repos","events_url":"https://api.github.com/users/reverbrain/events{/privacy}","received_events_url":"https://api.github.com/users/reverbrain/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/reverbrain/elliptics","description":"Distributed storage for medium and large objects with streaming support","fork":false,"url":"https://api.github.com/repos/reverbrain/elliptics","forks_url":"https://api.github.com/repos/reverbrain/elliptics/forks","keys_url":"https://api.github.com/repos/reverbrain/elliptics/keys{/key_id}","collaborators_url":"https://api.github.com/repos/reverbrain/elliptics/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/reverbrain/elliptics/teams","hooks_url":"https://api.github.com/repos/reverbrain/elliptics/hooks","issue_events_url":"https://api.github.com/repos/reverbrain/elliptics/issues/events{/number}","events_url":"https://api.github.com/repos/reverbrain/elliptics/events","assignees_url":"https://api.github.com/repos/reverbrain/elliptics/assignees{/user}","branches_url":"https://api.github.com/repos/reverbrain/elliptics/branches{/branch}","tags_url":"https://api.github.com/repos/reverbrain/elliptics/tags","blobs_url":"https://api.github.com/repos/reverbrain/elliptics/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/reverbrain/elliptics/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/reverbrain/elliptics/git/refs{/sha}","trees_url":"https://api.github.com/repos/reverbrain/elliptics/git/trees{/sha}","statuses_url":"https://api.github.com/repos/reverbrain/elliptics/statuses/{sha}","languages_url":"https://api.github.com/repos/reverbrain/elliptics/languages","stargazers_url":"https://api.github.com/repos/reverbrain/elliptics/stargazers","contributors_url":"https://api.github.com/repos/reverbrain/elliptics/contributors","subscribers_url":"https://api.github.com/repos/reverbrain/elliptics/subscribers","subscription_url":"https://api.github.com/repos/reverbrain/elliptics/subscription","commits_url":"https://api.github.com/repos/reverbrain/elliptics/commits{/sha}","git_commits_url":"https://api.github.com/repos/reverbrain/elliptics/git/commits{/sha}","comments_url":"https://api.github.com/repos/reverbrain/elliptics/comments{/number}","issue_comment_url":"https://api.github.com/repos/reverbrain/elliptics/issues/comments{/number}","contents_url":"https://api.github.com/repos/reverbrain/elliptics/contents/{+path}","compare_url":"https://api.github.com/repos/reverbrain/elliptics/compare/{base}...{head}","merges_url":"https://api.github.com/repos/reverbrain/elliptics/merges","archive_url":"https://api.github.com/repos/reverbrain/elliptics/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/reverbrain/elliptics/downloads","issues_url":"https://api.github.com/repos/reverbrain/elliptics/issues{/number}","pulls_url":"https://api.github.com/repos/reverbrain/elliptics/pulls{/number}","milestones_url":"https://api.github.com/repos/reverbrain/elliptics/milestones{/number}","notifications_url":"https://api.github.com/repos/reverbrain/elliptics/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/reverbrain/elliptics/labels{/name}","releases_url":"https://api.github.com/repos/reverbrain/elliptics/releases{/id}","created_at":"2012-06-19T10:05:10Z","updated_at":"2015-08-11T14:22:50Z","pushed_at":"2015-08-12T15:06:39Z","git_url":"git://github.com/reverbrain/elliptics.git","ssh_url":"git@github.com:reverbrain/elliptics.git","clone_url":"https://github.com/reverbrain/elliptics.git","svn_url":"https://github.com/reverbrain/elliptics","homepage":"http://reverbrain.com/elliptics","size":27891,"stargazers_count":335,"watchers_count":335,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":61,"mirror_url":null,"open_issues_count":16,"forks":61,"open_issues":16,"watchers":335,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/reverbrain/elliptics/pulls/636"},"html":{"href":"https://github.com/reverbrain/elliptics/pull/636"},"issue":{"href":"https://api.github.com/repos/reverbrain/elliptics/issues/636"},"comments":{"href":"https://api.github.com/repos/reverbrain/elliptics/issues/636/comments"},"review_comments":{"href":"https://api.github.com/repos/reverbrain/elliptics/pulls/636/comments"},"review_comment":{"href":"https://api.github.com/repos/reverbrain/elliptics/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/reverbrain/elliptics/pulls/636/commits"},"statuses":{"href":"https://api.github.com/repos/reverbrain/elliptics/statuses/f322e1b46be57d5a921163e97be351af02b78975"}}}}