stat64() calls of files in underlaying directories?

Guus Houtzager <[email protected]> Tue, 12 Jul 2005 17:13:28 +0200
Newsgroups gmane.comp.gnome.apps.gqview.user
Message-ID <1121181208.2662.39.camel@localhost>
Hi,

I don't know if I configged gqview wrong or if it's supposed to work
like this, but I find it very annoying. I'm running 2.0.0 from debian
unstable.
What happens is this:
My directory structure is as follows:
I have mounted via nfs my pictures directory on my workstation
(noatime). There are about 15.000 pictures in there of all kinds of
stuff, too lazy to sort them :) Below that are holiday/2004,
holiday/2005 etc.
What happens is if I'm looking at /pictures/holiday/2004 and switch
to /pictures/holiday/2005 gqview starts doing stat64() calls (confirmed
with strace -p on the process) on all files in /pictures. That takes
more than a minute and is very annoying to say the least and happens on
every directory switch.
Any idea why gqview is doing this? More information available on
request.

Tia!

-- 
Guus Houtzager                           Email: [email protected]
PGP fingerprint = 5E E6 96 35 F0 64 34 14  CC 03 2B 36 71 FB 4B 5D
Early to rise, early to bed, makes a man healthy, wealthy and dead.
        --Rincewind, The Light Fantastic



-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar