{"action":"created","issue":{"url":"https://api.github.com/repos/ceph/ceph/issues/9126","repository_url":"https://api.github.com/repos/ceph/ceph","labels_url":"https://api.github.com/repos/ceph/ceph/issues/9126/labels{/name}","comments_url":"https://api.github.com/repos/ceph/ceph/issues/9126/comments","events_url":"https://api.github.com/repos/ceph/ceph/issues/9126/events","html_url":"https://github.com/ceph/ceph/pull/9126","id":154831926,"number":9126,"title":"osd: fix sched_time not actually randomized","user":{"login":"xiexingguo","id":14193361,"avatar_url":"https://avatars.githubusercontent.com/u/14193361?v=3","gravatar_id":"","url":"https://api.github.com/users/xiexingguo","html_url":"https://github.com/xiexingguo","followers_url":"https://api.github.com/users/xiexingguo/followers","following_url":"https://api.github.com/users/xiexingguo/following{/other_user}","gists_url":"https://api.github.com/users/xiexingguo/gists{/gist_id}","starred_url":"https://api.github.com/users/xiexingguo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiexingguo/subscriptions","organizations_url":"https://api.github.com/users/xiexingguo/orgs","repos_url":"https://api.github.com/users/xiexingguo/repos","events_url":"https://api.github.com/users/xiexingguo/events{/privacy}","received_events_url":"https://api.github.com/users/xiexingguo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-14T03:32:11Z","updated_at":"2016-05-15T22:46:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ceph/ceph/pulls/9126","html_url":"https://github.com/ceph/ceph/pull/9126","diff_url":"https://github.com/ceph/ceph/pull/9126.diff","patch_url":"https://github.com/ceph/ceph/pull/9126.patch"},"body":"The test program:\r\n```c++\r\nmain()\r\n{\r\n  for (int i = 0; i < 1000; i++) {\r\n    double before = rand() / RAND_MAX;\r\n    double after = rand() / (double)RAND_MAX;\r\n    cout << \"before: \" << before << \" after: \" << after << endl;\r\n  }\r\n}\r\n```\r\nAnd the output(partial and with \"-std=c++11\" option):\r\n```\r\nbefore: 0 after: 0.394383\r\nbefore: 0 after: 0.79844\r\nbefore: 0 after: 0.197551\r\nbefore: 0 after: 0.76823\r\nbefore: 0 after: 0.55397\r\nbefore: 0 after: 0.628871\r\nbefore: 0 after: 0.513401\r\nbefore: 0 after: 0.916195\r\nbefore: 0 after: 0.717297\r\nbefore: 0 after: 0.606969\r\nbefore: 0 after: 0.242887\r\nbefore: 0 after: 0.804177\r\nbefore: 0 after: 0.400944\r\nbefore: 0 after: 0.108809\r\nbefore: 0 after: 0.218257\r\nbefore: 0 after: 0.839112\r\nbefore: 0 after: 0.296032\r\nbefore: 0 after: 0.524287\r\n```\r\nSigned-off-by: xie xingguo <xie.xingguo@zte.com.cn>"},"comment":{"url":"https://api.github.com/repos/ceph/ceph/issues/comments/219315905","html_url":"https://github.com/ceph/ceph/pull/9126#issuecomment-219315905","issue_url":"https://api.github.com/repos/ceph/ceph/issues/9126","id":219315905,"user":{"login":"liewegas","id":433031,"avatar_url":"https://avatars.githubusercontent.com/u/433031?v=3","gravatar_id":"","url":"https://api.github.com/users/liewegas","html_url":"https://github.com/liewegas","followers_url":"https://api.github.com/users/liewegas/followers","following_url":"https://api.github.com/users/liewegas/following{/other_user}","gists_url":"https://api.github.com/users/liewegas/gists{/gist_id}","starred_url":"https://api.github.com/users/liewegas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liewegas/subscriptions","organizations_url":"https://api.github.com/users/liewegas/orgs","repos_url":"https://api.github.com/users/liewegas/repos","events_url":"https://api.github.com/users/liewegas/events{/privacy}","received_events_url":"https://api.github.com/users/liewegas/received_events","type":"User","site_admin":false},"created_at":"2016-05-15T22:46:45Z","updated_at":"2016-05-15T22:46:45Z","body":"Do you mind opening a tracker ticket for this so we can track the backport?  Thanks!"}}