{"action":"created","issue":{"url":"https://api.github.com/repos/ceph/ceph/issues/6683","labels_url":"https://api.github.com/repos/ceph/ceph/issues/6683/labels{/name}","comments_url":"https://api.github.com/repos/ceph/ceph/issues/6683/comments","events_url":"https://api.github.com/repos/ceph/ceph/issues/6683/events","html_url":"https://github.com/ceph/ceph/pull/6683","id":118411655,"number":6683,"title":"osd: Replace stat() calls with access() in case of lookup only","user":{"login":"varadakari","id":7455673,"avatar_url":"https://avatars.githubusercontent.com/u/7455673?v=3","gravatar_id":"","url":"https://api.github.com/users/varadakari","html_url":"https://github.com/varadakari","followers_url":"https://api.github.com/users/varadakari/followers","following_url":"https://api.github.com/users/varadakari/following{/other_user}","gists_url":"https://api.github.com/users/varadakari/gists{/gist_id}","starred_url":"https://api.github.com/users/varadakari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/varadakari/subscriptions","organizations_url":"https://api.github.com/users/varadakari/orgs","repos_url":"https://api.github.com/users/varadakari/repos","events_url":"https://api.github.com/users/varadakari/events{/privacy}","received_events_url":"https://api.github.com/users/varadakari/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ceph/ceph/labels/core","name":"core","color":"0052cc"},{"url":"https://api.github.com/repos/ceph/ceph/labels/performance","name":"performance","color":"bfdadc"}],"state":"open","locked":false,"assignee":{"login":"liewegas","id":433031,"avatar_url":"https://avatars.githubusercontent.com/u/433031?v=3","gravatar_id":"","url":"https://api.github.com/users/liewegas","html_url":"https://github.com/liewegas","followers_url":"https://api.github.com/users/liewegas/followers","following_url":"https://api.github.com/users/liewegas/following{/other_user}","gists_url":"https://api.github.com/users/liewegas/gists{/gist_id}","starred_url":"https://api.github.com/users/liewegas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liewegas/subscriptions","organizations_url":"https://api.github.com/users/liewegas/orgs","repos_url":"https://api.github.com/users/liewegas/repos","events_url":"https://api.github.com/users/liewegas/events{/privacy}","received_events_url":"https://api.github.com/users/liewegas/received_events","type":"User","site_admin":false},"milestone":null,"comments":9,"created_at":"2015-11-23T15:57:25Z","updated_at":"2015-11-26T02:54:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ceph/ceph/pulls/6683","html_url":"https://github.com/ceph/ceph/pull/6683","diff_url":"https://github.com/ceph/ceph/pull/6683.diff","patch_url":"https://github.com/ceph/ceph/pull/6683.patch"},"body":"Replace stat() with access() if we are checking only existence of the path.\r\n\r\nSigned-off-by: Varada Kari <varada.kari@sandisk.com>"},"comment":{"url":"https://api.github.com/repos/ceph/ceph/issues/comments/159788273","html_url":"https://github.com/ceph/ceph/pull/6683#issuecomment-159788273","issue_url":"https://api.github.com/repos/ceph/ceph/issues/6683","id":159788273,"user":{"login":"yuyuyu101","id":980577,"avatar_url":"https://avatars.githubusercontent.com/u/980577?v=3","gravatar_id":"","url":"https://api.github.com/users/yuyuyu101","html_url":"https://github.com/yuyuyu101","followers_url":"https://api.github.com/users/yuyuyu101/followers","following_url":"https://api.github.com/users/yuyuyu101/following{/other_user}","gists_url":"https://api.github.com/users/yuyuyu101/gists{/gist_id}","starred_url":"https://api.github.com/users/yuyuyu101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuyuyu101/subscriptions","organizations_url":"https://api.github.com/users/yuyuyu101/orgs","repos_url":"https://api.github.com/users/yuyuyu101/repos","events_url":"https://api.github.com/users/yuyuyu101/events{/privacy}","received_events_url":"https://api.github.com/users/yuyuyu101/received_events","type":"User","site_admin":false},"created_at":"2015-11-26T02:54:03Z","updated_at":"2015-11-26T02:54:03Z","body":"Hmm, I also tested locally, performance degraded happeded. access is slower than 50% compared to stat. I checked the internal impl for stat and access. It seemed that access do a lot of security check than stat.   "}}