{"action":"created","issue":{"url":"https://api.github.com/repos/dokan-dev/dokany/issues/308","repository_url":"https://api.github.com/repos/dokan-dev/dokany","labels_url":"https://api.github.com/repos/dokan-dev/dokany/issues/308/labels{/name}","comments_url":"https://api.github.com/repos/dokan-dev/dokany/issues/308/comments","events_url":"https://api.github.com/repos/dokan-dev/dokany/issues/308/events","html_url":"https://github.com/dokan-dev/dokany/issues/308","id":169086903,"number":308,"title":"FindFirstFile with a file => full parsing of the parent directory until the mounted root","user":{"login":"EpsilonXX","id":15139572,"avatar_url":"https://avatars.githubusercontent.com/u/15139572?v=3","gravatar_id":"","url":"https://api.github.com/users/EpsilonXX","html_url":"https://github.com/EpsilonXX","followers_url":"https://api.github.com/users/EpsilonXX/followers","following_url":"https://api.github.com/users/EpsilonXX/following{/other_user}","gists_url":"https://api.github.com/users/EpsilonXX/gists{/gist_id}","starred_url":"https://api.github.com/users/EpsilonXX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EpsilonXX/subscriptions","organizations_url":"https://api.github.com/users/EpsilonXX/orgs","repos_url":"https://api.github.com/users/EpsilonXX/repos","events_url":"https://api.github.com/users/EpsilonXX/events{/privacy}","received_events_url":"https://api.github.com/users/EpsilonXX/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dokan-dev/dokany/labels/Informations%20required","name":"Informations required","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2016-08-03T09:26:39Z","updated_at":"2016-09-07T09:25:37Z","closed_at":null,"body":"# Environment\r\n * Windows version: Win7\r\n * Processor architecture: x64\r\n * Dokany version: RC3\r\n * Library type (Dokany/FUSE): Dokany\r\n \r\n# Check List\r\n  - [*] I checked my issue\r\n  - [*] My issue is valid with mirror default sample and not specific to my user-mode driver implementation\r\n  - [*] I can always reproduce the issue with the provided description below.\r\n  - [*] I have updated Dokany to the latest version (https://github.com/dokan-dev/dokany/releases) and have reboot my computer after.\r\n\r\n# Description\r\nHi ,\r\n\r\nI've a question regarding the behavior of FindFirstFile with a file.\r\nIn RC3 ,(I didn't test with previous version) ,when you call a FindFirstFile with a file as an argument,\r\nDokan parses the directory of the file to find the match  (normal) but continues with the parent of the directory etc to reach the mounted root. (it doesn't happen with the Dokan 0.6)\r\nIs it an expected behavior of Windows (for caching or something else)  or a bug introduced recently ?\r\n\r\nFor Instance ,I created these folders h:\\TestFindFile\\A\\B\\C\\D\\E\\F\\G\\H with files a.txt,b.txt,c.txt,d.txt in the H folder and called\r\n    WIN32_FIND_DATA fdata;\r\n    HANDLE handle = FindFirstFile(L\"Q:\\\\A\\\\B\\\\C\\\\D\\\\E\\\\F\\\\G\\\\H\\\\b.txt\", &fdata);\r\n    FindClose(handle);\r\n\r\nfrom the logs (see mirrorfindFileRC3.txt):\r\nFindFiles :h:\\TestFindFile\\A\\B\\C\\D\\E\\F\\G\r\n    FindFiles :h:\\TestFindFile\\A\\B\\C\\D\\E\\F\r\n       FindFiles :h:\\TestFindFile\\A\\B\\C\\D\\E\r\netc\r\n\r\nIt's a major performance issue when you have many files and folders inside.\r\nAny ideas,\r\n\r\nThx\r\n\r\n# Logs\r\n[mirrorfindFileRC3.txt](https://github.com/dokan-dev/dokany/files/399066/mirrorfindFileRC3.txt)\r\n"},"comment":{"url":"https://api.github.com/repos/dokan-dev/dokany/issues/comments/245225203","html_url":"https://github.com/dokan-dev/dokany/issues/308#issuecomment-245225203","issue_url":"https://api.github.com/repos/dokan-dev/dokany/issues/308","id":245225203,"user":{"login":"Liryna","id":4311419,"avatar_url":"https://avatars.githubusercontent.com/u/4311419?v=3","gravatar_id":"","url":"https://api.github.com/users/Liryna","html_url":"https://github.com/Liryna","followers_url":"https://api.github.com/users/Liryna/followers","following_url":"https://api.github.com/users/Liryna/following{/other_user}","gists_url":"https://api.github.com/users/Liryna/gists{/gist_id}","starred_url":"https://api.github.com/users/Liryna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Liryna/subscriptions","organizations_url":"https://api.github.com/users/Liryna/orgs","repos_url":"https://api.github.com/users/Liryna/repos","events_url":"https://api.github.com/users/Liryna/events{/privacy}","received_events_url":"https://api.github.com/users/Liryna/received_events","type":"User","site_admin":false},"created_at":"2016-09-07T09:25:37Z","updated_at":"2016-09-07T09:25:37Z","body":"@magol are you able to build dokan and test it on windows 7 ?\r\nwould be nice if it is between this two commit https://github.com/dokan-dev/dokany/compare/a815463467b8b08405b8a55b69704e544b61c9cf...3083fdda2e04d8fc798a7d6cb9eafceafa8bdbaa"}}
{"actor":{"display_login":"Liryna"}}