Re: [Tracker] [PATCH] Quick fix to enable ioprio



tobutaz gmail com wrote:
On 10/30/06, Jamie McCracken <jamiemcc blueyonder co uk> wrote:
tobutaz gmail com wrote:
> Hello,
> the attached patch fixes a problem that prevented ioprio support from
> being built on my system (an ubuntu edgy). The problem was that
> _syscall2 only works in the kernel tree, but is not part of the linux
> headers in /usr/include. So I had a look at how it was done in the
> schedutils package instead.
> Cheers,
> Gabriel de Perthuis


thanks have applied

not sure how to check its working on Edgy though? (how can I tell what
io priority a preocess is set as?)

Yup, it's the ionice command. It works like that:
ionice -p $(pgrep trackerd)

In debian, this is part of the schedutils package.

thanks ionice now reports trackerd  running at level 7 best effort :)


--
Mr Jamie McCracken
http://jamiemcc.livejournal.com/




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