Date: Fri, 17 Sep 1999 22:49:29 -0400 (EDT) From: "John W. DeBoskey" <jwd@unx.sas.com> To: freebsd-current@freebsd.org Cc: phk@critter.freebsd.dk (Poul-Henning Kamp) Subject: Re: An FS question perhaps... non blocking I/O. Message-ID: <199909180249.WAA25039@bb01f39.unx.sas.com> In-Reply-To: From Poul-Henning Kamp at "Sep 17, 1999 6: 2:38 pm"
next in thread | raw e-mail | index | archive | help
> In message <XFMail.990917085310.jdp@polstra.com>, John Polstra writes: > > >> ugh, why aren't you extending poll to work on files and directories to > >> get this info?? it would make MUCH more sense to extend poll to do this.. > >> > >> any specific reason why it wasn't done this way? > > > >Yes. Last time I checked, our CVS repository contained 50,000 files > >in 13,000 directories. Somehow the thought of a 63,000-element pollfd > >array leaves me cold. > > Sounds like something Bruce would do :-) He can try it on the repository here: $ find . -type d | wc -l 8764 $ find . -type f | wc -l 586382 $ It would be one expensive call with that many elements to scan... > > - -- > Poul-Henning Kamp FreeBSD coreteam member > phk@FreeBSD.ORG "Real hackers run -current on their laptop." > FreeBSD -- It will take a long time before progress goes too far! > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > > ------------------------------ > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199909180249.WAA25039>