Re: udiskd high CPU usage with 4.0 git

From: Torsten Kaiser
Date: Mon Mar 16 2015 - 03:16:46 EST


On Mon, Mar 16, 2015 at 12:44 AM, NeilBrown <neilb@xxxxxxx> wrote:
> On Sat, 14 Mar 2015 21:16:51 +0100 Torsten Kaiser
> <just.for.lkml@xxxxxxxxxxxxxx> wrote:
>> udisksd now again behaves normal, but I'm not sending this change as a
>> patch, because I do not know about the locking and livetime of these
>> objects to evaluate, if that is really the correct fix.
>
> Thanks for the bisection and analysis! Always easier when someone else does
> the hard work :-)
>
> There is a much simpler patch (as you probably suspected). I'll post it in a
> moment.

Linux-4.0-rc4 is still broken as expected, but after applying your
patch from "[PATCH] kernfs: handle poll correctly on 'direct_read'
files" my udisksd process behaves normal again.

Thanks for the quick answer + fix!

Torsten
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/