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

ronnie sahlberg ronniesahlberg at gmail.com
Mon Sep 21 04:00:56 CEST 2009


On Mon, Sep 21, 2009 at 11:55 AM, FUJITA Tomonori
<fujita.tomonori at lab.ntt.co.jp> wrote:
> On Mon, 21 Sep 2009 11:16:58 +1000
> ronnie sahlberg <ronniesahlberg at gmail.com> wrote:
>
>> On Thu, Sep 17, 2009 at 6:25 PM, FUJITA Tomonori
>> <fujita.tomonori at lab.ntt.co.jp> wrote:
>> > On Thu, 17 Sep 2009 15:49:05 +1000
>> > ronnie sahlberg <ronniesahlberg at gmail.com> wrote:
>> >
>> >> This builds and runs on rhel5.2 but not on rhel5.4.
>> >>
>> >> rhel5.4 has __NR_signalfd defined
>> >> asm-x86_64/unistd.h:#define __NR_signalfd               282
>> >> asm-x86_64/unistd.h:__SYSCALL(__NR_signalfd, sys_ni_syscall)
>> >>
>> >> but it does not have
>> >> [root at rh54n2 usr]# make ISCSI=1
>> >> cc -c -DISCSI -D_GNU_SOURCE -I. -g -O2 -Wall -Wstrict-prototypes -fPIC
>> >> -DTGT_VERSION=\"0.9.8-git-2cf48f1\" iscsi/conn.c -o iscsi/conn.o
>> >> In file included from iscsi/conn.c:29:
>> >> ./util.h:122:28: error: linux/signalfd.h: No such file or directory
>> >
>> > Does this work?
>> >
>>
>> Yes this works. This now compiles on my RHEL54 box.
>
> Thanks for the confirmation. This actually works on your RHEL54 box
> (e.g. initiators can log in)?
>

Yes.

My dbench based initiator can log in and do I/O to tgtd running on
rhel54 with this patch.
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the stgt mailing list