Merges lstat_sync() and filephy() in Windows reduce syscalls.

This commit is contained in:
Andrea Mazzoleni 2014-10-14 22:47:21 +02:00
parent 0388c250f9
commit 55006d76f3
4 changed files with 83 additions and 64 deletions

6
TODO
View file

@ -13,12 +13,6 @@ get misinterpreted.
* Shall CreateFileW use FILE_SHARE_DELETE ?
* Merge lstat_sync() and filephy() ? This could save one CreateFileW()
but it's not clear how it will behave with ReparsePoint, like dedup files.
lsync_stat opens with BACKUP_SEMANTICS/REPARSE_POINT then instead filephy()
opens with 0.
See merge_lstat_sync_and_filephy.diff in contrib/
- Minor
* Don't insert new files if they are too recent and opened by other