{"action":"created","issue":{"url":"https://api.github.com/repos/ceph/ceph/issues/7229","labels_url":"https://api.github.com/repos/ceph/ceph/issues/7229/labels{/name}","comments_url":"https://api.github.com/repos/ceph/ceph/issues/7229/comments","events_url":"https://api.github.com/repos/ceph/ceph/issues/7229/events","html_url":"https://github.com/ceph/ceph/pull/7229","id":126568107,"number":7229,"title":"ceph-fuse: double decreased the count to trim caps","user":{"login":"david-z","id":7971140,"avatar_url":"https://avatars.githubusercontent.com/u/7971140?v=3","gravatar_id":"","url":"https://api.github.com/users/david-z","html_url":"https://github.com/david-z","followers_url":"https://api.github.com/users/david-z/followers","following_url":"https://api.github.com/users/david-z/following{/other_user}","gists_url":"https://api.github.com/users/david-z/gists{/gist_id}","starred_url":"https://api.github.com/users/david-z/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/david-z/subscriptions","organizations_url":"https://api.github.com/users/david-z/orgs","repos_url":"https://api.github.com/users/david-z/repos","events_url":"https://api.github.com/users/david-z/events{/privacy}","received_events_url":"https://api.github.com/users/david-z/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ceph/ceph/labels/bug%20fix","name":"bug fix","color":"e11d21"},{"url":"https://api.github.com/repos/ceph/ceph/labels/cephfs","name":"cephfs","color":"d4c5f9"},{"url":"https://api.github.com/repos/ceph/ceph/labels/needs-qa","name":"needs-qa","color":"fad8c7"},{"url":"https://api.github.com/repos/ceph/ceph/labels/wip-greg-testing","name":"wip-greg-testing","color":"d4c5f1"}],"state":"open","locked":false,"assignee":{"login":"gregsfortytwo","id":908479,"avatar_url":"https://avatars.githubusercontent.com/u/908479?v=3","gravatar_id":"","url":"https://api.github.com/users/gregsfortytwo","html_url":"https://github.com/gregsfortytwo","followers_url":"https://api.github.com/users/gregsfortytwo/followers","following_url":"https://api.github.com/users/gregsfortytwo/following{/other_user}","gists_url":"https://api.github.com/users/gregsfortytwo/gists{/gist_id}","starred_url":"https://api.github.com/users/gregsfortytwo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gregsfortytwo/subscriptions","organizations_url":"https://api.github.com/users/gregsfortytwo/orgs","repos_url":"https://api.github.com/users/gregsfortytwo/repos","events_url":"https://api.github.com/users/gregsfortytwo/events{/privacy}","received_events_url":"https://api.github.com/users/gregsfortytwo/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2016-01-14T03:09:01Z","updated_at":"2016-01-20T02:19:10Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ceph/ceph/pulls/7229","html_url":"https://github.com/ceph/ceph/pull/7229","diff_url":"https://github.com/ceph/ceph/pull/7229.diff","patch_url":"https://github.com/ceph/ceph/pull/7229.patch"},"body":"Ceph-fuse will recalculate current caps size for each loop, so it double decreases the loop counts. Hence at most time, ceph-fuse client only trims half of expected caps number. MDS often reports the warning of failing to respond to cache pressure.\r\n\r\nBoth master and hammer branch have this issue and this fix has been tested locally on both branches, so it can be backported to hammer.\r\n\r\nFixes: #14319\r\n\r\nSigned-off-by: Zhi Zhang zhangz.david@outlook.com"},"comment":{"url":"https://api.github.com/repos/ceph/ceph/issues/comments/173062462","html_url":"https://github.com/ceph/ceph/pull/7229#issuecomment-173062462","issue_url":"https://api.github.com/repos/ceph/ceph/issues/7229","id":173062462,"user":{"login":"gregsfortytwo","id":908479,"avatar_url":"https://avatars.githubusercontent.com/u/908479?v=3","gravatar_id":"","url":"https://api.github.com/users/gregsfortytwo","html_url":"https://github.com/gregsfortytwo","followers_url":"https://api.github.com/users/gregsfortytwo/followers","following_url":"https://api.github.com/users/gregsfortytwo/following{/other_user}","gists_url":"https://api.github.com/users/gregsfortytwo/gists{/gist_id}","starred_url":"https://api.github.com/users/gregsfortytwo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gregsfortytwo/subscriptions","organizations_url":"https://api.github.com/users/gregsfortytwo/orgs","repos_url":"https://api.github.com/users/gregsfortytwo/repos","events_url":"https://api.github.com/users/gregsfortytwo/events{/privacy}","received_events_url":"https://api.github.com/users/gregsfortytwo/received_events","type":"User","site_admin":false},"created_at":"2016-01-20T02:19:10Z","updated_at":"2016-01-20T02:19:10Z","body":"http://pulpito.ceph.com/gregf-2016-01-18_18:01:09-fs-greg-fs-testing-118-1---basic-mira/"}}