[PATCH] libiscsi back port for RHEL5.{0,1,2,3}/SLES10

3 views
Skip to first unread message

Rakesh Ranjan

unread,
Nov 6, 2009, 8:35:51 AM11/6/09
to Mike Christie, open-...@googlegroups.com, Karen Xie, Rakesh Ranjan
Hi Mike,

Herein attached updated patch based against current open-iscsi head. You
can simply rename it to 2.6.14-23_compat.patch.


Regards
Rakesh Ranjan

2.6.14-23_compat.patch

Mike Christie

unread,
Nov 9, 2009, 2:27:53 PM11/9/09
to Rakesh Ranjan, open-...@googlegroups.com, Karen Xie
Rakesh Ranjan wrote:
> Hi Mike,
>
> Herein attached updated patch based against current open-iscsi head. You
> can simply rename it to 2.6.14-23_compat.patch.
>

the patch does not work with upstream 2.6.21 and 2.6.23.

With 2.6.21 i get:

/home/mnc/open-iscsi/kernel/scsi_transport_iscsi.c:2084: error: too many
arguments to function ‘netlink_kernel_create’

I think the patch changed the netlink_kernel_create ifdefs in
open_iscsi_compat.h. There was a ifdef for 2.6.21 and now it is 2.6.19


In 2.6.32 I get:

/home/mnc/open-iscsi/kernel/scsi_transport_iscsi.c: In function
‘iscsi_lookup_endpoint’:
/home/mnc/open-iscsi/kernel/scsi_transport_iscsi.c:245: error: ‘struct
kset’ has no member named ‘rwsem’
/home/mnc/open-iscsi/kernel/scsi_transport_iscsi.c:252: error: ‘struct
kset’ has no member named ‘rwsem’

Rakesh Ranjan

unread,
Nov 10, 2009, 8:59:06 AM11/10/09
to Mike Christie, open-...@googlegroups.com, Karen Xie, Rakesh Ranjan

Hi mike,

Fixed patch attached.

Regards
Rakesh Ranjan

0001-libiscsi-2.6.14-23_compat-port.patch

Mike Christie

unread,
Nov 12, 2009, 11:15:12 AM11/12/09
to open-...@googlegroups.com, Karen Xie, Rakesh Ranjan

Thanks again for your work on this!

Merged in commit 428e08c659f2e3792962b90f098f1bb33bfe1411.

Reply all
Reply to author
Forward
0 new messages