Whamcloud - gitweb
LU-8990 lod: put root at cleanup 31/31431/3
authorLai Siyao <lai.siyao@intel.com>
Fri, 2 Feb 2018 15:00:15 +0000 (23:00 +0800)
committerJohn L. Hammond <john.hammond@intel.com>
Thu, 5 Apr 2018 19:56:07 +0000 (19:56 +0000)
commit34289a7be2e6ba42c6091ccd8835bd8f3eca9385
tree95940f33a0e5c66ff803e140b4ddff9d02f97cd8
parentb03de1fe3d11d65716020cfd07e0db16628af5c7
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().

Lustre-change: https://review.whamcloud.com/31143
Lustre-commit: 94fc345399b3cd94a96aa4b3f607f2dc9d669a98

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