Re: [PATCH 1/2] add signalfd support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 21 Sep 2009 12:00:56 +1000
ronnie sahlberg <ronniesahlberg@xxxxxxxxx> wrote:

> On Mon, Sep 21, 2009 at 11:55 AM, FUJITA Tomonori
> <fujita.tomonori@xxxxxxxxxxxxx> wrote:
> > On Mon, 21 Sep 2009 11:16:58 +1000
> > ronnie sahlberg <ronniesahlberg@xxxxxxxxx> wrote:
> >
> >> On Thu, Sep 17, 2009 at 6:25 PM, FUJITA Tomonori
> >> <fujita.tomonori@xxxxxxxxxxxxx> wrote:
> >> > On Thu, 17 Sep 2009 15:49:05 +1000
> >> > ronnie sahlberg <ronniesahlberg@xxxxxxxxx> 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@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.

Thanks a lot!

I've applied the patch.
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux SCSI]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]

  Powered by Linux