{"action":"created","issue":{"url":"https://api.github.com/repos/sahib/rmlint/issues/132","labels_url":"https://api.github.com/repos/sahib/rmlint/issues/132/labels{/name}","comments_url":"https://api.github.com/repos/sahib/rmlint/issues/132/comments","events_url":"https://api.github.com/repos/sahib/rmlint/issues/132/events","html_url":"https://github.com/sahib/rmlint/issues/132","id":75214963,"number":132,"title":"Support cp --reflink for filesystem that support it.","user":{"login":"sahib","id":376651,"avatar_url":"https://avatars.githubusercontent.com/u/376651?v=3","gravatar_id":"","url":"https://api.github.com/users/sahib","html_url":"https://github.com/sahib","followers_url":"https://api.github.com/users/sahib/followers","following_url":"https://api.github.com/users/sahib/following{/other_user}","gists_url":"https://api.github.com/users/sahib/gists{/gist_id}","starred_url":"https://api.github.com/users/sahib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sahib/subscriptions","organizations_url":"https://api.github.com/users/sahib/orgs","repos_url":"https://api.github.com/users/sahib/repos","events_url":"https://api.github.com/users/sahib/events{/privacy}","received_events_url":"https://api.github.com/users/sahib/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sahib/rmlint/labels/Feature","name":"Feature","color":"02e10c"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/sahib/rmlint/milestones/3","html_url":"https://github.com/sahib/rmlint/milestones/2.3.0%20-%20Omninous%20Oscar","labels_url":"https://api.github.com/repos/sahib/rmlint/milestones/3/labels","id":1104544,"number":3,"title":"2.3.0 - Omninous Oscar","description":"New internal version.","creator":{"login":"sahib","id":376651,"avatar_url":"https://avatars.githubusercontent.com/u/376651?v=3","gravatar_id":"","url":"https://api.github.com/users/sahib","html_url":"https://github.com/sahib","followers_url":"https://api.github.com/users/sahib/followers","following_url":"https://api.github.com/users/sahib/following{/other_user}","gists_url":"https://api.github.com/users/sahib/gists{/gist_id}","starred_url":"https://api.github.com/users/sahib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sahib/subscriptions","organizations_url":"https://api.github.com/users/sahib/orgs","repos_url":"https://api.github.com/users/sahib/repos","events_url":"https://api.github.com/users/sahib/events{/privacy}","received_events_url":"https://api.github.com/users/sahib/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":7,"state":"open","created_at":"2015-05-11T10:52:34Z","updated_at":"2015-07-22T22:35:10Z","due_on":"2015-12-30T23:00:00Z","closed_at":null},"comments":3,"created_at":"2015-05-11T13:05:27Z","updated_at":"2015-07-31T23:22:57Z","closed_at":null,"body":"Support reflinks for filesystems that support it. We had this previosuly in #93.\r\nBut it was in a rough unfinished state as far as I know."},"comment":{"url":"https://api.github.com/repos/sahib/rmlint/issues/comments/126833942","html_url":"https://github.com/sahib/rmlint/issues/132#issuecomment-126833942","issue_url":"https://api.github.com/repos/sahib/rmlint/issues/132","id":126833942,"user":{"login":"phiresky","id":2303841,"avatar_url":"https://avatars.githubusercontent.com/u/2303841?v=3","gravatar_id":"","url":"https://api.github.com/users/phiresky","html_url":"https://github.com/phiresky","followers_url":"https://api.github.com/users/phiresky/followers","following_url":"https://api.github.com/users/phiresky/following{/other_user}","gists_url":"https://api.github.com/users/phiresky/gists{/gist_id}","starred_url":"https://api.github.com/users/phiresky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phiresky/subscriptions","organizations_url":"https://api.github.com/users/phiresky/orgs","repos_url":"https://api.github.com/users/phiresky/repos","events_url":"https://api.github.com/users/phiresky/events{/privacy}","received_events_url":"https://api.github.com/users/phiresky/received_events","type":"User","site_admin":false},"created_at":"2015-07-31T23:22:57Z","updated_at":"2015-07-31T23:22:57Z","body":"Thanks for the explanation!\r\n\r\n> If we used BTRFS_IOC_FILE_EXTENT_SAME then the reflinking would happen during rmlint execution rather than during post-processing by the script\r\n\r\nAh, I didn't think of that. But it could be done from the script, there just doesn't seem to be a userspace tool for it yet. (Could call `duperemove $file $duplicate` though ;)\r\n"}}