Whamcloud - gitweb
LU-13005 lnet: drop refcounting from event queues. 46/36846/10
authorMr NeilBrown <neilb@suse.de>
Wed, 20 Nov 2019 02:31:09 +0000 (13:31 +1100)
committerOleg Drokin <green@whamcloud.com>
Tue, 14 Apr 2020 08:10:01 +0000 (08:10 +0000)
commitc927c62f93feb66aa440c43e1b85ceb86863c01a
tree268e4fbb8e60748a8674c8cc2c952bde3b1f00cd
parent8afc9590a78f6b20c338c027e17043bb22012817
LU-13005 lnet: drop refcounting from event queues.

The refcount is no longer incremented or decremented
as there is no interesting state and no long term
references.  Nothing checks if LNetEQFree returns -EBUSY
any more - though a few calls LASSERT() that the return
value is 0.

So discard the refcounting, change LNetEQFree to return
'void', and remove all the LASSERTs.

Change-Id: I976834e7c6193765948e3b1a4f02069e33cdbe1e
Signed-off-by: Mr NeilBrown <neilb@suse.de>
Reviewed-on: https://review.whamcloud.com/36846
Reviewed-by: Chris Horn <chris.horn@hpe.com>
Reviewed-by: Serguei Smirnov <ssmirnov@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Amir Shehata <ashehata@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/include/lnet/api.h
lnet/include/lnet/lib-types.h
lnet/lnet/api-ni.c
lnet/lnet/lib-eq.c
lnet/lnet/lib-md.c
lnet/selftest/rpc.c