Ticket #2013 (new defect)

Opened 11 years ago

Last modified 11 years ago

qpe searches /media/card recursively

Reported by: xbaldauf Owned by: zecke
Priority: normal Milestone:
Component: Qtopia Version:
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Estimated Completion (week):
HasPatchForReview: PatchReviewResult:


I've found (using strace), that qpe enumerates all files under "/media/card" recursively. This process takes very long (partly because I have more than 4500 files on the microSD card and I will have about 400000 files on the microSDHC card). There is no apparent reason for qpe to do this (and even if there was, it could be done better, like explicitly specifying search locations for qpe.) Thus, this behaviour is a bug and should be switched off (at least in case of default configurations).

Change History

comment:1 Changed 11 years ago by zecke

Please the mailinglist archives on Storage.conf and the related discussions.

comment:2 Changed 11 years ago by TimoJyrinki

This should really be fixed in code, not only via manual config file changes.

Basically if one uses eg. OpenStreetMap? maps, qpe will make the phone about unusable. One possible choice would be to hard-code exclusion of "OSM" directory on the card, since already I think most programs are configured to use that as the OSM directory.

Or is the qpe indexing needed for much anything, after all? I'm currently using openmoko-mediaplayer2 (compiled with ALSA output) so I don't need Qtopia's music indexing either.

Note: See TracTickets for help on using tickets.