(In reply to Robert Wood [:rwood] from comment #4)
(In reply to Edwin Gao (:egao) from comment #2)
(In reply to Andrew Creskey from comment #1)
Hmm... sorry for the noise, on the latest mozilla-central I doesn't look like I have this problem.
i.e. raptor seems to be running fine on non-rooted devices.
Might be a case specifically for some devices, but regardless the logic I had in that section of code was unsound. I/O scheduler does require
root permission to set but the subroutine was outside of the block that checks if devices has root and/or is rooted.
This just landed yesterday I don't know if it's related?
It might be related. In my eyes the solution did not require the work you've linked - just shuffling around the
set_scheduler() method to under the
if root would have done the job.
Either way, the patch to move
set_scheduler() to the appropriate place is up.