Skip to content
Snippets Groups Projects
Commit 09debb54 authored by Alexandr Boyko's avatar Alexandr Boyko Committed by John L. Hammond
Browse files

LU-4134 obdclass: obd_device improvement

The patch removes self exports from obd's reference counting which
allows to avoid freeing of self exports by zombie thread.
A pair of functions class_register_device()/class_unregister_device()
is to make sure that an obd can not be referenced again once its
refcount reached 0. For target_handle_connect() take a reference for
obd_device during finding it by name.

Fix grant mismatch message
	"tot_granted 4194304 != fo_tot_granted".

Lustre-change: https://review.whamcloud.com/8045


Lustre-commit: 45900a77

Signed-off-by: default avatarVladimir Saveliev <vladimir.saveliev@seagate.com>
Signed-off-by: default avatarAlexey Lyashkov <alexey.lyashkov@seagate.com>
Signed-off-by: default avatarAlexander Boyko <alexander.boyko@seagate.com>
Seagate-bug-id: MRP-2139 MRP-3267
Change-Id: I9cc6860431c6bb7db6983e0d15a5d3d2b564265e
Reviewed-by: default avatarJames Simmons <uja.ornl@yahoo.com>
Reviewed-by: default avatarAlexey Lyashkov <c17817@cray.com>
Signed-off-by: default avatarMinh Diep <minh.diep@intel.com>
Reviewed-on: https://review.whamcloud.com/29740


Tested-by: Jenkins
Tested-by: default avatarMaloo <hpdd-maloo@intel.com>
Reviewed-by: default avatarJohn L. Hammond <john.hammond@intel.com>
parent b9b97cc8
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment