Re: [Tracker] Building the current cvs version.



Jamie McCracken wrote:
Anders Aagaard wrote:
Hi

Been on my todo list to implement ionice support for tracker for a while, since it's such a simple thing to do. But I'm having some problems building the current version.

First when building I'm missing the directories thumbnailers/image and src/tracker-gui.


these are in cvs - please check out a *clean version* rather than an incremental update

Checked out a clean version now and that fixed it.



And when taking that out I get the error:
aclocal: macro `AM_PROG_MKDIR_P' required but not defined
aclocal: macro `AM_PROG_MKDIR_P' required but not defined
in the libextractor directory.


dont remove dirs please!

I just did a clean checkout and I still get that error.



Attaching a theoretically working implementation of ionice. trackerd.c would have to run the ionice_init() function. I would have tested it and made it a bit cleaner if I could get the cvs version compiled at all :P

Most of the code for ionice is gotten from the snippet in the Documentation/block/ioprio.txt file in the linux kernel.

Correct me If I am wrong, but does not ionice default to the cpu nice value (which is +10 for tracker and +19 for text filters)?

Just tried a nice --adjustment 19 on a process now, and used ionice -p <process> to check the ionice level. And it reported ioclass none, ioprio 0. (which in the kernel translates to ioclass best effort, ioprio 4)


AFAIK, its linux specific and only in 2.6.13+ so I can't really depend on it.

Might be possible to get configure to check for this, but I'm horrible at autotools.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]