Whamcloud - gitweb
LU-11626 mdc: hold obd while processing changelog 38/36338/4
authorHongchao Zhang <hongchao@whamcloud.com>
Tue, 8 Oct 2019 17:10:34 +0000 (13:10 -0400)
committerOleg Drokin <green@whamcloud.com>
Thu, 21 Nov 2019 07:33:39 +0000 (07:33 +0000)
commit9d88030b8a532de3bec3f75d01ec108bfba97082
treef497aa2b00a5228884431930c4152ec784e813b1
parent2b659e3a5c693943c147f713d832fc82d5a254fe
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.

Lustre-change: https://review.whamcloud.com/35784
Lustre-commit: d7bb6647cd4dd26949bceb6a099cd606623aff2b

Change-Id: Ib5b528f178edcf73425587ea60335df640c1696d
Signed-off-by: Hongchao Zhang <hongchao@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Emoly Liu <emoly@whamcloud.com>
Signed-off-by: Minh Diep <mdiep@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/36338
Reviewed-by: James Simmons <jsimmons@infradead.org>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/mdc/mdc_changelog.c
lustre/tests/sanity.sh