Whamcloud - gitweb
LU-12678 lnet: remove lnet_me_alloc/lnet_me_free 10/36910/5
authorMr NeilBrown <neilb@suse.de>
Tue, 3 Dec 2019 23:35:02 +0000 (10:35 +1100)
committerOleg Drokin <green@whamcloud.com>
Sun, 1 Mar 2020 05:35:49 +0000 (05:35 +0000)
commite4edafaaa874e56fab1da1149dcc51c2ff448e04
treed78da80d90d25ddb01ca7b9aa3faa27bb1bdeca7
parent5a798e527b8e852363858bd568f297520a5325fd
LU-12678 lnet: remove lnet_me_alloc/lnet_me_free

These functions are simple wrapper that do not benefit
readability, so remove them.

Move the DEBUJG messages to the places where allocation happens.  This
introduces only a tiny amount of code duplication.

Signed-off-by: Mr NeilBrown <neilb@suse.de>
Change-Id: Ieb40f8a7547cba30b05c1e5e526c762e354f3c47
Reviewed-on: https://review.whamcloud.com/36910
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Reviewed-by: Serguei Smirnov <ssmirnov@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/include/lnet/lib-lnet.h
lnet/lnet/lib-me.c
lnet/lnet/lib-ptl.c