[SSSD] [PATCH] leave space to run fd events on long operations

Stephen Gallagher sgallagh at redhat.com
Fri Sep 25 16:26:30 UTC 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 09/25/2009 11:22 AM, Simo Sorce wrote:
> This is actually a workaround as we don't have a way to create a low
> prio tevent queue that fires at a priority lower than file events.
> 
> I'll work with upstream to fix this later on, meanwhile this patch will
> do.
> 
> FYI: I haven't used timed_timeval_add() because it is buggy wrt
> microseconds in current release tevetn. (I have already committed a
> patch to fix the problem upstream).
> 
> Simo.
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> sssd-devel mailing list
> sssd-devel at lists.fedorahosted.org
> https://fedorahosted.org/mailman/listinfo/sssd-devel

I had wondered if that behavior existed inside the tevent library. I
guess I assumed that it maintained a circular linked-list of events that
it would process, rather than going through all timer events and then
all fd events.

I guess we'll work around it this way, but I'd like to see something
smarter in the upstream project.

Ack.

- -- 
Stephen Gallagher
RHCE 804006346421761

Looking to carve out IT costs?
www.redhat.com/carveoutcosts/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkq87zYACgkQeiVVYja6o6M9RgCfSLOE1hwJon6HU5Yscf+2TkdP
cQsAn0L3DDs162xm+La0LFTmjLAScAsI
=ZD2r
-----END PGP SIGNATURE-----



More information about the sssd-devel mailing list