Whamcloud - gitweb
LU-10756 osp: properly order sysfs registration 64/35464/4
authorJames Simmons <uja.ornl@yahoo.com>
Thu, 11 Jul 2019 01:08:48 +0000 (21:08 -0400)
committerOleg Drokin <green@whamcloud.com>
Thu, 15 Aug 2019 07:52:10 +0000 (07:52 +0000)
commit2f16681d68650c0c834c9af3e05c8ed98f481d1d
tree4cf5ef0be02c47ed5ba57ab5d8563ba7027071bb
parent8ffbe6b82fac1d3e4d4391bcba74dc2ee1411a69
LU-10756 osp: properly order sysfs registration

When generating udev events for import states I found that the
order of setting up the sysfs tree for osp was important. Setup
the osp obd device sysfs tree before lwp sysfs device. Always
call client_obd_cleanup() first on shutdown.

Change-Id: I29257f3e91f10f8266509b535e36cc8b62ce2362
Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-on: https://review.whamcloud.com/35464
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Mike Pershin <mpershin@whamcloud.com>
Reviewed-by: Shaun Tancheff <stancheff@cray.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/osp/lwp_dev.c
lustre/osp/osp_dev.c