Whamcloud - gitweb
LU-11626 mdc: hold obd while processing changelog 84/35784/3
authorHongchao Zhang <hongchao@whamcloud.com>
Tue, 20 Aug 2019 09:58:25 +0000 (05:58 -0400)
committerOleg Drokin <green@whamcloud.com>
Mon, 16 Sep 2019 23:04:45 +0000 (23:04 +0000)
commitd7bb6647cd4dd26949bceb6a099cd606623aff2b
tree7bbd915a9046eda2074cff9a26aa2dd5732651f1
parent0817efd73f04bf59d1234887bc3971d2d067067e
LU-11626 mdc: hold obd while processing changelog

During read/write changelog, the corresponding obd_device should
be held to protect it from being released by umount.

Change-Id: Ib5b528f178edcf73425587ea60335df640c1696d
Signed-off-by: Hongchao Zhang <hongchao@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/35784
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Emoly Liu <emoly@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/mdc/mdc_changelog.c
lustre/tests/sanity.sh