{"action":"created","comment":{"url":"https://api.github.com/repos/docker/docker/pulls/comments/29640506","id":29640506,"diff_hunk":"@@ -65,6 +65,7 @@ func Parse(cmd *flag.FlagSet, args []string) (*Config, *HostConfig, *flag.FlagSe\n \t\tflCpuShares       = cmd.Int64([]string{\"c\", \"-cpu-shares\"}, 0, \"CPU shares (relative weight)\")\n \t\tflCpusetCpus      = cmd.String([]string{\"#-cpuset\", \"-cpuset-cpus\"}, \"\", \"CPUs in which to allow execution (0-3, 0,1)\")\n \t\tflCpusetMems      = cmd.String([]string{\"-cpuset-mems\"}, \"\", \"MEMs in which to allow execution (0-3, 0,1)\")\n+\t\tflBlkioWeight     = cmd.Int64([]string{\"-blkio-weight\"}, 0, \"Block IO relative weight, range from 10 to 1000\")","path":"runconfig/parse.go","position":4,"original_position":4,"commit_id":"8c252aac6b14373ab5c569f3f98ee640d4f2440b","original_commit_id":"8c252aac6b14373ab5c569f3f98ee640d4f2440b","user":{"login":"thaJeztah","id":1804568,"avatar_url":"https://avatars.githubusercontent.com/u/1804568?v=3","gravatar_id":"","url":"https://api.github.com/users/thaJeztah","html_url":"https://github.com/thaJeztah","followers_url":"https://api.github.com/users/thaJeztah/followers","following_url":"https://api.github.com/users/thaJeztah/following{/other_user}","gists_url":"https://api.github.com/users/thaJeztah/gists{/gist_id}","starred_url":"https://api.github.com/users/thaJeztah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thaJeztah/subscriptions","organizations_url":"https://api.github.com/users/thaJeztah/orgs","repos_url":"https://api.github.com/users/thaJeztah/repos","events_url":"https://api.github.com/users/thaJeztah/events{/privacy}","received_events_url":"https://api.github.com/users/thaJeztah/received_events","type":"User","site_admin":false},"body":"Avoid using \"range\" here as a term; people may actually  try to set a *range* (e.g., `--blkio-weight=10-150`).\r\n\r\nPerhaps;\r\n\"Block IO (relative weight), between 10 and 1000\"\r\n\r\n(I don't think the longer version can be used here, because the output would become too long for the help text)","created_at":"2015-05-05T02:15:14Z","updated_at":"2015-05-05T02:15:14Z","html_url":"https://github.com/docker/docker/pull/11802#discussion_r29640506","pull_request_url":"https://api.github.com/repos/docker/docker/pulls/11802","_links":{"self":{"href":"https://api.github.com/repos/docker/docker/pulls/comments/29640506"},"html":{"href":"https://github.com/docker/docker/pull/11802#discussion_r29640506"},"pull_request":{"href":"https://api.github.com/repos/docker/docker/pulls/11802"}}},"pull_request":{"url":"https://api.github.com/repos/docker/docker/pulls/11802","id":31994437,"html_url":"https://github.com/docker/docker/pull/11802","diff_url":"https://github.com/docker/docker/pull/11802.diff","patch_url":"https://github.com/docker/docker/pull/11802.patch","issue_url":"https://api.github.com/repos/docker/docker/issues/11802","number":11802,"state":"open","locked":false,"title":"add blkio.weight support","user":{"login":"hqhq","id":6415670,"avatar_url":"https://avatars.githubusercontent.com/u/6415670?v=3","gravatar_id":"","url":"https://api.github.com/users/hqhq","html_url":"https://github.com/hqhq","followers_url":"https://api.github.com/users/hqhq/followers","following_url":"https://api.github.com/users/hqhq/following{/other_user}","gists_url":"https://api.github.com/users/hqhq/gists{/gist_id}","starred_url":"https://api.github.com/users/hqhq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hqhq/subscriptions","organizations_url":"https://api.github.com/users/hqhq/orgs","repos_url":"https://api.github.com/users/hqhq/repos","events_url":"https://api.github.com/users/hqhq/events{/privacy}","received_events_url":"https://api.github.com/users/hqhq/received_events","type":"User","site_admin":false},"body":"We can use this to control block IO weight of a container.\r\n\r\nSigned-off-by: Qiang Huang <h.huangqiang@huawei.com>","created_at":"2015-03-26T07:25:40Z","updated_at":"2015-05-05T02:15:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"37aa26985f87a7b6179eaf26cc4d076aad6c98a9","assignee":{"login":"calavera","id":1050,"avatar_url":"https://avatars.githubusercontent.com/u/1050?v=3","gravatar_id":"","url":"https://api.github.com/users/calavera","html_url":"https://github.com/calavera","followers_url":"https://api.github.com/users/calavera/followers","following_url":"https://api.github.com/users/calavera/following{/other_user}","gists_url":"https://api.github.com/users/calavera/gists{/gist_id}","starred_url":"https://api.github.com/users/calavera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calavera/subscriptions","organizations_url":"https://api.github.com/users/calavera/orgs","repos_url":"https://api.github.com/users/calavera/repos","events_url":"https://api.github.com/users/calavera/events{/privacy}","received_events_url":"https://api.github.com/users/calavera/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/docker/docker/pulls/11802/commits","review_comments_url":"https://api.github.com/repos/docker/docker/pulls/11802/comments","review_comment_url":"https://api.github.com/repos/docker/docker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/docker/docker/issues/11802/comments","statuses_url":"https://api.github.com/repos/docker/docker/statuses/8c252aac6b14373ab5c569f3f98ee640d4f2440b","head":{"label":"hqhq:hq_add_blkio_weight","ref":"hq_add_blkio_weight","sha":"8c252aac6b14373ab5c569f3f98ee640d4f2440b","user":{"login":"hqhq","id":6415670,"avatar_url":"https://avatars.githubusercontent.com/u/6415670?v=3","gravatar_id":"","url":"https://api.github.com/users/hqhq","html_url":"https://github.com/hqhq","followers_url":"https://api.github.com/users/hqhq/followers","following_url":"https://api.github.com/users/hqhq/following{/other_user}","gists_url":"https://api.github.com/users/hqhq/gists{/gist_id}","starred_url":"https://api.github.com/users/hqhq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hqhq/subscriptions","organizations_url":"https://api.github.com/users/hqhq/orgs","repos_url":"https://api.github.com/users/hqhq/repos","events_url":"https://api.github.com/users/hqhq/events{/privacy}","received_events_url":"https://api.github.com/users/hqhq/received_events","type":"User","site_admin":false},"repo":{"id":23826530,"name":"docker","full_name":"hqhq/docker","owner":{"login":"hqhq","id":6415670,"avatar_url":"https://avatars.githubusercontent.com/u/6415670?v=3","gravatar_id":"","url":"https://api.github.com/users/hqhq","html_url":"https://github.com/hqhq","followers_url":"https://api.github.com/users/hqhq/followers","following_url":"https://api.github.com/users/hqhq/following{/other_user}","gists_url":"https://api.github.com/users/hqhq/gists{/gist_id}","starred_url":"https://api.github.com/users/hqhq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hqhq/subscriptions","organizations_url":"https://api.github.com/users/hqhq/orgs","repos_url":"https://api.github.com/users/hqhq/repos","events_url":"https://api.github.com/users/hqhq/events{/privacy}","received_events_url":"https://api.github.com/users/hqhq/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hqhq/docker","description":"Docker - the open-source application container engine","fork":true,"url":"https://api.github.com/repos/hqhq/docker","forks_url":"https://api.github.com/repos/hqhq/docker/forks","keys_url":"https://api.github.com/repos/hqhq/docker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hqhq/docker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hqhq/docker/teams","hooks_url":"https://api.github.com/repos/hqhq/docker/hooks","issue_events_url":"https://api.github.com/repos/hqhq/docker/issues/events{/number}","events_url":"https://api.github.com/repos/hqhq/docker/events","assignees_url":"https://api.github.com/repos/hqhq/docker/assignees{/user}","branches_url":"https://api.github.com/repos/hqhq/docker/branches{/branch}","tags_url":"https://api.github.com/repos/hqhq/docker/tags","blobs_url":"https://api.github.com/repos/hqhq/docker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hqhq/docker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hqhq/docker/git/refs{/sha}","trees_url":"https://api.github.com/repos/hqhq/docker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hqhq/docker/statuses/{sha}","languages_url":"https://api.github.com/repos/hqhq/docker/languages","stargazers_url":"https://api.github.com/repos/hqhq/docker/stargazers","contributors_url":"https://api.github.com/repos/hqhq/docker/contributors","subscribers_url":"https://api.github.com/repos/hqhq/docker/subscribers","subscription_url":"https://api.github.com/repos/hqhq/docker/subscription","commits_url":"https://api.github.com/repos/hqhq/docker/commits{/sha}","git_commits_url":"https://api.github.com/repos/hqhq/docker/git/commits{/sha}","comments_url":"https://api.github.com/repos/hqhq/docker/comments{/number}","issue_comment_url":"https://api.github.com/repos/hqhq/docker/issues/comments{/number}","contents_url":"https://api.github.com/repos/hqhq/docker/contents/{+path}","compare_url":"https://api.github.com/repos/hqhq/docker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hqhq/docker/merges","archive_url":"https://api.github.com/repos/hqhq/docker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hqhq/docker/downloads","issues_url":"https://api.github.com/repos/hqhq/docker/issues{/number}","pulls_url":"https://api.github.com/repos/hqhq/docker/pulls{/number}","milestones_url":"https://api.github.com/repos/hqhq/docker/milestones{/number}","notifications_url":"https://api.github.com/repos/hqhq/docker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hqhq/docker/labels{/name}","releases_url":"https://api.github.com/repos/hqhq/docker/releases{/id}","created_at":"2014-09-09T09:03:12Z","updated_at":"2015-04-24T15:32:25Z","pushed_at":"2015-05-04T12:38:11Z","git_url":"git://github.com/hqhq/docker.git","ssh_url":"git@github.com:hqhq/docker.git","clone_url":"https://github.com/hqhq/docker.git","svn_url":"https://github.com/hqhq/docker","homepage":"http://www.docker.com","size":52382,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"docker:master","ref":"master","sha":"24af87835842b2683a3862f7a32c726013d2a67a","user":{"login":"docker","id":5429470,"avatar_url":"https://avatars.githubusercontent.com/u/5429470?v=3","gravatar_id":"","url":"https://api.github.com/users/docker","html_url":"https://github.com/docker","followers_url":"https://api.github.com/users/docker/followers","following_url":"https://api.github.com/users/docker/following{/other_user}","gists_url":"https://api.github.com/users/docker/gists{/gist_id}","starred_url":"https://api.github.com/users/docker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker/subscriptions","organizations_url":"https://api.github.com/users/docker/orgs","repos_url":"https://api.github.com/users/docker/repos","events_url":"https://api.github.com/users/docker/events{/privacy}","received_events_url":"https://api.github.com/users/docker/received_events","type":"Organization","site_admin":false},"repo":{"id":7691631,"name":"docker","full_name":"docker/docker","owner":{"login":"docker","id":5429470,"avatar_url":"https://avatars.githubusercontent.com/u/5429470?v=3","gravatar_id":"","url":"https://api.github.com/users/docker","html_url":"https://github.com/docker","followers_url":"https://api.github.com/users/docker/followers","following_url":"https://api.github.com/users/docker/following{/other_user}","gists_url":"https://api.github.com/users/docker/gists{/gist_id}","starred_url":"https://api.github.com/users/docker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker/subscriptions","organizations_url":"https://api.github.com/users/docker/orgs","repos_url":"https://api.github.com/users/docker/repos","events_url":"https://api.github.com/users/docker/events{/privacy}","received_events_url":"https://api.github.com/users/docker/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/docker/docker","description":"Docker - the open-source application container engine","fork":false,"url":"https://api.github.com/repos/docker/docker","forks_url":"https://api.github.com/repos/docker/docker/forks","keys_url":"https://api.github.com/repos/docker/docker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/docker/docker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/docker/docker/teams","hooks_url":"https://api.github.com/repos/docker/docker/hooks","issue_events_url":"https://api.github.com/repos/docker/docker/issues/events{/number}","events_url":"https://api.github.com/repos/docker/docker/events","assignees_url":"https://api.github.com/repos/docker/docker/assignees{/user}","branches_url":"https://api.github.com/repos/docker/docker/branches{/branch}","tags_url":"https://api.github.com/repos/docker/docker/tags","blobs_url":"https://api.github.com/repos/docker/docker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/docker/docker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/docker/docker/git/refs{/sha}","trees_url":"https://api.github.com/repos/docker/docker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/docker/docker/statuses/{sha}","languages_url":"https://api.github.com/repos/docker/docker/languages","stargazers_url":"https://api.github.com/repos/docker/docker/stargazers","contributors_url":"https://api.github.com/repos/docker/docker/contributors","subscribers_url":"https://api.github.com/repos/docker/docker/subscribers","subscription_url":"https://api.github.com/repos/docker/docker/subscription","commits_url":"https://api.github.com/repos/docker/docker/commits{/sha}","git_commits_url":"https://api.github.com/repos/docker/docker/git/commits{/sha}","comments_url":"https://api.github.com/repos/docker/docker/comments{/number}","issue_comment_url":"https://api.github.com/repos/docker/docker/issues/comments{/number}","contents_url":"https://api.github.com/repos/docker/docker/contents/{+path}","compare_url":"https://api.github.com/repos/docker/docker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/docker/docker/merges","archive_url":"https://api.github.com/repos/docker/docker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/docker/docker/downloads","issues_url":"https://api.github.com/repos/docker/docker/issues{/number}","pulls_url":"https://api.github.com/repos/docker/docker/pulls{/number}","milestones_url":"https://api.github.com/repos/docker/docker/milestones{/number}","notifications_url":"https://api.github.com/repos/docker/docker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/docker/docker/labels{/name}","releases_url":"https://api.github.com/repos/docker/docker/releases{/id}","created_at":"2013-01-18T18:10:57Z","updated_at":"2015-05-05T00:53:37Z","pushed_at":"2015-05-05T01:53:34Z","git_url":"git://github.com/docker/docker.git","ssh_url":"git@github.com:docker/docker.git","clone_url":"https://github.com/docker/docker.git","svn_url":"https://github.com/docker/docker","homepage":"http://www.docker.com","size":194223,"stargazers_count":21337,"watchers_count":21337,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4975,"mirror_url":null,"open_issues_count":952,"forks":4975,"open_issues":952,"watchers":21337,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/docker/docker/pulls/11802"},"html":{"href":"https://github.com/docker/docker/pull/11802"},"issue":{"href":"https://api.github.com/repos/docker/docker/issues/11802"},"comments":{"href":"https://api.github.com/repos/docker/docker/issues/11802/comments"},"review_comments":{"href":"https://api.github.com/repos/docker/docker/pulls/11802/comments"},"review_comment":{"href":"https://api.github.com/repos/docker/docker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/docker/docker/pulls/11802/commits"},"statuses":{"href":"https://api.github.com/repos/docker/docker/statuses/8c252aac6b14373ab5c569f3f98ee640d4f2440b"}}}}