[PATCH v2 0/8] Improve rm speed

Ben Wijen ben@wijen.net
Wed Jan 20 16:10:48 GMT 2021


Hi,

I think I got all remarks, please let me know if I missed something.

I'm still thinking on a better way to use fs_info::update cache,
but it requires more testing.


Thank you,

Ben Wijen (8):
  syscalls.cc: unlink_nt: Try FILE_DISPOSITION_IGNORE_READONLY_ATTRIBUTE
  syscalls.cc: Deduplicate remove
  Cygwin: Move post-dir unlink check
  syscalls.cc: Implement non-path_conv dependent _unlink_nt
  path.cc: Allow to skip filesystem checks
  syscalls.cc: Expose shallow-pathconv unlink_nt
  dir.cc: Try unlink_nt first
  fhandler_disk_file.cc: Use path_conv's IndexNumber

 winsup/cygwin/dir.cc                |  12 +-
 winsup/cygwin/fhandler_disk_file.cc |  48 +---
 winsup/cygwin/forkable.cc           |   4 +-
 winsup/cygwin/ntdll.h               |   3 +-
 winsup/cygwin/path.cc               |   7 +-
 winsup/cygwin/path.h                |   2 +
 winsup/cygwin/syscalls.cc           | 346 +++++++++++++++++++++++-----
 winsup/cygwin/wincap.cc             |  11 +
 winsup/cygwin/wincap.h              |  56 ++---
 9 files changed, 354 insertions(+), 135 deletions(-)

-- 
2.30.0



More information about the Cygwin-patches mailing list