{"action":"created","comment":{"url":"https://api.github.com/repos/oVirt/ovirt-site/pulls/comments/75142539","id":75142539,"diff_hunk":"@@ -0,0 +1,84 @@\n+---\n+title: WipeVolumeUsingBlkdiscard\n+authors: ishaby\n+wiki_title: Features/WipeVolumeUsingBlkdiscard\n+feature_name: Wipe volume using blkdiscard\n+feature_modules: vdsm\n+feature_status: Work in progress for oVirt 4.1\n+---\n+\n+# Wipe volume using blkdiscard\n+\n+## Summary\n+\n+### How volumes are wiped today\n+When a disk on a block domain has its ***Wipe After Delete*** property enabled and it is removed, vdsm first wipes its volumes (writes zeros on them) and only then removes them.<br/>\n+Today, vdsm uses the `dd` linux command to wipe volumes.\n+\n+### What can be improved\n+The problem with using `dd` to wipe volumes is that it is **very slow** (~ 7 minutes to wipe a 10GB volume on netapp in a simple development environment).<br/>\n+To zero volumes more efficiently, vdsm can use the `blkdiscard` command from the *util-linux* package, which can run up to ~ 10 times faster.\n+\n+### For whom is this feature useful\n+This feature is useful for users that have their disks' *Wipe After Delete* property enabled and wish to wipe them faster when they are removed.\n+\n+\n+## Owner\n+* Idan Shaby\n+* Email: <ishaby@redhat.com>\n+\n+\n+## Current status\n+This feature is on research and is planned for oVirt 4.1.\n+\n+* It seems like `blkdiscard -z` sometimes fails when we run it from vdsm instead of `dd`.\n+* The next thing we need to check is whether the failure is related to the priority we give it when running it using `execCmd`.","path":"source/develop/release-management/features/storage/wipe-volume-using-blkdiscard.html.md","position":35,"original_position":35,"commit_id":"552d20455be88b789009961167db9466a3ddcef7","original_commit_id":"552d20455be88b789009961167db9466a3ddcef7","user":{"login":"mureinik","id":4173849,"avatar_url":"https://avatars.githubusercontent.com/u/4173849?v=3","gravatar_id":"","url":"https://api.github.com/users/mureinik","html_url":"https://github.com/mureinik","followers_url":"https://api.github.com/users/mureinik/followers","following_url":"https://api.github.com/users/mureinik/following{/other_user}","gists_url":"https://api.github.com/users/mureinik/gists{/gist_id}","starred_url":"https://api.github.com/users/mureinik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mureinik/subscriptions","organizations_url":"https://api.github.com/users/mureinik/orgs","repos_url":"https://api.github.com/users/mureinik/repos","events_url":"https://api.github.com/users/mureinik/events{/privacy}","received_events_url":"https://api.github.com/users/mureinik/received_events","type":"User","site_admin":false},"body":"who are we?","created_at":"2016-08-17T15:12:42Z","updated_at":"2016-08-17T15:12:42Z","html_url":"https://github.com/oVirt/ovirt-site/pull/413#discussion_r75142539","pull_request_url":"https://api.github.com/repos/oVirt/ovirt-site/pulls/413","_links":{"self":{"href":"https://api.github.com/repos/oVirt/ovirt-site/pulls/comments/75142539"},"html":{"href":"https://github.com/oVirt/ovirt-site/pull/413#discussion_r75142539"},"pull_request":{"href":"https://api.github.com/repos/oVirt/ovirt-site/pulls/413"}}},"pull_request":{"url":"https://api.github.com/repos/oVirt/ovirt-site/pulls/413","id":81654231,"html_url":"https://github.com/oVirt/ovirt-site/pull/413","diff_url":"https://github.com/oVirt/ovirt-site/pull/413.diff","patch_url":"https://github.com/oVirt/ovirt-site/pull/413.patch","issue_url":"https://api.github.com/repos/oVirt/ovirt-site/issues/413","number":413,"state":"open","locked":false,"title":"Wipe volume using blkdiscard","user":{"login":"idanshaby","id":6280051,"avatar_url":"https://avatars.githubusercontent.com/u/6280051?v=3","gravatar_id":"","url":"https://api.github.com/users/idanshaby","html_url":"https://github.com/idanshaby","followers_url":"https://api.github.com/users/idanshaby/followers","following_url":"https://api.github.com/users/idanshaby/following{/other_user}","gists_url":"https://api.github.com/users/idanshaby/gists{/gist_id}","starred_url":"https://api.github.com/users/idanshaby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/idanshaby/subscriptions","organizations_url":"https://api.github.com/users/idanshaby/orgs","repos_url":"https://api.github.com/users/idanshaby/repos","events_url":"https://api.github.com/users/idanshaby/events{/privacy}","received_events_url":"https://api.github.com/users/idanshaby/received_events","type":"User","site_admin":false},"body":"Changes proposed in this pull request:\r\nIntroduce a new feature page - *Wipe volume using blkdiscard*.\r\n\r\nI confirm that this pull request was submitted according to the [contribution guidelines](/.github/CONTRIBUTING.md): @idanshaby\r\n\r\nThis pull request needs review by: @mureinik @mykaul @nirs @rollandf @tnisan \r\n\r\n","created_at":"2016-08-17T14:35:00Z","updated_at":"2016-08-17T15:12:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"89a9bf64ad47df179e7455624df68f7ead200efa","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/oVirt/ovirt-site/pulls/413/commits","review_comments_url":"https://api.github.com/repos/oVirt/ovirt-site/pulls/413/comments","review_comment_url":"https://api.github.com/repos/oVirt/ovirt-site/pulls/comments{/number}","comments_url":"https://api.github.com/repos/oVirt/ovirt-site/issues/413/comments","statuses_url":"https://api.github.com/repos/oVirt/ovirt-site/statuses/552d20455be88b789009961167db9466a3ddcef7","head":{"label":"idanshaby:wipe_volume_using_blkdiscard","ref":"wipe_volume_using_blkdiscard","sha":"552d20455be88b789009961167db9466a3ddcef7","user":{"login":"idanshaby","id":6280051,"avatar_url":"https://avatars.githubusercontent.com/u/6280051?v=3","gravatar_id":"","url":"https://api.github.com/users/idanshaby","html_url":"https://github.com/idanshaby","followers_url":"https://api.github.com/users/idanshaby/followers","following_url":"https://api.github.com/users/idanshaby/following{/other_user}","gists_url":"https://api.github.com/users/idanshaby/gists{/gist_id}","starred_url":"https://api.github.com/users/idanshaby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/idanshaby/subscriptions","organizations_url":"https://api.github.com/users/idanshaby/orgs","repos_url":"https://api.github.com/users/idanshaby/repos","events_url":"https://api.github.com/users/idanshaby/events{/privacy}","received_events_url":"https://api.github.com/users/idanshaby/received_events","type":"User","site_admin":false},"repo":{"id":63596967,"name":"ovirt-site","full_name":"idanshaby/ovirt-site","owner":{"login":"idanshaby","id":6280051,"avatar_url":"https://avatars.githubusercontent.com/u/6280051?v=3","gravatar_id":"","url":"https://api.github.com/users/idanshaby","html_url":"https://github.com/idanshaby","followers_url":"https://api.github.com/users/idanshaby/followers","following_url":"https://api.github.com/users/idanshaby/following{/other_user}","gists_url":"https://api.github.com/users/idanshaby/gists{/gist_id}","starred_url":"https://api.github.com/users/idanshaby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/idanshaby/subscriptions","organizations_url":"https://api.github.com/users/idanshaby/orgs","repos_url":"https://api.github.com/users/idanshaby/repos","events_url":"https://api.github.com/users/idanshaby/events{/privacy}","received_events_url":"https://api.github.com/users/idanshaby/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/idanshaby/ovirt-site","description":"oVirt website","fork":true,"url":"https://api.github.com/repos/idanshaby/ovirt-site","forks_url":"https://api.github.com/repos/idanshaby/ovirt-site/forks","keys_url":"https://api.github.com/repos/idanshaby/ovirt-site/keys{/key_id}","collaborators_url":"https://api.github.com/repos/idanshaby/ovirt-site/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/idanshaby/ovirt-site/teams","hooks_url":"https://api.github.com/repos/idanshaby/ovirt-site/hooks","issue_events_url":"https://api.github.com/repos/idanshaby/ovirt-site/issues/events{/number}","events_url":"https://api.github.com/repos/idanshaby/ovirt-site/events","assignees_url":"https://api.github.com/repos/idanshaby/ovirt-site/assignees{/user}","branches_url":"https://api.github.com/repos/idanshaby/ovirt-site/branches{/branch}","tags_url":"https://api.github.com/repos/idanshaby/ovirt-site/tags","blobs_url":"https://api.github.com/repos/idanshaby/ovirt-site/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/idanshaby/ovirt-site/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/idanshaby/ovirt-site/git/refs{/sha}","trees_url":"https://api.github.com/repos/idanshaby/ovirt-site/git/trees{/sha}","statuses_url":"https://api.github.com/repos/idanshaby/ovirt-site/statuses/{sha}","languages_url":"https://api.github.com/repos/idanshaby/ovirt-site/languages","stargazers_url":"https://api.github.com/repos/idanshaby/ovirt-site/stargazers","contributors_url":"https://api.github.com/repos/idanshaby/ovirt-site/contributors","subscribers_url":"https://api.github.com/repos/idanshaby/ovirt-site/subscribers","subscription_url":"https://api.github.com/repos/idanshaby/ovirt-site/subscription","commits_url":"https://api.github.com/repos/idanshaby/ovirt-site/commits{/sha}","git_commits_url":"https://api.github.com/repos/idanshaby/ovirt-site/git/commits{/sha}","comments_url":"https://api.github.com/repos/idanshaby/ovirt-site/comments{/number}","issue_comment_url":"https://api.github.com/repos/idanshaby/ovirt-site/issues/comments{/number}","contents_url":"https://api.github.com/repos/idanshaby/ovirt-site/contents/{+path}","compare_url":"https://api.github.com/repos/idanshaby/ovirt-site/compare/{base}...{head}","merges_url":"https://api.github.com/repos/idanshaby/ovirt-site/merges","archive_url":"https://api.github.com/repos/idanshaby/ovirt-site/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/idanshaby/ovirt-site/downloads","issues_url":"https://api.github.com/repos/idanshaby/ovirt-site/issues{/number}","pulls_url":"https://api.github.com/repos/idanshaby/ovirt-site/pulls{/number}","milestones_url":"https://api.github.com/repos/idanshaby/ovirt-site/milestones{/number}","notifications_url":"https://api.github.com/repos/idanshaby/ovirt-site/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/idanshaby/ovirt-site/labels{/name}","releases_url":"https://api.github.com/repos/idanshaby/ovirt-site/releases{/id}","deployments_url":"https://api.github.com/repos/idanshaby/ovirt-site/deployments","created_at":"2016-07-18T11:21:34Z","updated_at":"2016-07-18T11:21:39Z","pushed_at":"2016-08-17T14:37:47Z","git_url":"git://github.com/idanshaby/ovirt-site.git","ssh_url":"git@github.com:idanshaby/ovirt-site.git","clone_url":"https://github.com/idanshaby/ovirt-site.git","svn_url":"https://github.com/idanshaby/ovirt-site","homepage":"http://www.ovirt.org/","size":43656,"stargazers_count":0,"watchers_count":0,"language":"HTML","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":"oVirt:master","ref":"master","sha":"88454c5fbd6ffe26ac8ebb83c321b7a68da9211a","user":{"login":"oVirt","id":1318634,"avatar_url":"https://avatars.githubusercontent.com/u/1318634?v=3","gravatar_id":"","url":"https://api.github.com/users/oVirt","html_url":"https://github.com/oVirt","followers_url":"https://api.github.com/users/oVirt/followers","following_url":"https://api.github.com/users/oVirt/following{/other_user}","gists_url":"https://api.github.com/users/oVirt/gists{/gist_id}","starred_url":"https://api.github.com/users/oVirt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oVirt/subscriptions","organizations_url":"https://api.github.com/users/oVirt/orgs","repos_url":"https://api.github.com/users/oVirt/repos","events_url":"https://api.github.com/users/oVirt/events{/privacy}","received_events_url":"https://api.github.com/users/oVirt/received_events","type":"Organization","site_admin":false},"repo":{"id":47401658,"name":"ovirt-site","full_name":"oVirt/ovirt-site","owner":{"login":"oVirt","id":1318634,"avatar_url":"https://avatars.githubusercontent.com/u/1318634?v=3","gravatar_id":"","url":"https://api.github.com/users/oVirt","html_url":"https://github.com/oVirt","followers_url":"https://api.github.com/users/oVirt/followers","following_url":"https://api.github.com/users/oVirt/following{/other_user}","gists_url":"https://api.github.com/users/oVirt/gists{/gist_id}","starred_url":"https://api.github.com/users/oVirt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oVirt/subscriptions","organizations_url":"https://api.github.com/users/oVirt/orgs","repos_url":"https://api.github.com/users/oVirt/repos","events_url":"https://api.github.com/users/oVirt/events{/privacy}","received_events_url":"https://api.github.com/users/oVirt/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/oVirt/ovirt-site","description":"oVirt website","fork":false,"url":"https://api.github.com/repos/oVirt/ovirt-site","forks_url":"https://api.github.com/repos/oVirt/ovirt-site/forks","keys_url":"https://api.github.com/repos/oVirt/ovirt-site/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oVirt/ovirt-site/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oVirt/ovirt-site/teams","hooks_url":"https://api.github.com/repos/oVirt/ovirt-site/hooks","issue_events_url":"https://api.github.com/repos/oVirt/ovirt-site/issues/events{/number}","events_url":"https://api.github.com/repos/oVirt/ovirt-site/events","assignees_url":"https://api.github.com/repos/oVirt/ovirt-site/assignees{/user}","branches_url":"https://api.github.com/repos/oVirt/ovirt-site/branches{/branch}","tags_url":"https://api.github.com/repos/oVirt/ovirt-site/tags","blobs_url":"https://api.github.com/repos/oVirt/ovirt-site/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oVirt/ovirt-site/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oVirt/ovirt-site/git/refs{/sha}","trees_url":"https://api.github.com/repos/oVirt/ovirt-site/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oVirt/ovirt-site/statuses/{sha}","languages_url":"https://api.github.com/repos/oVirt/ovirt-site/languages","stargazers_url":"https://api.github.com/repos/oVirt/ovirt-site/stargazers","contributors_url":"https://api.github.com/repos/oVirt/ovirt-site/contributors","subscribers_url":"https://api.github.com/repos/oVirt/ovirt-site/subscribers","subscription_url":"https://api.github.com/repos/oVirt/ovirt-site/subscription","commits_url":"https://api.github.com/repos/oVirt/ovirt-site/commits{/sha}","git_commits_url":"https://api.github.com/repos/oVirt/ovirt-site/git/commits{/sha}","comments_url":"https://api.github.com/repos/oVirt/ovirt-site/comments{/number}","issue_comment_url":"https://api.github.com/repos/oVirt/ovirt-site/issues/comments{/number}","contents_url":"https://api.github.com/repos/oVirt/ovirt-site/contents/{+path}","compare_url":"https://api.github.com/repos/oVirt/ovirt-site/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oVirt/ovirt-site/merges","archive_url":"https://api.github.com/repos/oVirt/ovirt-site/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oVirt/ovirt-site/downloads","issues_url":"https://api.github.com/repos/oVirt/ovirt-site/issues{/number}","pulls_url":"https://api.github.com/repos/oVirt/ovirt-site/pulls{/number}","milestones_url":"https://api.github.com/repos/oVirt/ovirt-site/milestones{/number}","notifications_url":"https://api.github.com/repos/oVirt/ovirt-site/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oVirt/ovirt-site/labels{/name}","releases_url":"https://api.github.com/repos/oVirt/ovirt-site/releases{/id}","deployments_url":"https://api.github.com/repos/oVirt/ovirt-site/deployments","created_at":"2015-12-04T12:05:58Z","updated_at":"2016-08-07T17:16:32Z","pushed_at":"2016-08-17T14:35:01Z","git_url":"git://github.com/oVirt/ovirt-site.git","ssh_url":"git@github.com:oVirt/ovirt-site.git","clone_url":"https://github.com/oVirt/ovirt-site.git","svn_url":"https://github.com/oVirt/ovirt-site","homepage":"http://www.ovirt.org/","size":44223,"stargazers_count":16,"watchers_count":16,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":89,"mirror_url":null,"open_issues_count":41,"forks":89,"open_issues":41,"watchers":16,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/oVirt/ovirt-site/pulls/413"},"html":{"href":"https://github.com/oVirt/ovirt-site/pull/413"},"issue":{"href":"https://api.github.com/repos/oVirt/ovirt-site/issues/413"},"comments":{"href":"https://api.github.com/repos/oVirt/ovirt-site/issues/413/comments"},"review_comments":{"href":"https://api.github.com/repos/oVirt/ovirt-site/pulls/413/comments"},"review_comment":{"href":"https://api.github.com/repos/oVirt/ovirt-site/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/oVirt/ovirt-site/pulls/413/commits"},"statuses":{"href":"https://api.github.com/repos/oVirt/ovirt-site/statuses/552d20455be88b789009961167db9466a3ddcef7"}}}}
{"actor":{"display_login":"mureinik"}}