Red Hat Bugzilla – Bug 458213
[PATCH] Make iscsid wake up less when idle
Last modified: 2015-06-15 00:49:55 EDT
Description of problem:
libvirt pulls in iscsi-initiator-utils for some possibly valid reason. i-i-u enables its initscript by default for some possibly valid reason. iscsid wakes up four times a second to poll for nonexistent actor threads, for absolutely no reason.
We should at least not wake up so much. Attached patch does at least something close to the right thing. I've not tested it in an iscsi configuration, because I don't have one, but it certainly doesn't wake up uselessly any more. It's possibly racy, in that i don't know if the actor refcount needs to be done with atomic operations.
Created attachment 313656 [details]
This bug has been triaged
Created attachment 441292 [details]
Updated the patch to account for the event loop being moved around.
*** Bug 819065 has been marked as a duplicate of this bug. ***
I filed this bug about... 54 months ago, if my math is right. Today I checked in my F19 virtual machine, and I _still_ have an iscsid waking up five times a second to do absolutely nothing.
That patchset was rejected upstream, there's some potential for zombie processes, apparently. I'm looking at this now.
Progress! Patches accepted upstream.