This is the mail archive of the
cygwin-cvs@cygwin.com
mailing list for the Cygwin project.
src/winsup/cygwin ChangeLog fhandler_disk_file.cc
- From: corinna at cygwin dot com
- To: cygwin-cvs at cygwin dot com
- Date: 28 Jan 2006 13:41:22 -0000
- Subject: src/winsup/cygwin ChangeLog fhandler_disk_file.cc
CVSROOT: /cvs/src
Module name: src
Changes by: corinna@sourceware.org 2006-01-28 13:41:22
Modified files:
winsup/cygwin : ChangeLog fhandler_disk_file.cc
Log message:
* fhandler_disk_file.cc (DIR_NUM_ENTRIES): New define determining
minimum number of dir entries which fit into the readdir cache.
(DIR_BUF_SIZE): Define globally as size of readdir cache.
(struct __DIR_cache): New structure used for readdir caching on NT.
(d_dirname): Accessor for struct __DIR_cache, use throughout.
(d_pos): Ditto.
(d_cache): Ditto.
(fhandler_disk_file::opendir): Allocate __d_dirname to contain readdir
cache on NT.
(fhandler_disk_file::readdir): Use buf as pointer into readdir cache.
Implement readdir caching.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.3359&r2=1.3360
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_disk_file.cc.diff?cvsroot=src&r1=1.158&r2=1.159