{"action":"closed","number":3099,"pull_request":{"url":"https://api.github.com/repos/zfsonlinux/zfs/pulls/3099","id":29227446,"html_url":"https://github.com/zfsonlinux/zfs/pull/3099","diff_url":"https://github.com/zfsonlinux/zfs/pull/3099.diff","patch_url":"https://github.com/zfsonlinux/zfs/pull/3099.patch","issue_url":"https://api.github.com/repos/zfsonlinux/zfs/issues/3099","number":3099,"state":"closed","locked":false,"title":"Skip bad DVAs during free by setting zfs_recover=1","user":{"login":"behlendorf","id":148917,"avatar_url":"https://avatars.githubusercontent.com/u/148917?v=3","gravatar_id":"","url":"https://api.github.com/users/behlendorf","html_url":"https://github.com/behlendorf","followers_url":"https://api.github.com/users/behlendorf/followers","following_url":"https://api.github.com/users/behlendorf/following{/other_user}","gists_url":"https://api.github.com/users/behlendorf/gists{/gist_id}","starred_url":"https://api.github.com/users/behlendorf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/behlendorf/subscriptions","organizations_url":"https://api.github.com/users/behlendorf/orgs","repos_url":"https://api.github.com/users/behlendorf/repos","events_url":"https://api.github.com/users/behlendorf/events{/privacy}","received_events_url":"https://api.github.com/users/behlendorf/received_events","type":"User","site_admin":false},"body":"When a bad DVA is encountered in metaslab_free_dva() the system\r\nshould treat it as fatal.  This indicates that somehow a damaged\r\nDVA was written to disk and that should be impossible.\r\n\r\nHowever, we have seen a handful of reports over the years of pools\r\nsomehow being damaged in this way.  Since this damage can render\r\notherwise intact pools unimportable, and the consequence of skipping\r\nthe bad DVA is only leaked free space, it makes sense to provide\r\na mechanism to ignore the bad DVA.  Setting the zfs_recover=1 module\r\noption will cause the DVA to be ignored which may allow the pool to\r\nbe imported.\r\n\r\nSigned-off-by: Brian Behlendorf <behlendorf1@llnl.gov>\r\nIssue #3090\r\nIssue #2720","created_at":"2015-02-12T23:34:16Z","updated_at":"2015-02-14T00:07:13Z","closed_at":"2015-02-14T00:07:13Z","merged_at":null,"merge_commit_sha":"547bb787f90bf18cdeeb1865a54353cf2e114e05","assignee":null,"milestone":{"url":"https://api.github.com/repos/zfsonlinux/zfs/milestones/24","labels_url":"https://api.github.com/repos/zfsonlinux/zfs/milestones/24/labels","id":175735,"number":24,"title":"0.6.4","description":"ZFS on Linux v0.6.4 - Functionality / Integration","creator":{"login":"behlendorf","id":148917,"avatar_url":"https://avatars.githubusercontent.com/u/148917?v=3","gravatar_id":"","url":"https://api.github.com/users/behlendorf","html_url":"https://github.com/behlendorf","followers_url":"https://api.github.com/users/behlendorf/followers","following_url":"https://api.github.com/users/behlendorf/following{/other_user}","gists_url":"https://api.github.com/users/behlendorf/gists{/gist_id}","starred_url":"https://api.github.com/users/behlendorf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/behlendorf/subscriptions","organizations_url":"https://api.github.com/users/behlendorf/orgs","repos_url":"https://api.github.com/users/behlendorf/repos","events_url":"https://api.github.com/users/behlendorf/events{/privacy}","received_events_url":"https://api.github.com/users/behlendorf/received_events","type":"User","site_admin":false},"open_issues":16,"closed_issues":381,"state":"open","created_at":"2012-09-16T18:38:17Z","updated_at":"2015-02-14T00:07:13Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/zfsonlinux/zfs/pulls/3099/commits","review_comments_url":"https://api.github.com/repos/zfsonlinux/zfs/pulls/3099/comments","review_comment_url":"https://api.github.com/repos/zfsonlinux/zfs/pulls/comments/{number}","comments_url":"https://api.github.com/repos/zfsonlinux/zfs/issues/3099/comments","statuses_url":"https://api.github.com/repos/zfsonlinux/zfs/statuses/0c4a4625b085e1c4f3a35a31860d24e95e630f94","head":{"label":"behlendorf:issue-2720","ref":"issue-2720","sha":"0c4a4625b085e1c4f3a35a31860d24e95e630f94","user":{"login":"behlendorf","id":148917,"avatar_url":"https://avatars.githubusercontent.com/u/148917?v=3","gravatar_id":"","url":"https://api.github.com/users/behlendorf","html_url":"https://github.com/behlendorf","followers_url":"https://api.github.com/users/behlendorf/followers","following_url":"https://api.github.com/users/behlendorf/following{/other_user}","gists_url":"https://api.github.com/users/behlendorf/gists{/gist_id}","starred_url":"https://api.github.com/users/behlendorf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/behlendorf/subscriptions","organizations_url":"https://api.github.com/users/behlendorf/orgs","repos_url":"https://api.github.com/users/behlendorf/repos","events_url":"https://api.github.com/users/behlendorf/events{/privacy}","received_events_url":"https://api.github.com/users/behlendorf/received_events","type":"User","site_admin":false},"repo":{"id":2003466,"name":"zfs","full_name":"behlendorf/zfs","owner":{"login":"behlendorf","id":148917,"avatar_url":"https://avatars.githubusercontent.com/u/148917?v=3","gravatar_id":"","url":"https://api.github.com/users/behlendorf","html_url":"https://github.com/behlendorf","followers_url":"https://api.github.com/users/behlendorf/followers","following_url":"https://api.github.com/users/behlendorf/following{/other_user}","gists_url":"https://api.github.com/users/behlendorf/gists{/gist_id}","starred_url":"https://api.github.com/users/behlendorf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/behlendorf/subscriptions","organizations_url":"https://api.github.com/users/behlendorf/orgs","repos_url":"https://api.github.com/users/behlendorf/repos","events_url":"https://api.github.com/users/behlendorf/events{/privacy}","received_events_url":"https://api.github.com/users/behlendorf/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/behlendorf/zfs","description":"Native ZFS for Linux","fork":true,"url":"https://api.github.com/repos/behlendorf/zfs","forks_url":"https://api.github.com/repos/behlendorf/zfs/forks","keys_url":"https://api.github.com/repos/behlendorf/zfs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/behlendorf/zfs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/behlendorf/zfs/teams","hooks_url":"https://api.github.com/repos/behlendorf/zfs/hooks","issue_events_url":"https://api.github.com/repos/behlendorf/zfs/issues/events{/number}","events_url":"https://api.github.com/repos/behlendorf/zfs/events","assignees_url":"https://api.github.com/repos/behlendorf/zfs/assignees{/user}","branches_url":"https://api.github.com/repos/behlendorf/zfs/branches{/branch}","tags_url":"https://api.github.com/repos/behlendorf/zfs/tags","blobs_url":"https://api.github.com/repos/behlendorf/zfs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/behlendorf/zfs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/behlendorf/zfs/git/refs{/sha}","trees_url":"https://api.github.com/repos/behlendorf/zfs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/behlendorf/zfs/statuses/{sha}","languages_url":"https://api.github.com/repos/behlendorf/zfs/languages","stargazers_url":"https://api.github.com/repos/behlendorf/zfs/stargazers","contributors_url":"https://api.github.com/repos/behlendorf/zfs/contributors","subscribers_url":"https://api.github.com/repos/behlendorf/zfs/subscribers","subscription_url":"https://api.github.com/repos/behlendorf/zfs/subscription","commits_url":"https://api.github.com/repos/behlendorf/zfs/commits{/sha}","git_commits_url":"https://api.github.com/repos/behlendorf/zfs/git/commits{/sha}","comments_url":"https://api.github.com/repos/behlendorf/zfs/comments{/number}","issue_comment_url":"https://api.github.com/repos/behlendorf/zfs/issues/comments/{number}","contents_url":"https://api.github.com/repos/behlendorf/zfs/contents/{+path}","compare_url":"https://api.github.com/repos/behlendorf/zfs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/behlendorf/zfs/merges","archive_url":"https://api.github.com/repos/behlendorf/zfs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/behlendorf/zfs/downloads","issues_url":"https://api.github.com/repos/behlendorf/zfs/issues{/number}","pulls_url":"https://api.github.com/repos/behlendorf/zfs/pulls{/number}","milestones_url":"https://api.github.com/repos/behlendorf/zfs/milestones{/number}","notifications_url":"https://api.github.com/repos/behlendorf/zfs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/behlendorf/zfs/labels{/name}","releases_url":"https://api.github.com/repos/behlendorf/zfs/releases{/id}","created_at":"2011-07-05T22:51:43Z","updated_at":"2015-02-14T00:07:12Z","pushed_at":"2015-02-14T00:07:12Z","git_url":"git://github.com/behlendorf/zfs.git","ssh_url":"git@github.com:behlendorf/zfs.git","clone_url":"https://github.com/behlendorf/zfs.git","svn_url":"https://github.com/behlendorf/zfs","homepage":"http://zfsonlinux.org/","size":24917,"stargazers_count":33,"watchers_count":33,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":33,"default_branch":"master"}},"base":{"label":"zfsonlinux:master","ref":"master","sha":"e02b533e746403743297020591e4b80d614a3aae","user":{"login":"zfsonlinux","id":575083,"avatar_url":"https://avatars.githubusercontent.com/u/575083?v=3","gravatar_id":"","url":"https://api.github.com/users/zfsonlinux","html_url":"https://github.com/zfsonlinux","followers_url":"https://api.github.com/users/zfsonlinux/followers","following_url":"https://api.github.com/users/zfsonlinux/following{/other_user}","gists_url":"https://api.github.com/users/zfsonlinux/gists{/gist_id}","starred_url":"https://api.github.com/users/zfsonlinux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zfsonlinux/subscriptions","organizations_url":"https://api.github.com/users/zfsonlinux/orgs","repos_url":"https://api.github.com/users/zfsonlinux/repos","events_url":"https://api.github.com/users/zfsonlinux/events{/privacy}","received_events_url":"https://api.github.com/users/zfsonlinux/received_events","type":"Organization","site_admin":false},"repo":{"id":437011,"name":"zfs","full_name":"zfsonlinux/zfs","owner":{"login":"zfsonlinux","id":575083,"avatar_url":"https://avatars.githubusercontent.com/u/575083?v=3","gravatar_id":"","url":"https://api.github.com/users/zfsonlinux","html_url":"https://github.com/zfsonlinux","followers_url":"https://api.github.com/users/zfsonlinux/followers","following_url":"https://api.github.com/users/zfsonlinux/following{/other_user}","gists_url":"https://api.github.com/users/zfsonlinux/gists{/gist_id}","starred_url":"https://api.github.com/users/zfsonlinux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zfsonlinux/subscriptions","organizations_url":"https://api.github.com/users/zfsonlinux/orgs","repos_url":"https://api.github.com/users/zfsonlinux/repos","events_url":"https://api.github.com/users/zfsonlinux/events{/privacy}","received_events_url":"https://api.github.com/users/zfsonlinux/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zfsonlinux/zfs","description":"Native ZFS for Linux","fork":false,"url":"https://api.github.com/repos/zfsonlinux/zfs","forks_url":"https://api.github.com/repos/zfsonlinux/zfs/forks","keys_url":"https://api.github.com/repos/zfsonlinux/zfs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zfsonlinux/zfs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zfsonlinux/zfs/teams","hooks_url":"https://api.github.com/repos/zfsonlinux/zfs/hooks","issue_events_url":"https://api.github.com/repos/zfsonlinux/zfs/issues/events{/number}","events_url":"https://api.github.com/repos/zfsonlinux/zfs/events","assignees_url":"https://api.github.com/repos/zfsonlinux/zfs/assignees{/user}","branches_url":"https://api.github.com/repos/zfsonlinux/zfs/branches{/branch}","tags_url":"https://api.github.com/repos/zfsonlinux/zfs/tags","blobs_url":"https://api.github.com/repos/zfsonlinux/zfs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zfsonlinux/zfs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zfsonlinux/zfs/git/refs{/sha}","trees_url":"https://api.github.com/repos/zfsonlinux/zfs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zfsonlinux/zfs/statuses/{sha}","languages_url":"https://api.github.com/repos/zfsonlinux/zfs/languages","stargazers_url":"https://api.github.com/repos/zfsonlinux/zfs/stargazers","contributors_url":"https://api.github.com/repos/zfsonlinux/zfs/contributors","subscribers_url":"https://api.github.com/repos/zfsonlinux/zfs/subscribers","subscription_url":"https://api.github.com/repos/zfsonlinux/zfs/subscription","commits_url":"https://api.github.com/repos/zfsonlinux/zfs/commits{/sha}","git_commits_url":"https://api.github.com/repos/zfsonlinux/zfs/git/commits{/sha}","comments_url":"https://api.github.com/repos/zfsonlinux/zfs/comments{/number}","issue_comment_url":"https://api.github.com/repos/zfsonlinux/zfs/issues/comments/{number}","contents_url":"https://api.github.com/repos/zfsonlinux/zfs/contents/{+path}","compare_url":"https://api.github.com/repos/zfsonlinux/zfs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zfsonlinux/zfs/merges","archive_url":"https://api.github.com/repos/zfsonlinux/zfs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zfsonlinux/zfs/downloads","issues_url":"https://api.github.com/repos/zfsonlinux/zfs/issues{/number}","pulls_url":"https://api.github.com/repos/zfsonlinux/zfs/pulls{/number}","milestones_url":"https://api.github.com/repos/zfsonlinux/zfs/milestones{/number}","notifications_url":"https://api.github.com/repos/zfsonlinux/zfs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zfsonlinux/zfs/labels{/name}","releases_url":"https://api.github.com/repos/zfsonlinux/zfs/releases{/id}","created_at":"2009-12-14T20:20:34Z","updated_at":"2015-02-14T00:07:09Z","pushed_at":"2015-02-14T00:07:09Z","git_url":"git://github.com/zfsonlinux/zfs.git","ssh_url":"git@github.com:zfsonlinux/zfs.git","clone_url":"https://github.com/zfsonlinux/zfs.git","svn_url":"https://github.com/zfsonlinux/zfs","homepage":"http://zfsonlinux.org/","size":48944,"stargazers_count":1275,"watchers_count":1275,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":329,"mirror_url":null,"open_issues_count":664,"forks":329,"open_issues":664,"watchers":1275,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zfsonlinux/zfs/pulls/3099"},"html":{"href":"https://github.com/zfsonlinux/zfs/pull/3099"},"issue":{"href":"https://api.github.com/repos/zfsonlinux/zfs/issues/3099"},"comments":{"href":"https://api.github.com/repos/zfsonlinux/zfs/issues/3099/comments"},"review_comments":{"href":"https://api.github.com/repos/zfsonlinux/zfs/pulls/3099/comments"},"review_comment":{"href":"https://api.github.com/repos/zfsonlinux/zfs/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/zfsonlinux/zfs/pulls/3099/commits"},"statuses":{"href":"https://api.github.com/repos/zfsonlinux/zfs/statuses/0c4a4625b085e1c4f3a35a31860d24e95e630f94"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":4,"deletions":6,"changed_files":1}}