{"action":"created","issue":{"url":"https://api.github.com/repos/bluebore/bfs/issues/269","repository_url":"https://api.github.com/repos/bluebore/bfs","labels_url":"https://api.github.com/repos/bluebore/bfs/issues/269/labels{/name}","comments_url":"https://api.github.com/repos/bluebore/bfs/issues/269/comments","events_url":"https://api.github.com/repos/bluebore/bfs/issues/269/events","html_url":"https://github.com/bluebore/bfs/issues/269","id":152561829,"number":269,"title":"fuse会增加NameServer上的负载","user":{"login":"yvxiang","id":1382038,"avatar_url":"https://avatars.githubusercontent.com/u/1382038?v=3","gravatar_id":"","url":"https://api.github.com/users/yvxiang","html_url":"https://github.com/yvxiang","followers_url":"https://api.github.com/users/yvxiang/followers","following_url":"https://api.github.com/users/yvxiang/following{/other_user}","gists_url":"https://api.github.com/users/yvxiang/gists{/gist_id}","starred_url":"https://api.github.com/users/yvxiang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yvxiang/subscriptions","organizations_url":"https://api.github.com/users/yvxiang/orgs","repos_url":"https://api.github.com/users/yvxiang/repos","events_url":"https://api.github.com/users/yvxiang/events{/privacy}","received_events_url":"https://api.github.com/users/yvxiang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-02T14:13:56Z","updated_at":"2016-05-03T01:46:33Z","closed_at":null,"body":"比如` ls fuse_mount_point/stat_table/tablet00000001/`这个操作，会将整个链路中的`stat_table`, `tablet00000001`目录都stat一遍，还会将`tablet00000001`下非目录的文件做一个GetFileLocation，估计是做缓存什么的了，比如本地文件系统里会缓存一些dentry和inode，fuse估计也是走的这个逻辑\r\n然而这大大的增加了NameServer的压力，而且有些东西我们是不需要的"},"comment":{"url":"https://api.github.com/repos/bluebore/bfs/issues/comments/216413659","html_url":"https://github.com/bluebore/bfs/issues/269#issuecomment-216413659","issue_url":"https://api.github.com/repos/bluebore/bfs/issues/269","id":216413659,"user":{"login":"yvxiang","id":1382038,"avatar_url":"https://avatars.githubusercontent.com/u/1382038?v=3","gravatar_id":"","url":"https://api.github.com/users/yvxiang","html_url":"https://github.com/yvxiang","followers_url":"https://api.github.com/users/yvxiang/followers","following_url":"https://api.github.com/users/yvxiang/following{/other_user}","gists_url":"https://api.github.com/users/yvxiang/gists{/gist_id}","starred_url":"https://api.github.com/users/yvxiang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yvxiang/subscriptions","organizations_url":"https://api.github.com/users/yvxiang/orgs","repos_url":"https://api.github.com/users/yvxiang/repos","events_url":"https://api.github.com/users/yvxiang/events{/privacy}","received_events_url":"https://api.github.com/users/yvxiang/received_events","type":"User","site_admin":false},"created_at":"2016-05-03T01:46:33Z","updated_at":"2016-05-03T01:46:33Z","body":"直接opendir readdir，同样会将整个路径中的所有目录都stat一遍"}}