Skip to content

Commit

Permalink
DAOS-7043 engine: switch module unload and iv fini
Browse files Browse the repository at this point in the history
Do IV fini before module unload, because iv_fini will
need some iv class operation, which might be destoryed
during module unload.

Signed-off-by: Di Wang <di.wang@intel.com>
  • Loading branch information
Di Wang committed Mar 18, 2021
1 parent 345bd0f commit a8bc48a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/engine/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -701,10 +701,10 @@ server_fini(bool force)
D_INFO("server_init_state_fini() done\n");
dss_srv_fini(force);
D_INFO("dss_srv_fini() done\n");
dss_module_unload_all();
D_INFO("dss_module_unload_all() done\n");
ds_iv_fini();
D_INFO("ds_iv_fini() done\n");
dss_module_unload_all();
D_INFO("dss_module_unload_all() done\n");
/*
* Client stuff finalization needs be done after all ULTs drained
* in dss_srv_fini().
Expand Down

0 comments on commit a8bc48a

Please sign in to comment.