Re: [PATCH] staging: lustre: ko2iblbd: handle ib_dereg_mr removal
From: Christoph Hellwig
Date: Mon Oct 03 2016 - 03:31:19 EST
Hell no. If you had actually read the changelog you'd see that there
is a reason the functions went away, and simply calling the underlying
methods (which also will go away) will not fix it.
Please go back reading the changelogs, and while we're at it read some
basic introductions into the RDMA programming model. As a little
shortcut: relying on any form of a global registration for the rkey
is inherently unsafe and only allowed as an option variant for
very trusted environments (thing single box appliances). You'll need
to do a real memory registration here and not drag that old crap along.