[stgt] [PATCH 1/2] add signalfd support

Florian Haas florian.haas at linbit.com
Wed Sep 9 13:17:10 CEST 2009

On 09/09/2009 12:44 PM, FUJITA Tomonori wrote:
> We use threads and pipe for event notification (I/O completion); I/O
> threads signal the main thread when I/Os are complete. signalfd is
> faster than it (signalfd is supported as of 2.6.22).


AFAICS signalfd has not been backported to Red Hat's RHEL 5 kernels. So
if I understand correctly, this patch would break building tgt on that
platform (and presumably others, like Debian etch and SLES 10). Would
you mind employing ifdefs so that when signalfd is not available on the
platform tgt is being built on, it reverts to the old behavior?

Just my $.02.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <http://lists.wpkg.org/pipermail/stgt/attachments/20090909/067549d1/attachment-0001.sig>

More information about the stgt mailing list