{"action":"closed","number":6524,"pull_request":{"url":"https://api.github.com/repos/ceph/ceph/pulls/6524","id":50266892,"html_url":"https://github.com/ceph/ceph/pull/6524","diff_url":"https://github.com/ceph/ceph/pull/6524.diff","patch_url":"https://github.com/ceph/ceph/pull/6524.patch","issue_url":"https://api.github.com/repos/ceph/ceph/issues/6524","number":6524,"state":"closed","locked":false,"title":"osd: Adding compression support for EC pools","user":{"login":"ifed01","id":7138176,"avatar_url":"https://avatars.githubusercontent.com/u/7138176?v=3","gravatar_id":"","url":"https://api.github.com/users/ifed01","html_url":"https://github.com/ifed01","followers_url":"https://api.github.com/users/ifed01/followers","following_url":"https://api.github.com/users/ifed01/following{/other_user}","gists_url":"https://api.github.com/users/ifed01/gists{/gist_id}","starred_url":"https://api.github.com/users/ifed01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ifed01/subscriptions","organizations_url":"https://api.github.com/users/ifed01/orgs","repos_url":"https://api.github.com/users/ifed01/repos","events_url":"https://api.github.com/users/ifed01/events{/privacy}","received_events_url":"https://api.github.com/users/ifed01/received_events","type":"User","site_admin":false},"body":"This is an implementation for Data-At-Rest compression feature we discussed some time ago. It introduces optional compression support for EC pools. One can find corresponding blueprint at \r\nhttp://tracker.ceph.com/projects/ceph/wiki/Rados_-_at-rest_compression\r\n\r\nTo enable compression for a specific EC pool one can either specify compression on pool creation or turn it on at an arbitrary moment of time, e.g.\r\n'osd pool create ecpool 12 12 erasure default someruleset 0 zlib'\r\nor\r\n'osd pool set ecpool compression_type snappy'\r\n\r\nTo disable compression for a pool one should invoke\r\n'osd pool set ecpool compression_type none'\r\n\r\nThe provided patch is based on PR #6361. Appropriate changes are incorporated into the patch via a separate commit. \r\n\r\nSigned-off-by: Igor Fedotov <ifedotov@mirantis.com>\r\nSigned-off-by: Kiseleva Alyona <akiselyova@mirantis.com>","created_at":"2015-11-10T15:25:33Z","updated_at":"2016-02-04T22:58:08Z","closed_at":"2016-02-04T22:58:08Z","merged_at":null,"merge_commit_sha":"67d8d9d4162f66e29ee67b0eb46575bc9d2dd418","assignee":{"login":"athanatos","id":544782,"avatar_url":"https://avatars.githubusercontent.com/u/544782?v=3","gravatar_id":"","url":"https://api.github.com/users/athanatos","html_url":"https://github.com/athanatos","followers_url":"https://api.github.com/users/athanatos/followers","following_url":"https://api.github.com/users/athanatos/following{/other_user}","gists_url":"https://api.github.com/users/athanatos/gists{/gist_id}","starred_url":"https://api.github.com/users/athanatos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/athanatos/subscriptions","organizations_url":"https://api.github.com/users/athanatos/orgs","repos_url":"https://api.github.com/users/athanatos/repos","events_url":"https://api.github.com/users/athanatos/events{/privacy}","received_events_url":"https://api.github.com/users/athanatos/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/ceph/ceph/pulls/6524/commits","review_comments_url":"https://api.github.com/repos/ceph/ceph/pulls/6524/comments","review_comment_url":"https://api.github.com/repos/ceph/ceph/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ceph/ceph/issues/6524/comments","statuses_url":"https://api.github.com/repos/ceph/ceph/statuses/eae7f25ecbcabfb95ec846f6d5c31eb5d6d0cca0","head":{"label":"ifed01:wip-compression-for-ecpools","ref":"wip-compression-for-ecpools","sha":"eae7f25ecbcabfb95ec846f6d5c31eb5d6d0cca0","user":{"login":"ifed01","id":7138176,"avatar_url":"https://avatars.githubusercontent.com/u/7138176?v=3","gravatar_id":"","url":"https://api.github.com/users/ifed01","html_url":"https://github.com/ifed01","followers_url":"https://api.github.com/users/ifed01/followers","following_url":"https://api.github.com/users/ifed01/following{/other_user}","gists_url":"https://api.github.com/users/ifed01/gists{/gist_id}","starred_url":"https://api.github.com/users/ifed01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ifed01/subscriptions","organizations_url":"https://api.github.com/users/ifed01/orgs","repos_url":"https://api.github.com/users/ifed01/repos","events_url":"https://api.github.com/users/ifed01/events{/privacy}","received_events_url":"https://api.github.com/users/ifed01/received_events","type":"User","site_admin":false},"repo":{"id":42860525,"name":"ceph","full_name":"ifed01/ceph","owner":{"login":"ifed01","id":7138176,"avatar_url":"https://avatars.githubusercontent.com/u/7138176?v=3","gravatar_id":"","url":"https://api.github.com/users/ifed01","html_url":"https://github.com/ifed01","followers_url":"https://api.github.com/users/ifed01/followers","following_url":"https://api.github.com/users/ifed01/following{/other_user}","gists_url":"https://api.github.com/users/ifed01/gists{/gist_id}","starred_url":"https://api.github.com/users/ifed01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ifed01/subscriptions","organizations_url":"https://api.github.com/users/ifed01/orgs","repos_url":"https://api.github.com/users/ifed01/repos","events_url":"https://api.github.com/users/ifed01/events{/privacy}","received_events_url":"https://api.github.com/users/ifed01/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ifed01/ceph","description":"Ceph is a distributed object, block, and file storage platform ","fork":true,"url":"https://api.github.com/repos/ifed01/ceph","forks_url":"https://api.github.com/repos/ifed01/ceph/forks","keys_url":"https://api.github.com/repos/ifed01/ceph/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ifed01/ceph/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ifed01/ceph/teams","hooks_url":"https://api.github.com/repos/ifed01/ceph/hooks","issue_events_url":"https://api.github.com/repos/ifed01/ceph/issues/events{/number}","events_url":"https://api.github.com/repos/ifed01/ceph/events","assignees_url":"https://api.github.com/repos/ifed01/ceph/assignees{/user}","branches_url":"https://api.github.com/repos/ifed01/ceph/branches{/branch}","tags_url":"https://api.github.com/repos/ifed01/ceph/tags","blobs_url":"https://api.github.com/repos/ifed01/ceph/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ifed01/ceph/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ifed01/ceph/git/refs{/sha}","trees_url":"https://api.github.com/repos/ifed01/ceph/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ifed01/ceph/statuses/{sha}","languages_url":"https://api.github.com/repos/ifed01/ceph/languages","stargazers_url":"https://api.github.com/repos/ifed01/ceph/stargazers","contributors_url":"https://api.github.com/repos/ifed01/ceph/contributors","subscribers_url":"https://api.github.com/repos/ifed01/ceph/subscribers","subscription_url":"https://api.github.com/repos/ifed01/ceph/subscription","commits_url":"https://api.github.com/repos/ifed01/ceph/commits{/sha}","git_commits_url":"https://api.github.com/repos/ifed01/ceph/git/commits{/sha}","comments_url":"https://api.github.com/repos/ifed01/ceph/comments{/number}","issue_comment_url":"https://api.github.com/repos/ifed01/ceph/issues/comments{/number}","contents_url":"https://api.github.com/repos/ifed01/ceph/contents/{+path}","compare_url":"https://api.github.com/repos/ifed01/ceph/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ifed01/ceph/merges","archive_url":"https://api.github.com/repos/ifed01/ceph/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ifed01/ceph/downloads","issues_url":"https://api.github.com/repos/ifed01/ceph/issues{/number}","pulls_url":"https://api.github.com/repos/ifed01/ceph/pulls{/number}","milestones_url":"https://api.github.com/repos/ifed01/ceph/milestones{/number}","notifications_url":"https://api.github.com/repos/ifed01/ceph/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ifed01/ceph/labels{/name}","releases_url":"https://api.github.com/repos/ifed01/ceph/releases{/id}","deployments_url":"https://api.github.com/repos/ifed01/ceph/deployments","created_at":"2015-09-21T10:49:23Z","updated_at":"2016-01-12T23:28:29Z","pushed_at":"2016-02-04T13:37:42Z","git_url":"git://github.com/ifed01/ceph.git","ssh_url":"git@github.com:ifed01/ceph.git","clone_url":"https://github.com/ifed01/ceph.git","svn_url":"https://github.com/ifed01/ceph","homepage":"http://ceph.com","size":153956,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"ceph:master","ref":"master","sha":"13062af18c91ecb1a7e9e9449c2cd7d25653cfd5","user":{"login":"ceph","id":1015767,"avatar_url":"https://avatars.githubusercontent.com/u/1015767?v=3","gravatar_id":"","url":"https://api.github.com/users/ceph","html_url":"https://github.com/ceph","followers_url":"https://api.github.com/users/ceph/followers","following_url":"https://api.github.com/users/ceph/following{/other_user}","gists_url":"https://api.github.com/users/ceph/gists{/gist_id}","starred_url":"https://api.github.com/users/ceph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ceph/subscriptions","organizations_url":"https://api.github.com/users/ceph/orgs","repos_url":"https://api.github.com/users/ceph/repos","events_url":"https://api.github.com/users/ceph/events{/privacy}","received_events_url":"https://api.github.com/users/ceph/received_events","type":"Organization","site_admin":false},"repo":{"id":2310495,"name":"ceph","full_name":"ceph/ceph","owner":{"login":"ceph","id":1015767,"avatar_url":"https://avatars.githubusercontent.com/u/1015767?v=3","gravatar_id":"","url":"https://api.github.com/users/ceph","html_url":"https://github.com/ceph","followers_url":"https://api.github.com/users/ceph/followers","following_url":"https://api.github.com/users/ceph/following{/other_user}","gists_url":"https://api.github.com/users/ceph/gists{/gist_id}","starred_url":"https://api.github.com/users/ceph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ceph/subscriptions","organizations_url":"https://api.github.com/users/ceph/orgs","repos_url":"https://api.github.com/users/ceph/repos","events_url":"https://api.github.com/users/ceph/events{/privacy}","received_events_url":"https://api.github.com/users/ceph/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ceph/ceph","description":"Ceph is a distributed object, block, and file storage platform ","fork":false,"url":"https://api.github.com/repos/ceph/ceph","forks_url":"https://api.github.com/repos/ceph/ceph/forks","keys_url":"https://api.github.com/repos/ceph/ceph/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ceph/ceph/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ceph/ceph/teams","hooks_url":"https://api.github.com/repos/ceph/ceph/hooks","issue_events_url":"https://api.github.com/repos/ceph/ceph/issues/events{/number}","events_url":"https://api.github.com/repos/ceph/ceph/events","assignees_url":"https://api.github.com/repos/ceph/ceph/assignees{/user}","branches_url":"https://api.github.com/repos/ceph/ceph/branches{/branch}","tags_url":"https://api.github.com/repos/ceph/ceph/tags","blobs_url":"https://api.github.com/repos/ceph/ceph/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ceph/ceph/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ceph/ceph/git/refs{/sha}","trees_url":"https://api.github.com/repos/ceph/ceph/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ceph/ceph/statuses/{sha}","languages_url":"https://api.github.com/repos/ceph/ceph/languages","stargazers_url":"https://api.github.com/repos/ceph/ceph/stargazers","contributors_url":"https://api.github.com/repos/ceph/ceph/contributors","subscribers_url":"https://api.github.com/repos/ceph/ceph/subscribers","subscription_url":"https://api.github.com/repos/ceph/ceph/subscription","commits_url":"https://api.github.com/repos/ceph/ceph/commits{/sha}","git_commits_url":"https://api.github.com/repos/ceph/ceph/git/commits{/sha}","comments_url":"https://api.github.com/repos/ceph/ceph/comments{/number}","issue_comment_url":"https://api.github.com/repos/ceph/ceph/issues/comments{/number}","contents_url":"https://api.github.com/repos/ceph/ceph/contents/{+path}","compare_url":"https://api.github.com/repos/ceph/ceph/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ceph/ceph/merges","archive_url":"https://api.github.com/repos/ceph/ceph/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ceph/ceph/downloads","issues_url":"https://api.github.com/repos/ceph/ceph/issues{/number}","pulls_url":"https://api.github.com/repos/ceph/ceph/pulls{/number}","milestones_url":"https://api.github.com/repos/ceph/ceph/milestones{/number}","notifications_url":"https://api.github.com/repos/ceph/ceph/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ceph/ceph/labels{/name}","releases_url":"https://api.github.com/repos/ceph/ceph/releases{/id}","deployments_url":"https://api.github.com/repos/ceph/ceph/deployments","created_at":"2011-09-01T21:41:26Z","updated_at":"2016-02-04T19:54:16Z","pushed_at":"2016-02-04T22:52:55Z","git_url":"git://github.com/ceph/ceph.git","ssh_url":"git@github.com:ceph/ceph.git","clone_url":"https://github.com/ceph/ceph.git","svn_url":"https://github.com/ceph/ceph","homepage":"http://ceph.com","size":182046,"stargazers_count":1856,"watchers_count":1856,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1127,"mirror_url":null,"open_issues_count":247,"forks":1127,"open_issues":247,"watchers":1856,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ceph/ceph/pulls/6524"},"html":{"href":"https://github.com/ceph/ceph/pull/6524"},"issue":{"href":"https://api.github.com/repos/ceph/ceph/issues/6524"},"comments":{"href":"https://api.github.com/repos/ceph/ceph/issues/6524/comments"},"review_comments":{"href":"https://api.github.com/repos/ceph/ceph/pulls/6524/comments"},"review_comment":{"href":"https://api.github.com/repos/ceph/ceph/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ceph/ceph/pulls/6524/commits"},"statuses":{"href":"https://api.github.com/repos/ceph/ceph/statuses/eae7f25ecbcabfb95ec846f6d5c31eb5d6d0cca0"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":10,"review_comments":5,"commits":6,"additions":2271,"deletions":45,"changed_files":25}}