{"action":"created","issue":{"url":"https://api.github.com/repos/ceph/ceph/issues/6895","labels_url":"https://api.github.com/repos/ceph/ceph/issues/6895/labels{/name}","comments_url":"https://api.github.com/repos/ceph/ceph/issues/6895/comments","events_url":"https://api.github.com/repos/ceph/ceph/issues/6895/events","html_url":"https://github.com/ceph/ceph/pull/6895","id":121677128,"number":6895,"title":"osd: adjust default snap trim sleep interval to avoid client IO being blocked","user":{"login":"clever215","id":2628800,"avatar_url":"https://avatars.githubusercontent.com/u/2628800?v=3","gravatar_id":"","url":"https://api.github.com/users/clever215","html_url":"https://github.com/clever215","followers_url":"https://api.github.com/users/clever215/followers","following_url":"https://api.github.com/users/clever215/following{/other_user}","gists_url":"https://api.github.com/users/clever215/gists{/gist_id}","starred_url":"https://api.github.com/users/clever215/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clever215/subscriptions","organizations_url":"https://api.github.com/users/clever215/orgs","repos_url":"https://api.github.com/users/clever215/repos","events_url":"https://api.github.com/users/clever215/events{/privacy}","received_events_url":"https://api.github.com/users/clever215/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/performance","name":"performance","color":"bfdadc"},{"url":"https://api.github.com/repos/ceph/ceph/labels/rbd","name":"rbd","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-12-11T10:07:44Z","updated_at":"2015-12-21T15:18:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ceph/ceph/pulls/6895","html_url":"https://github.com/ceph/ceph/pull/6895","diff_url":"https://github.com/ceph/ceph/pull/6895.diff","patch_url":"https://github.com/ceph/ceph/pull/6895.patch"},"body":"Bug # 14052\r\n\r\nThis modification updates the third parameter of OPTION(osd_snap_trim_sleep, OPT_FLOAT, 0) from 0 to 0.1. So when dealing with client io and other multiple ios, client io will not be blocked.\r\n\r\nSigned-off-by: Kongming Wu <wu.kongming@h3c.com>"},"comment":{"url":"https://api.github.com/repos/ceph/ceph/issues/comments/166327997","html_url":"https://github.com/ceph/ceph/pull/6895#issuecomment-166327997","issue_url":"https://api.github.com/repos/ceph/ceph/issues/6895","id":166327997,"user":{"login":"yuyuyu101","id":980577,"avatar_url":"https://avatars.githubusercontent.com/u/980577?v=3","gravatar_id":"","url":"https://api.github.com/users/yuyuyu101","html_url":"https://github.com/yuyuyu101","followers_url":"https://api.github.com/users/yuyuyu101/followers","following_url":"https://api.github.com/users/yuyuyu101/following{/other_user}","gists_url":"https://api.github.com/users/yuyuyu101/gists{/gist_id}","starred_url":"https://api.github.com/users/yuyuyu101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuyuyu101/subscriptions","organizations_url":"https://api.github.com/users/yuyuyu101/orgs","repos_url":"https://api.github.com/users/yuyuyu101/repos","events_url":"https://api.github.com/users/yuyuyu101/events{/privacy}","received_events_url":"https://api.github.com/users/yuyuyu101/received_events","type":"User","site_admin":false},"created_at":"2015-12-21T15:18:54Z","updated_at":"2015-12-21T15:18:54Z","body":"I guess the value should depend on use case, for rbd case each object is very large, so sleep a lot could help. But for small object case, it may too slow to trim snap. \r\n\r\nI remember @athanatos is working on unified queue and I think it could have a ideal way to solve this."}}