{"action":"created","issue":{"url":"https://api.github.com/repos/zfsonlinux/zfs/issues/4769","repository_url":"https://api.github.com/repos/zfsonlinux/zfs","labels_url":"https://api.github.com/repos/zfsonlinux/zfs/issues/4769/labels{/name}","comments_url":"https://api.github.com/repos/zfsonlinux/zfs/issues/4769/comments","events_url":"https://api.github.com/repos/zfsonlinux/zfs/issues/4769/events","html_url":"https://github.com/zfsonlinux/zfs/pull/4769","id":160883141,"number":4769,"title":"4.6 Compat: Fall back to d_prune_aliases() if necessary","user":{"login":"dweeezil","id":1432005,"avatar_url":"https://avatars.githubusercontent.com/u/1432005?v=3","gravatar_id":"","url":"https://api.github.com/users/dweeezil","html_url":"https://github.com/dweeezil","followers_url":"https://api.github.com/users/dweeezil/followers","following_url":"https://api.github.com/users/dweeezil/following{/other_user}","gists_url":"https://api.github.com/users/dweeezil/gists{/gist_id}","starred_url":"https://api.github.com/users/dweeezil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dweeezil/subscriptions","organizations_url":"https://api.github.com/users/dweeezil/orgs","repos_url":"https://api.github.com/users/dweeezil/repos","events_url":"https://api.github.com/users/dweeezil/events{/privacy}","received_events_url":"https://api.github.com/users/dweeezil/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-06-17T13:02:54Z","updated_at":"2016-06-17T20:14:44Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/zfsonlinux/zfs/pulls/4769","html_url":"https://github.com/zfsonlinux/zfs/pull/4769","diff_url":"https://github.com/zfsonlinux/zfs/pull/4769.diff","patch_url":"https://github.com/zfsonlinux/zfs/pull/4769.patch"},"body":"As of 4.6, the icache and dcache LRUs are memcg aware insofar as the\r\nkernel's per-superblock shrinker is concerned.  The effect is that dcache\r\nor icache entries added by a task in a non-root memcg won't be scanned\r\nby the shrinker in the context of the root (or NULL) memcg.  This defeats\r\nthe attempts by zfs_sb_prune() to unpin buffers and can allow metadata to\r\ngrow uncontrollably.  This patch reverts to the d_prune_aliaes() method\r\nin case the kernel's per-superblock shrinker is not able to free anything.\r\n\r\nFixes: #4726"},"comment":{"url":"https://api.github.com/repos/zfsonlinux/zfs/issues/comments/226870589","html_url":"https://github.com/zfsonlinux/zfs/pull/4769#issuecomment-226870589","issue_url":"https://api.github.com/repos/zfsonlinux/zfs/issues/4769","id":226870589,"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},"created_at":"2016-06-17T20:14:44Z","updated_at":"2016-06-17T20:14:44Z","body":"@dweeezil let me know if your happy with this as the final patch and I'll merge it."}}
{"actor":{"display_login":"behlendorf"}}