Whamcloud - gitweb
LU-8990 lod: put root at cleanup 43/31143/3
authorLai Siyao <lai.siyao@intel.com>
Fri, 2 Feb 2018 15:00:15 +0000 (23:00 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 27 Feb 2018 03:42:04 +0000 (03:42 +0000)
commit94fc345399b3cd94a96aa4b3f607f2dc9d669a98
tree87886acee595d093daa7554636c79915cff0d4d8
parent2112eb46be83a20bc3ea36f3d17249a1b4bf2327
LU-8990 lod: put root at cleanup

'lod_md_root' was put at precleanup, but soak test shows there exists
race, and some ongoing request may re-initialize it, move this put
to cleanup.

Also add debug code to dump remaining objects if lod device is still
referenced at lod_device_free().

Signed-off-by: Lai Siyao <lai.siyao@intel.com>
Change-Id: I6f1ab0ba149ccf95279c1182c90a5588607ad8fa
Reviewed-on: https://review.whamcloud.com/31143
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Fan Yong <fan.yong@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/lod/lod_dev.c