Whamcloud - gitweb
LU-15357 iokit: fix the obsolete usage of cfg_device 72/45872/9
authorHongchao Zhang <hongchao@whamcloud.com>
Wed, 14 Oct 2020 01:46:42 +0000 (09:46 +0800)
committerOleg Drokin <green@whamcloud.com>
Thu, 1 Sep 2022 05:52:42 +0000 (05:52 +0000)
commita20b78a81d091cebd6b9e6c87537b2c955084cd5
tree4d832752a095a739352cc514e5f25ae631168189
parent51c18539338f1a23f3fa725470b5d36941b15c46
LU-15357 iokit: fix the obsolete usage of cfg_device

The LCTL command "cfg_device" is obsolete and some operations
(such as "cleanup", "detach") don't support it anymore.
In mds_survey and lfsck-performance it causes the echo client
device not to be destroyed and causes LBUG when umounting the
related Lustre device.

Change-Id: If7f6eff080906e395023289652fcd2a78dfb6fb7
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Signed-off-by: Mikhail Pershin <mpershin@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/45872
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Colin Faber <cfaber@ddn.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre-iokit/obdfilter-survey/iokit-libecho
lustre/tests/lfsck-performance.sh
lustre/tests/run-llog.sh
lustre/tests/scrub-performance.sh