* Re: [PATCH] staging: lustre: ko2iblbd: handle ib_dereg_mr removal
[not found] <1475461351-21495-1-git-send-email-jsimmons@infradead.org>
@ 2016-10-03 7:31 ` Christoph Hellwig
0 siblings, 0 replies; only message in thread
From: Christoph Hellwig @ 2016-10-03 7:31 UTC (permalink / raw)
To: James Simmons
Cc: devel, Andreas Dilger, linux-rdma, Greg Kroah-Hartman,
Linux Kernel Mailing List, Oleg Drokin, Lustre Development List
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.
^ permalink raw reply [flat|nested] only message in thread