{"action":"opened","number":2982,"pull_request":{"url":"https://api.github.com/repos/lxc/lxd/pulls/2982","id":108449019,"html_url":"https://github.com/lxc/lxd/pull/2982","diff_url":"https://github.com/lxc/lxd/pull/2982.diff","patch_url":"https://github.com/lxc/lxd/pull/2982.patch","issue_url":"https://api.github.com/repos/lxc/lxd/issues/2982","number":2982,"state":"open","locked":false,"title":"storage_cgo: make flag argument configurable","user":{"login":"brauner","id":7353573,"avatar_url":"https://avatars3.githubusercontent.com/u/7353573?v=3","gravatar_id":"","url":"https://api.github.com/users/brauner","html_url":"https://github.com/brauner","followers_url":"https://api.github.com/users/brauner/followers","following_url":"https://api.github.com/users/brauner/following{/other_user}","gists_url":"https://api.github.com/users/brauner/gists{/gist_id}","starred_url":"https://api.github.com/users/brauner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brauner/subscriptions","organizations_url":"https://api.github.com/users/brauner/orgs","repos_url":"https://api.github.com/users/brauner/repos","events_url":"https://api.github.com/users/brauner/events{/privacy}","received_events_url":"https://api.github.com/users/brauner/received_events","type":"User","site_admin":false},"body":"For loop-backed btrfs pools we actually mount the loop device and so it's fine\r\nto use LO_FLAGS_AUTOCLEAR since the loop device is guaranteed to be kept around\r\nfor as long as the mount exists. When we implement lvm loop-backed pools\r\nhowever, we do not mount the loop device so we need to make sure that it is not\r\ndeconfigured automatically when we close all handles to it.\r\n\r\nSigned-off-by: Christian Brauner <christian.brauner@ubuntu.com>","created_at":"2017-03-01T01:26:51Z","updated_at":"2017-03-01T01:26:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/lxc/lxd/pulls/2982/commits","review_comments_url":"https://api.github.com/repos/lxc/lxd/pulls/2982/comments","review_comment_url":"https://api.github.com/repos/lxc/lxd/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lxc/lxd/issues/2982/comments","statuses_url":"https://api.github.com/repos/lxc/lxd/statuses/79a63c21b2f28971d61e2ea51ddd434f8049ed9a","head":{"label":"brauner:2017-03-01/loop_file_auto_detach","ref":"2017-03-01/loop_file_auto_detach","sha":"79a63c21b2f28971d61e2ea51ddd434f8049ed9a","user":{"login":"brauner","id":7353573,"avatar_url":"https://avatars3.githubusercontent.com/u/7353573?v=3","gravatar_id":"","url":"https://api.github.com/users/brauner","html_url":"https://github.com/brauner","followers_url":"https://api.github.com/users/brauner/followers","following_url":"https://api.github.com/users/brauner/following{/other_user}","gists_url":"https://api.github.com/users/brauner/gists{/gist_id}","starred_url":"https://api.github.com/users/brauner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brauner/subscriptions","organizations_url":"https://api.github.com/users/brauner/orgs","repos_url":"https://api.github.com/users/brauner/repos","events_url":"https://api.github.com/users/brauner/events{/privacy}","received_events_url":"https://api.github.com/users/brauner/received_events","type":"User","site_admin":false},"repo":{"id":67736764,"name":"lxd","full_name":"brauner/lxd","owner":{"login":"brauner","id":7353573,"avatar_url":"https://avatars3.githubusercontent.com/u/7353573?v=3","gravatar_id":"","url":"https://api.github.com/users/brauner","html_url":"https://github.com/brauner","followers_url":"https://api.github.com/users/brauner/followers","following_url":"https://api.github.com/users/brauner/following{/other_user}","gists_url":"https://api.github.com/users/brauner/gists{/gist_id}","starred_url":"https://api.github.com/users/brauner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brauner/subscriptions","organizations_url":"https://api.github.com/users/brauner/orgs","repos_url":"https://api.github.com/users/brauner/repos","events_url":"https://api.github.com/users/brauner/events{/privacy}","received_events_url":"https://api.github.com/users/brauner/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/brauner/lxd","description":"Daemon based on liblxc offering a REST API to manage containers","fork":true,"url":"https://api.github.com/repos/brauner/lxd","forks_url":"https://api.github.com/repos/brauner/lxd/forks","keys_url":"https://api.github.com/repos/brauner/lxd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/brauner/lxd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/brauner/lxd/teams","hooks_url":"https://api.github.com/repos/brauner/lxd/hooks","issue_events_url":"https://api.github.com/repos/brauner/lxd/issues/events{/number}","events_url":"https://api.github.com/repos/brauner/lxd/events","assignees_url":"https://api.github.com/repos/brauner/lxd/assignees{/user}","branches_url":"https://api.github.com/repos/brauner/lxd/branches{/branch}","tags_url":"https://api.github.com/repos/brauner/lxd/tags","blobs_url":"https://api.github.com/repos/brauner/lxd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/brauner/lxd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/brauner/lxd/git/refs{/sha}","trees_url":"https://api.github.com/repos/brauner/lxd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/brauner/lxd/statuses/{sha}","languages_url":"https://api.github.com/repos/brauner/lxd/languages","stargazers_url":"https://api.github.com/repos/brauner/lxd/stargazers","contributors_url":"https://api.github.com/repos/brauner/lxd/contributors","subscribers_url":"https://api.github.com/repos/brauner/lxd/subscribers","subscription_url":"https://api.github.com/repos/brauner/lxd/subscription","commits_url":"https://api.github.com/repos/brauner/lxd/commits{/sha}","git_commits_url":"https://api.github.com/repos/brauner/lxd/git/commits{/sha}","comments_url":"https://api.github.com/repos/brauner/lxd/comments{/number}","issue_comment_url":"https://api.github.com/repos/brauner/lxd/issues/comments{/number}","contents_url":"https://api.github.com/repos/brauner/lxd/contents/{+path}","compare_url":"https://api.github.com/repos/brauner/lxd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/brauner/lxd/merges","archive_url":"https://api.github.com/repos/brauner/lxd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/brauner/lxd/downloads","issues_url":"https://api.github.com/repos/brauner/lxd/issues{/number}","pulls_url":"https://api.github.com/repos/brauner/lxd/pulls{/number}","milestones_url":"https://api.github.com/repos/brauner/lxd/milestones{/number}","notifications_url":"https://api.github.com/repos/brauner/lxd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/brauner/lxd/labels{/name}","releases_url":"https://api.github.com/repos/brauner/lxd/releases{/id}","deployments_url":"https://api.github.com/repos/brauner/lxd/deployments","created_at":"2016-09-08T20:11:08Z","updated_at":"2016-09-08T20:11:10Z","pushed_at":"2017-03-01T01:26:29Z","git_url":"git://github.com/brauner/lxd.git","ssh_url":"git@github.com:brauner/lxd.git","clone_url":"https://github.com/brauner/lxd.git","svn_url":"https://github.com/brauner/lxd","homepage":"https://linuxcontainers.org/lxd","size":9707,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"lxc:master","ref":"master","sha":"945032db96c8ad9797a72458e4bf8015765b9014","user":{"login":"lxc","id":2301756,"avatar_url":"https://avatars1.githubusercontent.com/u/2301756?v=3","gravatar_id":"","url":"https://api.github.com/users/lxc","html_url":"https://github.com/lxc","followers_url":"https://api.github.com/users/lxc/followers","following_url":"https://api.github.com/users/lxc/following{/other_user}","gists_url":"https://api.github.com/users/lxc/gists{/gist_id}","starred_url":"https://api.github.com/users/lxc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lxc/subscriptions","organizations_url":"https://api.github.com/users/lxc/orgs","repos_url":"https://api.github.com/users/lxc/repos","events_url":"https://api.github.com/users/lxc/events{/privacy}","received_events_url":"https://api.github.com/users/lxc/received_events","type":"Organization","site_admin":false},"repo":{"id":26192117,"name":"lxd","full_name":"lxc/lxd","owner":{"login":"lxc","id":2301756,"avatar_url":"https://avatars1.githubusercontent.com/u/2301756?v=3","gravatar_id":"","url":"https://api.github.com/users/lxc","html_url":"https://github.com/lxc","followers_url":"https://api.github.com/users/lxc/followers","following_url":"https://api.github.com/users/lxc/following{/other_user}","gists_url":"https://api.github.com/users/lxc/gists{/gist_id}","starred_url":"https://api.github.com/users/lxc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lxc/subscriptions","organizations_url":"https://api.github.com/users/lxc/orgs","repos_url":"https://api.github.com/users/lxc/repos","events_url":"https://api.github.com/users/lxc/events{/privacy}","received_events_url":"https://api.github.com/users/lxc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/lxc/lxd","description":"Daemon based on liblxc offering a REST API to manage containers","fork":false,"url":"https://api.github.com/repos/lxc/lxd","forks_url":"https://api.github.com/repos/lxc/lxd/forks","keys_url":"https://api.github.com/repos/lxc/lxd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lxc/lxd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lxc/lxd/teams","hooks_url":"https://api.github.com/repos/lxc/lxd/hooks","issue_events_url":"https://api.github.com/repos/lxc/lxd/issues/events{/number}","events_url":"https://api.github.com/repos/lxc/lxd/events","assignees_url":"https://api.github.com/repos/lxc/lxd/assignees{/user}","branches_url":"https://api.github.com/repos/lxc/lxd/branches{/branch}","tags_url":"https://api.github.com/repos/lxc/lxd/tags","blobs_url":"https://api.github.com/repos/lxc/lxd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lxc/lxd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lxc/lxd/git/refs{/sha}","trees_url":"https://api.github.com/repos/lxc/lxd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lxc/lxd/statuses/{sha}","languages_url":"https://api.github.com/repos/lxc/lxd/languages","stargazers_url":"https://api.github.com/repos/lxc/lxd/stargazers","contributors_url":"https://api.github.com/repos/lxc/lxd/contributors","subscribers_url":"https://api.github.com/repos/lxc/lxd/subscribers","subscription_url":"https://api.github.com/repos/lxc/lxd/subscription","commits_url":"https://api.github.com/repos/lxc/lxd/commits{/sha}","git_commits_url":"https://api.github.com/repos/lxc/lxd/git/commits{/sha}","comments_url":"https://api.github.com/repos/lxc/lxd/comments{/number}","issue_comment_url":"https://api.github.com/repos/lxc/lxd/issues/comments{/number}","contents_url":"https://api.github.com/repos/lxc/lxd/contents/{+path}","compare_url":"https://api.github.com/repos/lxc/lxd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lxc/lxd/merges","archive_url":"https://api.github.com/repos/lxc/lxd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lxc/lxd/downloads","issues_url":"https://api.github.com/repos/lxc/lxd/issues{/number}","pulls_url":"https://api.github.com/repos/lxc/lxd/pulls{/number}","milestones_url":"https://api.github.com/repos/lxc/lxd/milestones{/number}","notifications_url":"https://api.github.com/repos/lxc/lxd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lxc/lxd/labels{/name}","releases_url":"https://api.github.com/repos/lxc/lxd/releases{/id}","deployments_url":"https://api.github.com/repos/lxc/lxd/deployments","created_at":"2014-11-04T22:40:52Z","updated_at":"2017-02-27T15:05:29Z","pushed_at":"2017-03-01T01:07:55Z","git_url":"git://github.com/lxc/lxd.git","ssh_url":"git@github.com:lxc/lxd.git","clone_url":"https://github.com/lxc/lxd.git","svn_url":"https://github.com/lxc/lxd","homepage":"https://linuxcontainers.org/lxd","size":9790,"stargazers_count":1271,"watchers_count":1271,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":280,"mirror_url":null,"open_issues_count":77,"forks":280,"open_issues":77,"watchers":1271,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lxc/lxd/pulls/2982"},"html":{"href":"https://github.com/lxc/lxd/pull/2982"},"issue":{"href":"https://api.github.com/repos/lxc/lxd/issues/2982"},"comments":{"href":"https://api.github.com/repos/lxc/lxd/issues/2982/comments"},"review_comments":{"href":"https://api.github.com/repos/lxc/lxd/pulls/2982/comments"},"review_comment":{"href":"https://api.github.com/repos/lxc/lxd/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lxc/lxd/pulls/2982/commits"},"statuses":{"href":"https://api.github.com/repos/lxc/lxd/statuses/79a63c21b2f28971d61e2ea51ddd434f8049ed9a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":10,"deletions":5,"changed_files":2}}
{"actor":{"display_login":"brauner"}}