Opened 10 years ago

Last modified 10 years ago

#229 new enhancement

Add creation and access time fields to struct dirent

Reported by: dmik Owned by: bird
Priority: normal Milestone: libc-0.7
Component: libc-frontend Version:
Severity: normal Keywords:


Struct dirent is already extended with some OS/2 specific file statistics information such as OS/2 attributes, size and date. It makes sense to also add the modification and last access date/time fields to this extension so that no separate stat() call is necessary at all when doing readdir(). This is in particular important on slow file systems with small caches and may significantly speed up the directory traversal in directories with thousands of files, when it is also necessary to gather statistics of these files rather than just enumerate them.

See for more details on the topic.

Change History (2)

comment:1 Changed 10 years ago by bird

Milestone: libc-0.7

comment:2 Changed 10 years ago by bird

Component: libclibc-frontend
Note: See TracTickets for help on using tickets.