30 May
2004
30 May
'04
2:03 a.m.
On Sun, 2004-05-30 at 01:33, Christoph Hohmann wrote:
It's a bit useless to check it in most situations and it would just cause extra disk I/O if system doesn't support struct dirent->d_type field.. But since this has been asked often enough..:
How often do IMAP clients use the LIST commands, that this extra IO would cause significant slowdown?
It depends on client, many of them do it every time while checking for mails. It probably don't slow down noticeably for most people, but why do it if it's useful only for a few people?
Anyway, with that patch it is done by default if dirent->d_type exists and works. I'm not sure what operating systems do that, but I'd guess most of the new ones. Some filesystems might not support that though (NFS?).