{"action":"created","issue":{"url":"https://api.github.com/repos/ceph/ceph/issues/4138","labels_url":"https://api.github.com/repos/ceph/ceph/issues/4138/labels{/name}","comments_url":"https://api.github.com/repos/ceph/ceph/issues/4138/comments","events_url":"https://api.github.com/repos/ceph/ceph/issues/4138/events","html_url":"https://github.com/ceph/ceph/pull/4138","id":63665665,"number":4138,"title":"osd: support to stop scrubbing when a pg is doing scrub","user":{"login":"XinzeChi","id":3147032,"avatar_url":"https://avatars.githubusercontent.com/u/3147032?v=3","gravatar_id":"","url":"https://api.github.com/users/XinzeChi","html_url":"https://github.com/XinzeChi","followers_url":"https://api.github.com/users/XinzeChi/followers","following_url":"https://api.github.com/users/XinzeChi/following{/other_user}","gists_url":"https://api.github.com/users/XinzeChi/gists{/gist_id}","starred_url":"https://api.github.com/users/XinzeChi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XinzeChi/subscriptions","organizations_url":"https://api.github.com/users/XinzeChi/orgs","repos_url":"https://api.github.com/users/XinzeChi/repos","events_url":"https://api.github.com/users/XinzeChi/events{/privacy}","received_events_url":"https://api.github.com/users/XinzeChi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ceph/ceph/labels/core","name":"core","color":"0052cc"},{"url":"https://api.github.com/repos/ceph/ceph/labels/feature","name":"feature","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":25,"created_at":"2015-03-23T08:48:28Z","updated_at":"2015-04-13T23:29:36Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ceph/ceph/pulls/4138","html_url":"https://github.com/ceph/ceph/pull/4138","diff_url":"https://github.com/ceph/ceph/pull/4138.diff","patch_url":"https://github.com/ceph/ceph/pull/4138.patch"},"body":"I think this feature  is very used for system administrator.\r\nUser could use \"ceph osd set noscrub\" to stop scrubbing.\r\n\r\nMerged after https://github.com/ceph/ceph/pull/4222.\r\n\r\nFixes: #11202\r\nSigned-off-by: Xinze Chi <xmdxcxz@gmail.com>"},"comment":{"url":"https://api.github.com/repos/ceph/ceph/issues/comments/92532710","html_url":"https://github.com/ceph/ceph/pull/4138#issuecomment-92532710","issue_url":"https://api.github.com/repos/ceph/ceph/issues/4138","id":92532710,"user":{"login":"dzafman","id":2467610,"avatar_url":"https://avatars.githubusercontent.com/u/2467610?v=3","gravatar_id":"","url":"https://api.github.com/users/dzafman","html_url":"https://github.com/dzafman","followers_url":"https://api.github.com/users/dzafman/followers","following_url":"https://api.github.com/users/dzafman/following{/other_user}","gists_url":"https://api.github.com/users/dzafman/gists{/gist_id}","starred_url":"https://api.github.com/users/dzafman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dzafman/subscriptions","organizations_url":"https://api.github.com/users/dzafman/orgs","repos_url":"https://api.github.com/users/dzafman/repos","events_url":"https://api.github.com/users/dzafman/events{/privacy}","received_events_url":"https://api.github.com/users/dzafman/received_events","type":"User","site_admin":false},"created_at":"2015-04-13T23:29:36Z","updated_at":"2015-04-13T23:29:36Z","body":"In addition to creating lots of objects, so the pgs are bigger, you might try delaying all osd op messages to slow the scrubbing process:\r\n\r\nI think is how you would do it:\r\nms_inject_delay_type=osd\r\nms_inject_delay_msg_type=osd_op\r\nms_inject_delay_probability=1  <- 100% of messages\r\nms_inject_delay_max=10    <- Random delay up to 10 seconds"}}