Skip to contentSkip to conversation

rdma-core soon in Debian

DISCUSSION Benjamin Drung 3 participants 4 messages Jul 14, 2017 – Jul 27, 2017 1 message not in the archive InfiniBand

lore
Share & tools
lore
#0 lore raw

Hi everyone,

a few weeks passed since my last status update regarding rdma-core in Debian. We made good progress in getting it ready. Only three items are left:

1) I sent three patches for the ibacm and iwpmd service to the mailing list. They need to be reviewed and accepted:

$ git log --oneline master..bdrung
c3654500 ibacm: Add systemd service file
562d5a00 iwpmd: Support Debian/Ubuntu in sysvinit service
9744e8d2 ibacm: Fix service start_daemon call on Debian

2) Common infrastructure for auto loading rdma modules: See the "Add rdma service for kernel boot support" thread on this mailing list. Jason Gunthorpe made a very good proposal were I made some comments on it.

3) Get rid of openibd and rdma service dependencies:

$ git grep openibd
ibacm/CMakeLists.txt:set(rdmascript "openibd")
srp_daemon/CMakeLists.txt:set(RDMA_SERVICE "openibd" CACHE STRING
"init.d file service name to order srpd after")
$ git grep rdma.service -- ibacm/
ibacm/ibacm.service.in:Requires=rdma.service
ibacm/ibacm.service.in:After=rdma.service opensm.service

openibd is not part of rdma-core and rdma.service will go away with the
changes in point 2.

I expect to see progress on these points in the coming days / next week. When all changes are in master, will we create a new release? Otherwise I will have to base my upload on v14 and cherry-pick all relevant changes.

Signature · 19 lines
Benjamin Drung
System Developer
Debian & Ubuntu Developer

ProfitBricks GmbH
Greifswalder Str. 207
D - 10405 Berlin

Email: [email protected]
Web: https://www.profitbricks.com

Sitz der Gesellschaft: Berlin.
Registergericht: Amtsgericht Charlottenburg, HRB 125506B.
Geschäftsführer: Achim Weiss.

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 6 lines · Benjamin Drung

Hi everyone,

a few weeks passed since my last status update regarding rdma-core in Debian. We made good progress in getting it ready. Only three items are left:

Quoted 7 lines

1) I sent three patches for the ibacm and iwpmd service to the mailing list. They need to be reviewed and accepted:

$ git log --oneline master..bdrung
c3654500 ibacm: Add systemd service file
562d5a00 iwpmd: Support Debian/Ubuntu in sysvinit service
9744e8d2 ibacm: Fix service start_daemon call on Debian

It will be merged on Sunday, depends on lack of objections.

Quoted 16 lines

2) Common infrastructure for auto loading rdma modules: See the "Add rdma service for kernel boot support" thread on this mailing list. Jason Gunthorpe made a very good proposal were I made some comments on it.

3) Get rid of openibd and rdma service dependencies:

$ git grep openibd
ibacm/CMakeLists.txt:set(rdmascript "openibd")
srp_daemon/CMakeLists.txt:set(RDMA_SERVICE "openibd" CACHE STRING
"init.d file service name to order srpd after")
$ git grep rdma.service -- ibacm/
ibacm/ibacm.service.in:Requires=rdma.service
ibacm/ibacm.service.in:After=rdma.service opensm.service
Quoted 8 lines

openibd is not part of rdma-core and rdma.service will go away with the
changes in point 2.

I expect to see progress on these points in the coming days / next week. When all changes are in master, will we create a new release? Otherwise I will have to base my upload on v14 and cherry-pick all relevant changes.

Usually, we are releasing rdma-core, a week or two after Linus's -rc1 release. Let's see how the progress will be and decide then.

Thanks

Quoted 21 lines

--
Benjamin Drung
System Developer
Debian & Ubuntu Developer

ProfitBricks GmbH
Greifswalder Str. 207
D - 10405 Berlin

Email: [email protected] Web: https://www.profitbricks.com

Sitz der Gesellschaft: Berlin.
Registergericht: Amtsgericht Charlottenburg, HRB 125506B. Geschäftsführer: Achim Weiss.

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#3 lore raw
In reply to a message not in the archive
Quoted 5 lines · Benjamin Drung

3) Get rid of openibd and rdma service dependencies:

$ git grep openibd
ibacm/CMakeLists.txt:set(rdmascript "openibd")
srp_daemon/CMakeLists.txt:set(RDMA_SERVICE "openibd" CACHE STRING

I think Bart fixed most of these issues when he added systemd support, so I recommend removing it from SRP for init.d as well.

No idea about what is wrong with ibacm that it needs this strange ordering. Guessing we probably needs hotplug support in verbs to fully make it work reliably, Yishia has patches for that pending..

Ideally we would make ibacm socket activate which will ameliorate most boot time ordering issues even if there are still hot plug bugs in ibacm..

Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#4 lore raw
In reply to a message not in the archive
Quoted 8 lines · Benjamin Drung

Hi everyone,

a few weeks passed since my last status update regarding rdma-core in Debian. We made good progress in getting it ready. Only three items are left:

1) I sent three patches for the ibacm and iwpmd service to the mailing list. They need to be reviewed and accepted:

This is done.

Quoted 4 lines

2) Common infrastructure for auto loading rdma modules: See the "Add rdma service for kernel boot support" thread on this mailing list. Jason Gunthorpe made a very good proposal were I made some comments on it.

This is now PR 174.

Also, I tested the Debian packages in various way and all most of my fixes are now commited.

Quoted 5 lines

3) Get rid of openibd and rdma service dependencies:

$ git grep openibd
ibacm/CMakeLists.txt:set(rdmascript "openibd")
srp_daemon/CMakeLists.txt:set(RDMA_SERVICE "openibd" CACHE STRING "init.d file service name to order srpd after")

These both relate to the init.d scripts,

AFAIK Debian is basically the only user of the init.d scripts, so you should do whatever is appropriate. I think you can just drop both references.

Quoted 3 lines
$ git grep rdma.service -- ibacm/
ibacm/ibacm.service.in:Requires=rdma.service
ibacm/ibacm.service.in:After=rdma.service opensm.service

I will look at this next, I intend to make ibacm socket activatable, which will take care of lots of ordering problems. verbs hot-plug (now merged) and eventually rdma_cm hot plug should fix the rest.

Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html