[Qt-embedded-interest] Antwort: Re: [Qt-interest] long-term delay for QDir::entryList(), QDir::count() for directory located on USB stick

Markus Franke Franke.M at sebakmt.com
Wed Jul 1 15:56:20 CEST 2009


qt-interest-bounces at trolltech.com schrieb am 01.07.2009 15:36:49:

> First off, have you isolated the problem to be in the linux kernel's 
driver or 
> the Qt code or your code?

Well, I thought I isolated the problem. If I plug-in the device, it get's 
properly recognized and mounted by my hotplugging script.

> You can test to see if it is a kernel level problem by simply doing an 
ls in 
> your usb stick's filesystem and timing that. If that takes a long time 
the 
> first time that you run it, then it is a kernel/filesystem/hw problem.

Strange. If I type an 'ls' command for the first time after plugging in 
the USB stick it is very fast. However, if I issue a 'df' command it's 
taking a very long time.

Seems like you were right and it is a kernel level problem. 

Although it doesn't belong to this list: Does anybody have a suggestion 
how to fix this problem?


Mit freundlichen Grüßen / Best regards

Markus Franke
Entwicklung/ Development

SebaKMT
Hagenuk KMT Kabelmesstechnik GmbH
Röderaue 41
01471 Radeburg / Germany
Reg.Gericht (01067 Dresden) HRB 12567
Geschäftsf.: Dr. Max Iann

Phone +49 (0)35208 84 29142
Fax      +49 (0)35208 84 29249

e-mail: franke.m at sebaKMT.com
web: http//www.sebaKMT.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-embedded-interest/attachments/20090701/a87037af/attachment.html 


More information about the Qt-embedded-interest mailing list